From 4dfa915695bfdbb7e882203c98eb5515e874a9d0 Mon Sep 17 00:00:00 2001 From: Will King Date: Fri, 21 Nov 2025 13:23:11 +0000 Subject: [PATCH] Removal of BizApps --- .../BusinessApplicationAgents.json | 1691 ----------------- .../BusinessApplicationAgent_Get.json | 38 - ...inessApplicationAgents_CreateOrUpdate.json | 68 - .../BusinessApplicationAgents_Delete.json | 13 - .../BusinessApplicationAgents_List.json | 42 - .../actions/ListActions.json | 40 - .../actions/ReportActionStatus.json | 18 - .../actions/UndoAction.json | 16 - .../systems/Systems_CreateOrUpdate.json | 153 -- .../systems/Systems_Delete.json | 14 - .../systems/Systems_Get.json | 61 - .../systems/Systems_List.json | 64 - .../BusinessApplicationAgents.json | 1691 ----------------- .../BusinessApplicationAgent_Get.json | 38 - ...inessApplicationAgents_CreateOrUpdate.json | 68 - .../BusinessApplicationAgents_Delete.json | 13 - .../BusinessApplicationAgents_List.json | 42 - .../actions/ListActions.json | 40 - .../actions/ReportActionStatus.json | 18 - .../actions/UndoAction.json | 16 - .../systems/Systems_CreateOrUpdate.json | 153 -- .../systems/Systems_Delete.json | 14 - .../systems/Systems_Get.json | 61 - .../systems/Systems_List.json | 64 - .../BusinessApplicationAgents.json | 1691 ----------------- .../BusinessApplicationAgent_Get.json | 38 - ...inessApplicationAgents_CreateOrUpdate.json | 68 - .../BusinessApplicationAgents_Delete.json | 13 - .../BusinessApplicationAgents_List.json | 42 - .../actions/ListActions.json | 40 - .../actions/ReportActionStatus.json | 18 - .../actions/UndoAction.json | 16 - .../systems/Systems_CreateOrUpdate.json | 153 -- .../systems/Systems_Delete.json | 14 - .../systems/Systems_Get.json | 61 - .../systems/Systems_List.json | 64 - .../BusinessApplicationAgents.json | 1691 ----------------- .../BusinessApplicationAgent_Get.json | 38 - ...inessApplicationAgents_CreateOrUpdate.json | 68 - .../BusinessApplicationAgents_Delete.json | 13 - .../BusinessApplicationAgents_List.json | 42 - .../actions/ListActions.json | 40 - .../actions/ReportActionStatus.json | 18 - .../actions/UndoAction.json | 16 - .../systems/Systems_CreateOrUpdate.json | 153 -- .../systems/Systems_Delete.json | 14 - .../systems/Systems_Get.json | 61 - .../systems/Systems_List.json | 64 - .../BusinessApplicationAgents.json | 1691 ----------------- .../BusinessApplicationAgent_Get.json | 38 - ...inessApplicationAgents_CreateOrUpdate.json | 68 - .../BusinessApplicationAgents_Delete.json | 13 - .../BusinessApplicationAgents_List.json | 42 - .../actions/ListActions.json | 40 - .../actions/ReportActionStatus.json | 18 - .../actions/UndoAction.json | 16 - .../systems/Systems_CreateOrUpdate.json | 153 -- .../systems/Systems_Delete.json | 14 - .../systems/Systems_Get.json | 61 - .../systems/Systems_List.json | 64 - .../BusinessApplicationAgents.json | 1691 ----------------- .../BusinessApplicationAgent_Get.json | 38 - ...inessApplicationAgents_CreateOrUpdate.json | 68 - .../BusinessApplicationAgents_Delete.json | 13 - .../BusinessApplicationAgents_List.json | 42 - .../actions/ListActions.json | 40 - .../actions/ReportActionStatus.json | 18 - .../actions/UndoAction.json | 16 - .../systems/Systems_CreateOrUpdate.json | 153 -- .../systems/Systems_Delete.json | 14 - .../systems/Systems_Get.json | 61 - .../systems/Systems_List.json | 64 - .../resource-manager/readme.md | 6 - 73 files changed, 13314 deletions(-) delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/BusinessApplicationAgents.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/BusinessApplicationAgent_Get.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_CreateOrUpdate.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_Delete.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_List.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/actions/ListActions.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/actions/ReportActionStatus.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/actions/UndoAction.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/systems/Systems_CreateOrUpdate.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/systems/Systems_Delete.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/systems/Systems_Get.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/systems/Systems_List.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/BusinessApplicationAgents.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/BusinessApplicationAgent_Get.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_CreateOrUpdate.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_Delete.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_List.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/actions/ListActions.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/actions/ReportActionStatus.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/actions/UndoAction.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/systems/Systems_CreateOrUpdate.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/systems/Systems_Delete.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/systems/Systems_Get.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/systems/Systems_List.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/BusinessApplicationAgents.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/BusinessApplicationAgent_Get.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_CreateOrUpdate.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_Delete.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_List.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/actions/ListActions.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/actions/ReportActionStatus.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/actions/UndoAction.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/systems/Systems_CreateOrUpdate.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/systems/Systems_Delete.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/systems/Systems_Get.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/systems/Systems_List.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/BusinessApplicationAgents.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/BusinessApplicationAgent_Get.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_CreateOrUpdate.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_Delete.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_List.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/actions/ListActions.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/actions/ReportActionStatus.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/actions/UndoAction.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/systems/Systems_CreateOrUpdate.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/systems/Systems_Delete.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/systems/Systems_Get.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/systems/Systems_List.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/BusinessApplicationAgents.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/BusinessApplicationAgent_Get.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_CreateOrUpdate.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_Delete.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_List.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/actions/ListActions.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/actions/ReportActionStatus.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/actions/UndoAction.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/systems/Systems_CreateOrUpdate.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/systems/Systems_Delete.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/systems/Systems_Get.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/systems/Systems_List.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/BusinessApplicationAgents.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/BusinessApplicationAgent_Get.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_CreateOrUpdate.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_Delete.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_List.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/actions/ListActions.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/actions/ReportActionStatus.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/actions/UndoAction.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/systems/Systems_CreateOrUpdate.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/systems/Systems_Delete.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/systems/Systems_Get.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/systems/Systems_List.json diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/BusinessApplicationAgents.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/BusinessApplicationAgents.json deleted file mode 100644 index bc2e4e8e71ff..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/BusinessApplicationAgents.json +++ /dev/null @@ -1,1691 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Security Insights", - "description": "API spec for Microsoft.SecurityInsights (Azure Security Insights) resource provider", - "version": "2024-04-01-preview" - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents/{agentResourceName}": { - "put": { - "tags": [ - "businessApplicationAgents" - ], - "description": "Creates or updates the Business Application Agent.", - "operationId": "BusinessApplicationAgents_CreateOrUpdate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "agentToUpsert", - "description": "The Business Application Agent", - "schema": { - "$ref": "#/definitions/BusinessApplicationAgentResource" - } - } - ], - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/BusinessApplicationAgentResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/BusinessApplicationAgentResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "BusinessApplicationAgents_CreateOrUpdate": { - "$ref": "./examples/businessApplicationAgents/BusinessApplicationAgents_CreateOrUpdate.json" - } - } - }, - "get": { - "tags": [ - "businessApplicationAgents" - ], - "description": "Gets Business Application Agent.", - "operationId": "BusinessApplicationAgent_Get", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/BusinessApplicationAgentResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "BusinessApplicationAgent_Get": { - "$ref": "./examples/businessApplicationAgents/BusinessApplicationAgent_Get.json" - } - } - }, - "delete": { - "tags": [ - "businessApplicationAgents" - ], - "description": "Delete the Business Application Agent.", - "operationId": "BusinessApplicationAgents_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Ok" - }, - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "BusinessApplicationAgents_Delete": { - "$ref": "./examples/businessApplicationAgents/BusinessApplicationAgents_Delete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents": { - "get": { - "tags": [ - "businessApplicationAgents" - ], - "description": "Gets all Business Application Agents under the workspace.", - "operationId": "BusinessApplicationAgents_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/ODataFilter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/ODataSkipToken" - } - ], - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/BusinessApplicationAgentsList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "BusinessApplicationAgents_List": { - "$ref": "./examples/businessApplicationAgents/BusinessApplicationAgents_List.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents/{agentResourceName}/systems/{systemResourceName}": { - "put": { - "tags": [ - "systems" - ], - "description": "Creates or updates the system.", - "operationId": "Systems_CreateOrUpdate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "path", - "name": "systemResourceName", - "description": "The name of the system.", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "systemToUpsert", - "description": "The system to upsert.", - "schema": { - "$ref": "#/definitions/SystemResource" - } - } - ], - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/SystemResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/SystemResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Systems_CreateOrUpdate": { - "$ref": "./examples/businessApplicationAgents/systems/Systems_CreateOrUpdate.json" - } - } - }, - "get": { - "tags": [ - "systems" - ], - "description": "Gets the system.", - "operationId": "Systems_Get", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "path", - "name": "systemResourceName", - "description": "The name of the system.", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/SystemResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Systems_Get": { - "$ref": "./examples/businessApplicationAgents/systems/Systems_Get.json" - } - } - }, - "delete": { - "tags": [ - "systems" - ], - "description": "Deletes the system.", - "operationId": "Systems_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "path", - "name": "systemResourceName", - "description": "The name of the system.", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Ok" - }, - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Systems_Delete": { - "$ref": "./examples/businessApplicationAgents/systems/Systems_Delete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents/{agentResourceName}/systems": { - "get": { - "tags": [ - "systems" - ], - "description": "ListAll the systems.", - "operationId": "Systems_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/ODataFilter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/ODataSkipToken" - } - ], - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/SystemsList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Systems_List": { - "$ref": "./examples/businessApplicationAgents/systems/Systems_List.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents/{agentResourceName}/systems/{systemResourceName}/listActions": { - "post": { - "tags": [ - "SystemsActions" - ], - "operationId": "Systems_ListActions", - "description": "List of actions for a business application system.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "path", - "name": "systemResourceName", - "description": "The name of the system.", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - } - ], - "responses": { - "200": { - "description": "List actions for a business application system", - "schema": { - "$ref": "#/definitions/ListActionsResponse" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "ListActions": { - "$ref": "./examples/businessApplicationAgents/actions/ListActions.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents/{agentResourceName}/systems/{systemResourceName}/undoAction": { - "post": { - "tags": [ - "SystemsActions" - ], - "operationId": "Systems_UndoAction", - "description": "Undo action, based on the actionId.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "path", - "name": "systemResourceName", - "description": "The name of the system.", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "body", - "description": "Undo action, based on the actionId.", - "name": "payload", - "schema": { - "$ref": "#/definitions/UndoActionPayload" - } - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "UndoAction": { - "$ref": "./examples/businessApplicationAgents/actions/UndoAction.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents/{agentResourceName}/systems/{systemResourceName}/reportActionStatus": { - "post": { - "tags": [ - "SystemsActions" - ], - "operationId": "Systems_ReportActionStatus", - "description": "Report the status of the action.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "path", - "name": "systemResourceName", - "description": "The name of the system.", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "body", - "name": "payload", - "description": "Report a status of the action that was performed by the agent", - "schema": { - "$ref": "#/definitions/ReportActionStatusPayload" - } - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "ReportActionStatus": { - "$ref": "./examples/businessApplicationAgents/actions/ReportActionStatus.json" - } - } - } - } - }, - "definitions": { - "BusinessApplicationAgentResource": { - "description": "Describes the configuration of a Business Application Agent.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../common/2.0/types.json#/definitions/ResourceWithEtag" - } - ], - "properties": { - "properties": { - "type": "object", - "$ref": "#/definitions/AgentProperties", - "x-ms-client-flatten": true - } - } - }, - "AgentConfiguration": { - "description": "Describes the configuration of a Business Application Agent.", - "required": [ - "type" - ], - "type": "object", - "properties": { - "type": { - "$ref": "#/definitions/AgentType" - } - }, - "discriminator": "type" - }, - "AgentProperties": { - "required": [ - "configuration", - "displayName" - ], - "type": "object", - "properties": { - "configuration": { - "$ref": "#/definitions/AgentConfiguration" - }, - "agentSystems": { - "type": "array", - "items": { - "$ref": "#/definitions/AgentSystem" - }, - "readOnly": true - }, - "displayName": { - "minLength": 1, - "type": "string" - }, - "lastModifiedTimeUtc": { - "format": "date-time", - "type": "string", - "readOnly": true - } - } - }, - "AgentSystem": { - "description": "Describes the configuration of a system inside the agent.", - "type": "object", - "properties": { - "systemResourceName": { - "type": "string" - }, - "systemDisplayName": { - "type": "string" - } - } - }, - "AgentType": { - "description": "Type of the agent", - "enum": [ - "SAP" - ], - "type": "string", - "example": "SAP", - "x-ms-enum": { - "name": "AgentType", - "modelAsString": true, - "values": [ - { - "value": "SAP" - } - ] - } - }, - "BusinessApplicationAgentsList": { - "description": "List of agents.", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/BusinessApplicationAgentResource" - } - }, - "nextLink": { - "type": "string" - } - } - }, - "KeyVaultAuthenticationMode": { - "description": "Type for authentication identity to key vault", - "enum": [ - "ManagedIdentity", - "ServicePrincipal" - ], - "type": "string", - "example": "ManagedIdentity", - "x-ms-enum": { - "name": "KeyVaultAuthenticationMode", - "modelAsString": true, - "values": [ - { - "value": "ManagedIdentity" - }, - { - "value": "ServicePrincipal" - } - ] - } - }, - "SapAgentConfiguration": { - "description": "Describes the configuration of a SAP Docker agent.", - "required": [ - "type" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AgentConfiguration" - } - ], - "properties": { - "agentContainerName": { - "description": "The name of the docker agent.\r\nonly letters with numbers, underscores and hyphens are allowed\r\nexample: \"my-agent\"", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$", - "type": "string" - }, - "sdkPath": { - "description": "The SDK path (a file not a folder) on the agent machine.\r\nexample: \"/path/to/nwrfc750P_8-70002755.zip\"", - "pattern": "^/(([^/]+/)*nwrfc75.*\\.zip$)|^((?:[a-zA-Z]:)?(?:\\\\|\\\\\\\\)(?:[^\\\\/:*?\"<>|\\r\\n]+\\\\)*nwrfc75.*\\.zip)$", - "type": "string" - }, - "sncPath": { - "description": "The SNC path (a folder not a file) on the agent machine.\r\nexample: \"/path/to/snc\"", - "pattern": "^\\/(?:[^/]+\\/)*[^/]+$|^(?:[a-zA-Z]:)?(?:\\\\|\\\\\\\\)(?:[^\\\\/:*?\"<>|\\r\\n]+\\\\)*[^\\\\/:*?\"<>|\\r\\n]*$", - "type": "string" - }, - "keyVaultResourceId": { - "description": "The key vault resource id to access the key vault.\r\nexample: \"/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.KeyVault/vaults/myVault\"", - "pattern": "^\\/?subscriptions\\/([^\\/]+)\\/resourceGroups\\/([^\\/]+)\\/providers\\/Microsoft\\.KeyVault\\/vaults\\/([^\\/]+)$", - "type": "string" - }, - "keyVaultAuthenticationMode": { - "description": "The key mode of the agent.\r\nManagedIdentity|ApplicationIdentity are the options", - "$ref": "#/definitions/KeyVaultAuthenticationMode" - }, - "secretSource": { - "description": "The secret source of the agent.\r\nAzureKeyVault is the option", - "$ref": "#/definitions/SecretSource" - }, - "type": { - "$ref": "#/definitions/AgentType" - } - }, - "x-ms-discriminator-value": "SAP" - }, - "SecretSource": { - "description": "Type for Secret Source - Azure Key Vault", - "enum": [ - "AzureKeyVault" - ], - "type": "string", - "example": "AzureKeyVault", - "x-ms-enum": { - "name": "SecretSource", - "modelAsString": true, - "values": [ - { - "value": "AzureKeyVault" - } - ] - } - }, - "ListActionsResponse": { - "description": "List all actions for a system to perform.", - "properties": { - "value": { - "description": "Array of actions.", - "items": { - "$ref": "#/definitions/Action" - }, - "x-ms-identifiers": [], - "type": "array" - }, - "nextLink": { - "description": "The link to fetch the next page of actions.", - "type": "string" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "Action": { - "description": "Represents an action to perform on a specific system.", - "discriminator": "kind", - "required": [ - "kind" - ], - "properties": { - "kind": { - "$ref": "#/definitions/ListActionKind", - "description": "The actions kind" - } - }, - "type": "object" - }, - "ListActionKind": { - "description": "The kind of the action", - "enum": [ - "LockUser", - "UnlockUser" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "ListActionKind", - "values": [ - { - "value": "LockUser" - }, - { - "value": "UnlockUser" - } - ] - } - }, - "LockUserAction": { - "allOf": [ - { - "$ref": "#/definitions/Action" - } - ], - "description": "Represents lock user action.", - "properties": { - "user": { - "type": "string", - "description": "The user to lock" - }, - "failureReason": { - "type": "string", - "description": "The reason of the failure of the action. Empty if the action is successful." - } - }, - "type": "object", - "x-ms-discriminator-value": "LockUser" - }, - "UnlockUserAction": { - "allOf": [ - { - "$ref": "#/definitions/Action" - } - ], - "description": "Represents an unlock user action.", - "properties": { - "user": { - "type": "string", - "description": "The user to unlock" - }, - "failureReason": { - "type": "string", - "description": "The reason of the failure of the action. Empty if the action is successful." - } - }, - "type": "object", - "x-ms-discriminator-value": "UnlockUser" - }, - "UndoActionPayload": { - "description": "Represents the undo action.", - "properties": { - "actionId": { - "type": "string", - "description": "The action ID of the original action that was performed and now need to undo" - } - }, - "type": "object" - }, - "ReportActionStatusPayload": { - "description": "Report the status of an action that was performed by the agent", - "type": "object", - "properties": { - "actionId": { - "type": "string", - "description": "The action ID to perform" - }, - "actionStatus": { - "description": "The status of the action that was performed by the agent", - "type": "string" - }, - "failureReason": { - "description": "The reason of the failure of the action. Empty if the action is successful.", - "type": "string" - } - } - }, - "ActionStatus": { - "description": "The status of the action that was performed by the agent", - "enum": [ - "Pending", - "Completed", - "Failed" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "ActionStatus", - "values": [ - { - "value": "Pending", - "description": "Actions is pending" - }, - { - "value": "Completed", - "description": "The action is completed successfully." - }, - { - "value": "Failed", - "description": "The action failed." - } - ] - } - }, - "SapAuthenticationType": { - "description": "Types of authentication to SAP.", - "enum": [ - "UsernamePassword", - "Snc", - "SncWithUsernamePassword" - ], - "type": "string", - "example": "UsernamePassword", - "x-ms-enum": { - "name": "SapAuthenticationType", - "modelAsString": true, - "values": [ - { - "value": "UsernamePassword" - }, - { - "value": "Snc" - }, - { - "value": "SncWithUsernamePassword" - } - ] - } - }, - "ConfigurationType": { - "description": "Represents the types of configuration for a system.", - "enum": [ - "SAP" - ], - "type": "string", - "example": "SAP", - "x-ms-enum": { - "name": "ConfigurationType", - "modelAsString": true, - "values": [ - { - "value": "SAP" - } - ] - } - }, - "HttpsConfigurationType": { - "description": "Represents the types of HTTPS configuration to connect to the SapControl service.", - "enum": [ - "HttpOnly", - "HttpsWithSslVerification", - "HttpsWithoutSslVerification" - ], - "type": "string", - "example": "HttpOnly", - "x-ms-enum": { - "name": "HttpsConfigurationType", - "modelAsString": true, - "values": [ - { - "value": "HttpOnly" - }, - { - "value": "HttpsWithSslVerification" - }, - { - "value": "HttpsWithoutSslVerification" - } - ] - } - }, - "IngestionType": { - "description": "Types of ingestion.", - "enum": [ - "Full", - "Incremental" - ], - "type": "string", - "example": "Full", - "x-ms-enum": { - "name": "IngestionType", - "modelAsString": true, - "values": [ - { - "value": "Full" - }, - { - "value": "Incremental" - } - ] - } - }, - "Log": { - "description": "Describes a log.", - "required": [ - "type" - ], - "type": "object", - "properties": { - "type": { - "$ref": "#/definitions/LogType" - }, - "ingestionType": { - "$ref": "#/definitions/IngestionType" - }, - "status": { - "$ref": "#/definitions/LogStatusType" - }, - "scheduleInterval": { - "format": "int32", - "description": "The schedule interval in seconds.", - "type": "integer" - }, - "bulkSize": { - "format": "int32", - "description": "The bulk size for the log.", - "type": "integer" - }, - "filters": { - "description": "The filters for the log.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "LogStatusType": { - "description": "Types of log status.", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "example": "Enabled", - "x-ms-enum": { - "name": "LogStatusType", - "modelAsString": true, - "values": [ - { - "value": "Enabled" - }, - { - "value": "Disabled" - } - ] - } - }, - "LogType": { - "description": "Types of logs and tables.", - "enum": [ - "AbapAuditLog", - "AbapJobLog", - "AbapSpoolLog", - "AbapSpoolOutputLog", - "AbapChangeDocsLog", - "AbapAppLog", - "AbapWorkflowLog", - "AbapCrLog", - "AbapTableDataLog", - "AbapFilesLogs", - "JavaFilesLogs", - "AGRTCODES", - "USR01", - "USR02", - "AGR1251", - "AGRUSERS", - "AGRPROF", - "UST04", - "USR21", - "ADR6", - "ADCP", - "USR05", - "USGRPUSER", - "USERADDR", - "DEVACCESS", - "AGRDEFINE", - "PAHI", - "AGRAGRS", - "USRSTAMP", - "AGRFLAGS", - "SNCSYSACL", - "USRACL" - ], - "type": "string", - "example": "AbapAuditLog", - "x-ms-enum": { - "name": "LogType", - "modelAsString": true, - "values": [ - { - "value": "AbapAuditLog" - }, - { - "value": "AbapJobLog" - }, - { - "value": "AbapSpoolLog" - }, - { - "value": "AbapSpoolOutputLog" - }, - { - "value": "AbapChangeDocsLog" - }, - { - "value": "AbapAppLog" - }, - { - "value": "AbapWorkflowLog" - }, - { - "value": "AbapCrLog" - }, - { - "value": "AbapTableDataLog" - }, - { - "value": "AbapFilesLogs" - }, - { - "value": "JavaFilesLogs" - }, - { - "value": "AGRTCODES" - }, - { - "value": "USR01" - }, - { - "value": "USR02" - }, - { - "value": "AGR1251" - }, - { - "value": "AGRUSERS" - }, - { - "value": "AGRPROF" - }, - { - "value": "UST04" - }, - { - "value": "USR21" - }, - { - "value": "ADR6" - }, - { - "value": "ADCP" - }, - { - "value": "USR05" - }, - { - "value": "USGRPUSER" - }, - { - "value": "USERADDR" - }, - { - "value": "DEVACCESS" - }, - { - "value": "AGRDEFINE" - }, - { - "value": "PAHI" - }, - { - "value": "AGRAGRS" - }, - { - "value": "USRSTAMP" - }, - { - "value": "AGRFLAGS" - }, - { - "value": "SNCSYSACL" - }, - { - "value": "USRACL" - } - ] - } - }, - "RfcConnector": { - "description": "Describes the Rfc connector.", - "required": [ - "client", - "systemId", - "systemNumber", - "type" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/SystemsConfigurationConnector" - } - ], - "properties": { - "abapServerHost": { - "description": "FQDN, hostname, or IP address of the ABAP server.", - "type": "string" - }, - "messageServerHost": { - "description": "FQDN, hostname, or IP address of the Message server.", - "type": "string" - }, - "group": { - "description": "Logon group of the message server.", - "type": "string" - }, - "messageServerService": { - "description": "Port number, or service name (from /etc/services) of the message server.", - "type": "string" - }, - "sncQop": { - "description": "SNC QOP.\r\nOptions are 1, 2, 3, 8, 9.", - "pattern": "^[1,2,3,8,9]$", - "type": "string" - }, - "codePage": { - "description": "The SAP code page used for character encoding.\r\nExample - 1100", - "pattern": "^(?:[a-zA-Z0-9]{4}|UTF-8)$", - "type": "string" - }, - "systemNumber": { - "description": "System number of the ABAP server.", - "minLength": 1, - "pattern": "^\\d{1,3}$", - "type": "string" - }, - "systemId": { - "description": "System ID of the ABAP server.\r\nExample - A4H", - "minLength": 1, - "pattern": "^[a-zA-Z0-9]{3}$", - "type": "string" - }, - "client": { - "description": "Client number of the ABAP server.\r\nExample - 001", - "minLength": 1, - "pattern": "^[0-9]{3}$", - "type": "string" - }, - "authenticationType": { - "description": "The authentication type to SAP.", - "$ref": "#/definitions/SapAuthenticationType" - }, - "type": { - "$ref": "#/definitions/SystemConfigurationConnectorType" - } - }, - "x-ms-discriminator-value": "Rfc" - }, - "SapControlConnector": { - "description": "Describes the SapControl connector configuration.", - "required": [ - "instance", - "server", - "type" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/SystemsConfigurationConnector" - } - ], - "properties": { - "server": { - "description": "The server name.\r\nFQDN or IP address.", - "minLength": 1, - "pattern": "^([a-zA-Z0-9]+(-[a-zA-Z0-9]+)*\\.)+[a-zA-Z]{2,}$|^\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}$", - "type": "string" - }, - "instance": { - "description": "The instance number. Only 2 digits are allowed.", - "minLength": 1, - "pattern": "^\\d{2}$", - "type": "string" - }, - "timezone": { - "description": "The timezone.\r\nexample: \"GMT+0\" or \"GMT-8\"\r\ndefault: \"GMT+0\"", - "default": "GMT+0", - "pattern": "^GMT[+-]\\d+$", - "type": "string" - }, - "port": { - "description": "The port of the SOAP connection to SAP Control.", - "pattern": "^\\d{1,5}$", - "type": "string" - }, - "httpsConfiguration": { - "$ref": "#/definitions/HttpsConfigurationType" - }, - "type": { - "$ref": "#/definitions/SystemConfigurationConnectorType" - } - }, - "x-ms-discriminator-value": "SapControl" - }, - "SapSystemsConfiguration": { - "description": "Describes the SAP configuration.", - "required": [ - "connector", - "type" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/SystemsConfiguration" - } - ], - "properties": { - "azureResourceId": { - "description": "azure resource id\r\nexample: \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM\"", - "pattern": "^\\/?subscriptions\\/([^\\/]+)\\/resourceGroups\\/([^\\/]+)\\/providers\\/([^\\/]+)\\/([^\\/]+)\\/([^\\/]+)$", - "type": "string" - }, - "connector": { - "$ref": "#/definitions/SystemsConfigurationConnector" - }, - "logs": { - "description": "The logs configuration.", - "type": "array", - "x-ms-identifiers": [], - "items": { - "$ref": "#/definitions/Log" - } - }, - "type": { - "$ref": "#/definitions/ConfigurationType" - } - }, - "x-ms-discriminator-value": "SAP" - }, - "SystemResource": { - "description": "Describes the system within the agent.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../common/2.0/types.json#/definitions/ResourceWithEtag" - } - ], - "properties": { - "properties": { - "type": "object", - "$ref": "#/definitions/SystemProperties", - "x-ms-client-flatten": true - } - } - }, - "SystemConfigurationConnectorType": { - "description": "Represents the types of SAP systems.", - "enum": [ - "Rfc", - "SapControl" - ], - "type": "string", - "example": "Rfc", - "x-ms-enum": { - "name": "SystemConfigurationConnectorType", - "modelAsString": true, - "values": [ - { - "value": "Rfc" - }, - { - "value": "SapControl" - } - ] - } - }, - "SystemProperties": { - "description": "The properties of the system.", - "required": [ - "configuration", - "displayName" - ], - "type": "object", - "properties": { - "status": { - "$ref": "#/definitions/SystemStatusType" - }, - "configuration": { - "$ref": "#/definitions/SystemsConfiguration" - }, - "displayName": { - "minLength": 1, - "type": "string" - }, - "lastModifiedTimeUtc": { - "format": "date-time", - "type": "string", - "readOnly": true - } - } - }, - "SystemStatusType": { - "description": "The status of the system.", - "enum": [ - "Running", - "Stopped" - ], - "type": "string", - "example": "Running", - "x-ms-enum": { - "name": "SystemStatusType", - "modelAsString": true, - "values": [ - { - "value": "Running" - }, - { - "value": "Stopped" - } - ] - } - }, - "SystemsConfiguration": { - "description": "The configuration of the system.", - "required": [ - "type" - ], - "type": "object", - "properties": { - "type": { - "$ref": "#/definitions/ConfigurationType" - } - }, - "discriminator": "type" - }, - "SystemsConfigurationConnector": { - "description": "Base Model for SAP System Connector.", - "required": [ - "type" - ], - "type": "object", - "properties": { - "type": { - "$ref": "#/definitions/SystemConfigurationConnectorType" - } - }, - "discriminator": "type" - }, - "SystemsList": { - "description": "List of Agent's Systems.", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/SystemResource" - } - }, - "nextLink": { - "type": "string" - } - } - } - }, - "parameters": { - "BusinessApplicationAgentResource": { - "name": "businessApplicationAgentResource", - "description": "The Business Application Agent Resource", - "required": true, - "in": "body", - "x-ms-parameter-location": "method", - "schema": { - "$ref": "#/definitions/BusinessApplicationAgentResource" - } - }, - "BusinessApplicationAgentId": { - "in": "path", - "name": "businessApplicationAgentId", - "description": "BusinessApplicationAgent ID", - "required": true, - "x-ms-parameter-location": "method", - "type": "string" - }, - "SystemResource": { - "name": "systemResource", - "description": "The system resource", - "required": true, - "in": "body", - "x-ms-parameter-location": "method", - "schema": { - "$ref": "#/definitions/SystemResource" - } - }, - "SystemId": { - "in": "path", - "name": "systemId", - "description": "System ID", - "required": true, - "x-ms-parameter-location": "method", - "type": "string" - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - }, - "description": "Azure Active Directory OAuth2 Flow" - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "tags": [ - { - "name": "BusinessApplicationAgents", - "description": "Controller that handles requests forwarded from ASI RP for agents resources CRUD ARM APIs." - }, - { - "name": "Systems", - "description": "Controller that handles requests forwarded from ASI RP for systems resources CRUD ARM APIs." - } - ], - "host": "management.azure.com", - "schemes": [ - "https" - ], - "produces": [ - "application/json" - ], - "consumes": [ - "application/json" - ] -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/BusinessApplicationAgent_Get.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/BusinessApplicationAgent_Get.json deleted file mode 100644 index d1a817717f48..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/BusinessApplicationAgent_Get.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "parameters": { - "api-version": "2024-04-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "name": "73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents", - "properties": { - "configuration": { - "agentContainerName": "MyAgentContainer", - "sdkPath": "/path/to/nwrfc750P_8-70002755.zip", - "sncPath": "/path/to/snc", - "keyVaultResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.KeyVault/vaults/myVault", - "keyVaultAuthenticationMode": "ManagedIdentity", - "secretSource": "AzureKeyVault", - "type": "SAP" - }, - "agentSystems": [ - { - "systemResourceName": "3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "systemDisplayName": "MySystem" - } - ], - "displayName": "MyAgent", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_CreateOrUpdate.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_CreateOrUpdate.json deleted file mode 100644 index 4e70267a84b2..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_CreateOrUpdate.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "parameters": { - "api-version": "2024-04-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a", - "businessApplicationAgentToUpsert": { - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "properties": { - "configuration": { - "agentContainerName": "MyAgentContainer", - "sdkPath": "/path/to/nwrfc750P_8-70002755.zip", - "sncPath": "/path/to/snc", - "keyVaultResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.KeyVault/vaults/myVault", - "keyVaultAuthenticationMode": "ManagedIdentity", - "secretSource": "AzureKeyVault", - "type": "SAP" - }, - "displayName": "MyAgent" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "name": "73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents", - "properties": { - "configuration": { - "agentContainerName": "MyAgentContainer", - "sdkPath": "/path/to/nwrfc750P_8-70002755.zip", - "sncPath": "/path/to/snc", - "keyVaultResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.KeyVault/vaults/myVault", - "keyVaultAuthenticationMode": "ManagedIdentity", - "secretSource": "AzureKeyVault", - "type": "SAP" - }, - "displayName": "MyAgent", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "name": "73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents", - "properties": { - "configuration": { - "agentContainerName": "MyAgentContainer", - "sdkPath": "/path/to/nwrfc750P_8-70002755.zip", - "sncPath": "/path/to/snc", - "keyVaultResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.KeyVault/vaults/myVault", - "keyVaultAuthenticationMode": "ManagedIdentity", - "secretSource": "AzureKeyVault", - "type": "SAP" - }, - "displayName": "MyAgent", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_Delete.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_Delete.json deleted file mode 100644 index 39ac16a78274..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_Delete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "api-version": "2024-04-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_List.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_List.json deleted file mode 100644 index 25d0fd0047ee..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_List.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "parameters": { - "api-version": "2024-04-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "name": "73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents", - "properties": { - "configuration": { - "agentContainerName": "MyAgentContainer", - "sdkPath": "/path/to/nwrfc750P_8-70002755.zip", - "sncPath": "/path/to/snc", - "keyVaultResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.KeyVault/vaults/myVault", - "keyVaultAuthenticationMode": "ManagedIdentity", - "secretSource": "AzureKeyVault", - "type": "SAP" - }, - "agentSystems": [ - { - "systemResourceName": "3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "systemDisplayName": "MySystem" - } - ], - "displayName": "MyAgent", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - ] - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/actions/ListActions.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/actions/ListActions.json deleted file mode 100644 index ba66c6c8b0fe..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/actions/ListActions.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "parameters": { - "api-version": "2024-04-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "247b377a-7137-4b3c-bf15-df1d3260ef1b", - "systemResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "kind": "UnlockUser", - "actionId": "e85000a3-de69-41a4-b347-c6b823e6ec79", - "status": "Pending", - "user": "someuser@someorg.com", - "lastModifiedTimeUtc": "2023-07-01T00:00:00Z" - }, - { - "kind": "LockUser", - "actionId": "56b70fa0-9afd-4916-9ab9-e79de3e24add", - "status": "Pending", - "user": "someuser1@someorg.com", - "lastModifiedTimeUtc": "2024-02-01T00:00:00Z" - }, - { - "kind": "LockUser", - "actionId": "56b70fa0-9afd-4916-9ab9-e79de3e24add", - "status": "Failed", - "user": "someuser1@someorg.com", - "lastModifiedTimeUtc": "2024-02-01T00:00:00Z", - "failureReason": "Some reason for failure" - } - ] - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/actions/ReportActionStatus.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/actions/ReportActionStatus.json deleted file mode 100644 index c10a19b93b43..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/actions/ReportActionStatus.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "api-version": "2024-04-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "247b377a-7137-4b3c-bf15-df1d3260ef1b", - "systemResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a", - "ReportActionStatusPayload": { - "actionId": "81f5d153-4c26-4c64-829a-06df62d1ddc5", - "actionStatus": "Completed", - "failureReason": "Failed to execute the action" - } - }, - "responses": { - "204": {} - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/actions/UndoAction.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/actions/UndoAction.json deleted file mode 100644 index 828553da25e5..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/actions/UndoAction.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "api-version": "2024-04-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "247b377a-7137-4b3c-bf15-df1d3260ef1b", - "systemResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a", - "UndoActionPayload": { - "actionId": "e85000a3-de69-41a4-b347-c6b823e6ec79" - } - }, - "responses": { - "204": {} - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/systems/Systems_CreateOrUpdate.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/systems/Systems_CreateOrUpdate.json deleted file mode 100644 index d0982232d896..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/systems/Systems_CreateOrUpdate.json +++ /dev/null @@ -1,153 +0,0 @@ -{ - "parameters": { - "api-version": "2024-04-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "systemResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a", - "agentResourceName": "3123432b-0b60-4af3-8720-77f01a25d34a", - "systemToUpsert": { - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "properties": { - "status": "Running", - "configuration": { - "azureResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace", - "connector": { - "abapServerHost": "1.1.1.1", - "systemNumber": "001", - "systemId": "A4H", - "client": "001", - "authenticationType": "UsernamePassword", - "type": "Rfc" - }, - "logs": [ - { - "type": "AbapAuditLog", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - }, - { - "type": "USR01", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - } - ], - "type": "SAP" - }, - "displayName": "A4H_System" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5/systems/3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "name": "3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents/systems", - "properties": { - "status": "Running", - "configuration": { - "azureResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace", - "connector": { - "abapServerHost": "1.1.1.1", - "systemNumber": "001", - "systemId": "A4H", - "client": "001", - "authenticationType": "UsernamePassword", - "type": "Rfc" - }, - "logs": [ - { - "type": "AbapAuditLog", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - }, - { - "type": "USR01", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - } - ], - "type": "SAP" - }, - "displayName": "A4H_System", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5/systems/3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "name": "3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents/systems", - "properties": { - "status": "Running", - "configuration": { - "azureResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace", - "connector": { - "abapServerHost": "1.1.1.1", - "systemNumber": "001", - "systemId": "A4H", - "client": "001", - "authenticationType": "UsernamePassword", - "type": "Rfc" - }, - "logs": [ - { - "type": "AbapAuditLog", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - }, - { - "type": "USR01", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - } - ], - "type": "SAP" - }, - "displayName": "A4H_System", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/systems/Systems_Delete.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/systems/Systems_Delete.json deleted file mode 100644 index 372f6468bc97..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/systems/Systems_Delete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "api-version": "2024-04-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "systemResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a", - "agentResourceName": "3123432b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/systems/Systems_Get.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/systems/Systems_Get.json deleted file mode 100644 index 14da9430fa14..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/systems/Systems_Get.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "parameters": { - "api-version": "2024-04-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "systemResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a", - "agentResourceName": "3123432b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5/systems/3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "name": "3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents/systems", - "properties": { - "status": "Running", - "configuration": { - "azureResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace", - "connector": { - "abapServerHost": "1.1.1.1", - "systemNumber": "001", - "systemId": "A4H", - "client": "001", - "authenticationType": "UsernamePassword", - "type": "Rfc" - }, - "logs": [ - { - "type": "AbapAuditLog", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - }, - { - "type": "USR01", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - } - ], - "type": "SAP" - }, - "displayName": "A4H_System", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/systems/Systems_List.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/systems/Systems_List.json deleted file mode 100644 index 42fdb99e561a..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-04-01-preview/examples/businessApplicationAgents/systems/Systems_List.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "parameters": { - "api-version": "2024-04-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "3123432b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5/systems/3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "name": "3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents/systems", - "properties": { - "status": "Running", - "configuration": { - "azureResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace", - "connector": { - "abapServerHost": "1.1.1.1", - "systemNumber": "001", - "systemId": "A4H", - "client": "001", - "authenticationType": "UsernamePassword", - "type": "Rfc" - }, - "logs": [ - { - "type": "AbapAuditLog", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - }, - { - "type": "USR01", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - } - ], - "type": "SAP" - }, - "displayName": "A4H_System", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - ] - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/BusinessApplicationAgents.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/BusinessApplicationAgents.json deleted file mode 100644 index ef195309b757..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/BusinessApplicationAgents.json +++ /dev/null @@ -1,1691 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Security Insights", - "description": "API spec for Microsoft.SecurityInsights (Azure Security Insights) resource provider", - "version": "2024-10-01-preview" - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents/{agentResourceName}": { - "put": { - "tags": [ - "businessApplicationAgents" - ], - "description": "Creates or updates the Business Application Agent.", - "operationId": "BusinessApplicationAgents_CreateOrUpdate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "agentToUpsert", - "description": "The Business Application Agent", - "schema": { - "$ref": "#/definitions/BusinessApplicationAgentResource" - } - } - ], - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/BusinessApplicationAgentResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/BusinessApplicationAgentResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "BusinessApplicationAgents_CreateOrUpdate": { - "$ref": "./examples/businessApplicationAgents/BusinessApplicationAgents_CreateOrUpdate.json" - } - } - }, - "get": { - "tags": [ - "businessApplicationAgents" - ], - "description": "Gets Business Application Agent.", - "operationId": "BusinessApplicationAgent_Get", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/BusinessApplicationAgentResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "BusinessApplicationAgent_Get": { - "$ref": "./examples/businessApplicationAgents/BusinessApplicationAgent_Get.json" - } - } - }, - "delete": { - "tags": [ - "businessApplicationAgents" - ], - "description": "Delete the Business Application Agent.", - "operationId": "BusinessApplicationAgents_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Ok" - }, - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "BusinessApplicationAgents_Delete": { - "$ref": "./examples/businessApplicationAgents/BusinessApplicationAgents_Delete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents": { - "get": { - "tags": [ - "businessApplicationAgents" - ], - "description": "Gets all Business Application Agents under the workspace.", - "operationId": "BusinessApplicationAgents_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/ODataFilter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/ODataSkipToken" - } - ], - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/BusinessApplicationAgentsList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "BusinessApplicationAgents_List": { - "$ref": "./examples/businessApplicationAgents/BusinessApplicationAgents_List.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents/{agentResourceName}/systems/{systemResourceName}": { - "put": { - "tags": [ - "systems" - ], - "description": "Creates or updates the system.", - "operationId": "Systems_CreateOrUpdate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "path", - "name": "systemResourceName", - "description": "The name of the system.", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "systemToUpsert", - "description": "The system to upsert.", - "schema": { - "$ref": "#/definitions/SystemResource" - } - } - ], - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/SystemResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/SystemResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Systems_CreateOrUpdate": { - "$ref": "./examples/businessApplicationAgents/systems/Systems_CreateOrUpdate.json" - } - } - }, - "get": { - "tags": [ - "systems" - ], - "description": "Gets the system.", - "operationId": "Systems_Get", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "path", - "name": "systemResourceName", - "description": "The name of the system.", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/SystemResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Systems_Get": { - "$ref": "./examples/businessApplicationAgents/systems/Systems_Get.json" - } - } - }, - "delete": { - "tags": [ - "systems" - ], - "description": "Deletes the system.", - "operationId": "Systems_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "path", - "name": "systemResourceName", - "description": "The name of the system.", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Ok" - }, - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Systems_Delete": { - "$ref": "./examples/businessApplicationAgents/systems/Systems_Delete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents/{agentResourceName}/systems": { - "get": { - "tags": [ - "systems" - ], - "description": "ListAll the systems.", - "operationId": "Systems_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/ODataFilter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/ODataSkipToken" - } - ], - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/SystemsList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Systems_List": { - "$ref": "./examples/businessApplicationAgents/systems/Systems_List.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents/{agentResourceName}/systems/{systemResourceName}/listActions": { - "post": { - "tags": [ - "SystemsActions" - ], - "operationId": "Systems_ListActions", - "description": "List of actions for a business application system.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "path", - "name": "systemResourceName", - "description": "The name of the system.", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - } - ], - "responses": { - "200": { - "description": "List actions for a business application system", - "schema": { - "$ref": "#/definitions/ListActionsResponse" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "ListActions": { - "$ref": "./examples/businessApplicationAgents/actions/ListActions.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents/{agentResourceName}/systems/{systemResourceName}/undoAction": { - "post": { - "tags": [ - "SystemsActions" - ], - "operationId": "Systems_UndoAction", - "description": "Undo action, based on the actionId.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "path", - "name": "systemResourceName", - "description": "The name of the system.", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "body", - "description": "Undo action, based on the actionId.", - "name": "payload", - "schema": { - "$ref": "#/definitions/UndoActionPayload" - } - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "UndoAction": { - "$ref": "./examples/businessApplicationAgents/actions/UndoAction.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents/{agentResourceName}/systems/{systemResourceName}/reportActionStatus": { - "post": { - "tags": [ - "SystemsActions" - ], - "operationId": "Systems_ReportActionStatus", - "description": "Report the status of the action.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "path", - "name": "systemResourceName", - "description": "The name of the system.", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "body", - "name": "payload", - "description": "Report a status of the action that was performed by the agent", - "schema": { - "$ref": "#/definitions/ReportActionStatusPayload" - } - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "ReportActionStatus": { - "$ref": "./examples/businessApplicationAgents/actions/ReportActionStatus.json" - } - } - } - } - }, - "definitions": { - "BusinessApplicationAgentResource": { - "description": "Describes the configuration of a Business Application Agent.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../common/2.0/types.json#/definitions/ResourceWithEtag" - } - ], - "properties": { - "properties": { - "type": "object", - "$ref": "#/definitions/AgentProperties", - "x-ms-client-flatten": true - } - } - }, - "AgentConfiguration": { - "description": "Describes the configuration of a Business Application Agent.", - "required": [ - "type" - ], - "type": "object", - "properties": { - "type": { - "$ref": "#/definitions/AgentType" - } - }, - "discriminator": "type" - }, - "AgentProperties": { - "required": [ - "configuration", - "displayName" - ], - "type": "object", - "properties": { - "configuration": { - "$ref": "#/definitions/AgentConfiguration" - }, - "agentSystems": { - "type": "array", - "items": { - "$ref": "#/definitions/AgentSystem" - }, - "readOnly": true - }, - "displayName": { - "minLength": 1, - "type": "string" - }, - "lastModifiedTimeUtc": { - "format": "date-time", - "type": "string", - "readOnly": true - } - } - }, - "AgentSystem": { - "description": "Describes the configuration of a system inside the agent.", - "type": "object", - "properties": { - "systemResourceName": { - "type": "string" - }, - "systemDisplayName": { - "type": "string" - } - } - }, - "AgentType": { - "description": "Type of the agent", - "enum": [ - "SAP" - ], - "type": "string", - "example": "SAP", - "x-ms-enum": { - "name": "AgentType", - "modelAsString": true, - "values": [ - { - "value": "SAP" - } - ] - } - }, - "BusinessApplicationAgentsList": { - "description": "List of agents.", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/BusinessApplicationAgentResource" - } - }, - "nextLink": { - "type": "string" - } - } - }, - "KeyVaultAuthenticationMode": { - "description": "Type for authentication identity to key vault", - "enum": [ - "ManagedIdentity", - "ServicePrincipal" - ], - "type": "string", - "example": "ManagedIdentity", - "x-ms-enum": { - "name": "KeyVaultAuthenticationMode", - "modelAsString": true, - "values": [ - { - "value": "ManagedIdentity" - }, - { - "value": "ServicePrincipal" - } - ] - } - }, - "SapAgentConfiguration": { - "description": "Describes the configuration of a SAP Docker agent.", - "required": [ - "type" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AgentConfiguration" - } - ], - "properties": { - "agentContainerName": { - "description": "The name of the docker agent.\r\nonly letters with numbers, underscores and hyphens are allowed\r\nexample: \"my-agent\"", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$", - "type": "string" - }, - "sdkPath": { - "description": "The SDK path (a file not a folder) on the agent machine.\r\nexample: \"/path/to/nwrfc750P_8-70002755.zip\"", - "pattern": "^/(([^/]+/)*nwrfc75.*\\.zip$)|^((?:[a-zA-Z]:)?(?:\\\\|\\\\\\\\)(?:[^\\\\/:*?\"<>|\\r\\n]+\\\\)*nwrfc75.*\\.zip)$", - "type": "string" - }, - "sncPath": { - "description": "The SNC path (a folder not a file) on the agent machine.\r\nexample: \"/path/to/snc\"", - "pattern": "^\\/(?:[^/]+\\/)*[^/]+$|^(?:[a-zA-Z]:)?(?:\\\\|\\\\\\\\)(?:[^\\\\/:*?\"<>|\\r\\n]+\\\\)*[^\\\\/:*?\"<>|\\r\\n]*$", - "type": "string" - }, - "keyVaultResourceId": { - "description": "The key vault resource id to access the key vault.\r\nexample: \"/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.KeyVault/vaults/myVault\"", - "pattern": "^\\/?subscriptions\\/([^\\/]+)\\/resourceGroups\\/([^\\/]+)\\/providers\\/Microsoft\\.KeyVault\\/vaults\\/([^\\/]+)$", - "type": "string" - }, - "keyVaultAuthenticationMode": { - "description": "The key mode of the agent.\r\nManagedIdentity|ApplicationIdentity are the options", - "$ref": "#/definitions/KeyVaultAuthenticationMode" - }, - "secretSource": { - "description": "The secret source of the agent.\r\nAzureKeyVault is the option", - "$ref": "#/definitions/SecretSource" - }, - "type": { - "$ref": "#/definitions/AgentType" - } - }, - "x-ms-discriminator-value": "SAP" - }, - "SecretSource": { - "description": "Type for Secret Source - Azure Key Vault", - "enum": [ - "AzureKeyVault" - ], - "type": "string", - "example": "AzureKeyVault", - "x-ms-enum": { - "name": "SecretSource", - "modelAsString": true, - "values": [ - { - "value": "AzureKeyVault" - } - ] - } - }, - "ListActionsResponse": { - "description": "List all actions for a system to perform.", - "properties": { - "value": { - "description": "Array of actions.", - "items": { - "$ref": "#/definitions/Action" - }, - "x-ms-identifiers": [], - "type": "array" - }, - "nextLink": { - "description": "The link to fetch the next page of actions.", - "type": "string" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "Action": { - "description": "Represents an action to perform on a specific system.", - "discriminator": "kind", - "required": [ - "kind" - ], - "properties": { - "kind": { - "$ref": "#/definitions/ListActionKind", - "description": "The actions kind" - } - }, - "type": "object" - }, - "ListActionKind": { - "description": "The kind of the action", - "enum": [ - "LockUser", - "UnlockUser" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "ListActionKind", - "values": [ - { - "value": "LockUser" - }, - { - "value": "UnlockUser" - } - ] - } - }, - "LockUserAction": { - "allOf": [ - { - "$ref": "#/definitions/Action" - } - ], - "description": "Represents lock user action.", - "properties": { - "user": { - "type": "string", - "description": "The user to lock" - }, - "failureReason": { - "type": "string", - "description": "The reason of the failure of the action. Empty if the action is successful." - } - }, - "type": "object", - "x-ms-discriminator-value": "LockUser" - }, - "UnlockUserAction": { - "allOf": [ - { - "$ref": "#/definitions/Action" - } - ], - "description": "Represents an unlock user action.", - "properties": { - "user": { - "type": "string", - "description": "The user to unlock" - }, - "failureReason": { - "type": "string", - "description": "The reason of the failure of the action. Empty if the action is successful." - } - }, - "type": "object", - "x-ms-discriminator-value": "UnlockUser" - }, - "UndoActionPayload": { - "description": "Represents the undo action.", - "properties": { - "actionId": { - "type": "string", - "description": "The action ID of the original action that was performed and now need to undo" - } - }, - "type": "object" - }, - "ReportActionStatusPayload": { - "description": "Report the status of an action that was performed by the agent", - "type": "object", - "properties": { - "actionId": { - "type": "string", - "description": "The action ID to perform" - }, - "actionStatus": { - "description": "The status of the action that was performed by the agent", - "type": "string" - }, - "failureReason": { - "description": "The reason of the failure of the action. Empty if the action is successful.", - "type": "string" - } - } - }, - "ActionStatus": { - "description": "The status of the action that was performed by the agent", - "enum": [ - "Pending", - "Completed", - "Failed" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "ActionStatus", - "values": [ - { - "value": "Pending", - "description": "Actions is pending" - }, - { - "value": "Completed", - "description": "The action is completed successfully." - }, - { - "value": "Failed", - "description": "The action failed." - } - ] - } - }, - "SapAuthenticationType": { - "description": "Types of authentication to SAP.", - "enum": [ - "UsernamePassword", - "Snc", - "SncWithUsernamePassword" - ], - "type": "string", - "example": "UsernamePassword", - "x-ms-enum": { - "name": "SapAuthenticationType", - "modelAsString": true, - "values": [ - { - "value": "UsernamePassword" - }, - { - "value": "Snc" - }, - { - "value": "SncWithUsernamePassword" - } - ] - } - }, - "ConfigurationType": { - "description": "Represents the types of configuration for a system.", - "enum": [ - "SAP" - ], - "type": "string", - "example": "SAP", - "x-ms-enum": { - "name": "ConfigurationType", - "modelAsString": true, - "values": [ - { - "value": "SAP" - } - ] - } - }, - "HttpsConfigurationType": { - "description": "Represents the types of HTTPS configuration to connect to the SapControl service.", - "enum": [ - "HttpOnly", - "HttpsWithSslVerification", - "HttpsWithoutSslVerification" - ], - "type": "string", - "example": "HttpOnly", - "x-ms-enum": { - "name": "HttpsConfigurationType", - "modelAsString": true, - "values": [ - { - "value": "HttpOnly" - }, - { - "value": "HttpsWithSslVerification" - }, - { - "value": "HttpsWithoutSslVerification" - } - ] - } - }, - "IngestionType": { - "description": "Types of ingestion.", - "enum": [ - "Full", - "Incremental" - ], - "type": "string", - "example": "Full", - "x-ms-enum": { - "name": "IngestionType", - "modelAsString": true, - "values": [ - { - "value": "Full" - }, - { - "value": "Incremental" - } - ] - } - }, - "Log": { - "description": "Describes a log.", - "required": [ - "type" - ], - "type": "object", - "properties": { - "type": { - "$ref": "#/definitions/LogType" - }, - "ingestionType": { - "$ref": "#/definitions/IngestionType" - }, - "status": { - "$ref": "#/definitions/LogStatusType" - }, - "scheduleInterval": { - "format": "int32", - "description": "The schedule interval in seconds.", - "type": "integer" - }, - "bulkSize": { - "format": "int32", - "description": "The bulk size for the log.", - "type": "integer" - }, - "filters": { - "description": "The filters for the log.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "LogStatusType": { - "description": "Types of log status.", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "example": "Enabled", - "x-ms-enum": { - "name": "LogStatusType", - "modelAsString": true, - "values": [ - { - "value": "Enabled" - }, - { - "value": "Disabled" - } - ] - } - }, - "LogType": { - "description": "Types of logs and tables.", - "enum": [ - "AbapAuditLog", - "AbapJobLog", - "AbapSpoolLog", - "AbapSpoolOutputLog", - "AbapChangeDocsLog", - "AbapAppLog", - "AbapWorkflowLog", - "AbapCrLog", - "AbapTableDataLog", - "AbapFilesLogs", - "JavaFilesLogs", - "AGRTCODES", - "USR01", - "USR02", - "AGR1251", - "AGRUSERS", - "AGRPROF", - "UST04", - "USR21", - "ADR6", - "ADCP", - "USR05", - "USGRPUSER", - "USERADDR", - "DEVACCESS", - "AGRDEFINE", - "PAHI", - "AGRAGRS", - "USRSTAMP", - "AGRFLAGS", - "SNCSYSACL", - "USRACL" - ], - "type": "string", - "example": "AbapAuditLog", - "x-ms-enum": { - "name": "LogType", - "modelAsString": true, - "values": [ - { - "value": "AbapAuditLog" - }, - { - "value": "AbapJobLog" - }, - { - "value": "AbapSpoolLog" - }, - { - "value": "AbapSpoolOutputLog" - }, - { - "value": "AbapChangeDocsLog" - }, - { - "value": "AbapAppLog" - }, - { - "value": "AbapWorkflowLog" - }, - { - "value": "AbapCrLog" - }, - { - "value": "AbapTableDataLog" - }, - { - "value": "AbapFilesLogs" - }, - { - "value": "JavaFilesLogs" - }, - { - "value": "AGRTCODES" - }, - { - "value": "USR01" - }, - { - "value": "USR02" - }, - { - "value": "AGR1251" - }, - { - "value": "AGRUSERS" - }, - { - "value": "AGRPROF" - }, - { - "value": "UST04" - }, - { - "value": "USR21" - }, - { - "value": "ADR6" - }, - { - "value": "ADCP" - }, - { - "value": "USR05" - }, - { - "value": "USGRPUSER" - }, - { - "value": "USERADDR" - }, - { - "value": "DEVACCESS" - }, - { - "value": "AGRDEFINE" - }, - { - "value": "PAHI" - }, - { - "value": "AGRAGRS" - }, - { - "value": "USRSTAMP" - }, - { - "value": "AGRFLAGS" - }, - { - "value": "SNCSYSACL" - }, - { - "value": "USRACL" - } - ] - } - }, - "RfcConnector": { - "description": "Describes the Rfc connector.", - "required": [ - "client", - "systemId", - "systemNumber", - "type" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/SystemsConfigurationConnector" - } - ], - "properties": { - "abapServerHost": { - "description": "FQDN, hostname, or IP address of the ABAP server.", - "type": "string" - }, - "messageServerHost": { - "description": "FQDN, hostname, or IP address of the Message server.", - "type": "string" - }, - "group": { - "description": "Logon group of the message server.", - "type": "string" - }, - "messageServerService": { - "description": "Port number, or service name (from /etc/services) of the message server.", - "type": "string" - }, - "sncQop": { - "description": "SNC QOP.\r\nOptions are 1, 2, 3, 8, 9.", - "pattern": "^[1,2,3,8,9]$", - "type": "string" - }, - "codePage": { - "description": "The SAP code page used for character encoding.\r\nExample - 1100", - "pattern": "^(?:[a-zA-Z0-9]{4}|UTF-8)$", - "type": "string" - }, - "systemNumber": { - "description": "System number of the ABAP server.", - "minLength": 1, - "pattern": "^\\d{1,3}$", - "type": "string" - }, - "systemId": { - "description": "System ID of the ABAP server.\r\nExample - A4H", - "minLength": 1, - "pattern": "^[a-zA-Z0-9]{3}$", - "type": "string" - }, - "client": { - "description": "Client number of the ABAP server.\r\nExample - 001", - "minLength": 1, - "pattern": "^[0-9]{3}$", - "type": "string" - }, - "authenticationType": { - "description": "The authentication type to SAP.", - "$ref": "#/definitions/SapAuthenticationType" - }, - "type": { - "$ref": "#/definitions/SystemConfigurationConnectorType" - } - }, - "x-ms-discriminator-value": "Rfc" - }, - "SapControlConnector": { - "description": "Describes the SapControl connector configuration.", - "required": [ - "instance", - "server", - "type" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/SystemsConfigurationConnector" - } - ], - "properties": { - "server": { - "description": "The server name.\r\nFQDN or IP address.", - "minLength": 1, - "pattern": "^([a-zA-Z0-9]+(-[a-zA-Z0-9]+)*\\.)+[a-zA-Z]{2,}$|^\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}$", - "type": "string" - }, - "instance": { - "description": "The instance number. Only 2 digits are allowed.", - "minLength": 1, - "pattern": "^\\d{2}$", - "type": "string" - }, - "timezone": { - "description": "The timezone.\r\nexample: \"GMT+0\" or \"GMT-8\"\r\ndefault: \"GMT+0\"", - "default": "GMT+0", - "pattern": "^GMT[+-]\\d+$", - "type": "string" - }, - "port": { - "description": "The port of the SOAP connection to SAP Control.", - "pattern": "^\\d{1,5}$", - "type": "string" - }, - "httpsConfiguration": { - "$ref": "#/definitions/HttpsConfigurationType" - }, - "type": { - "$ref": "#/definitions/SystemConfigurationConnectorType" - } - }, - "x-ms-discriminator-value": "SapControl" - }, - "SapSystemsConfiguration": { - "description": "Describes the SAP configuration.", - "required": [ - "connector", - "type" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/SystemsConfiguration" - } - ], - "properties": { - "azureResourceId": { - "description": "azure resource id\r\nexample: \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM\"", - "pattern": "^\\/?subscriptions\\/([^\\/]+)\\/resourceGroups\\/([^\\/]+)\\/providers\\/([^\\/]+)\\/([^\\/]+)\\/([^\\/]+)$", - "type": "string" - }, - "connector": { - "$ref": "#/definitions/SystemsConfigurationConnector" - }, - "logs": { - "description": "The logs configuration.", - "type": "array", - "x-ms-identifiers": [], - "items": { - "$ref": "#/definitions/Log" - } - }, - "type": { - "$ref": "#/definitions/ConfigurationType" - } - }, - "x-ms-discriminator-value": "SAP" - }, - "SystemResource": { - "description": "Describes the system within the agent.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../common/2.0/types.json#/definitions/ResourceWithEtag" - } - ], - "properties": { - "properties": { - "type": "object", - "$ref": "#/definitions/SystemProperties", - "x-ms-client-flatten": true - } - } - }, - "SystemConfigurationConnectorType": { - "description": "Represents the types of SAP systems.", - "enum": [ - "Rfc", - "SapControl" - ], - "type": "string", - "example": "Rfc", - "x-ms-enum": { - "name": "SystemConfigurationConnectorType", - "modelAsString": true, - "values": [ - { - "value": "Rfc" - }, - { - "value": "SapControl" - } - ] - } - }, - "SystemProperties": { - "description": "The properties of the system.", - "required": [ - "configuration", - "displayName" - ], - "type": "object", - "properties": { - "status": { - "$ref": "#/definitions/SystemStatusType" - }, - "configuration": { - "$ref": "#/definitions/SystemsConfiguration" - }, - "displayName": { - "minLength": 1, - "type": "string" - }, - "lastModifiedTimeUtc": { - "format": "date-time", - "type": "string", - "readOnly": true - } - } - }, - "SystemStatusType": { - "description": "The status of the system.", - "enum": [ - "Running", - "Stopped" - ], - "type": "string", - "example": "Running", - "x-ms-enum": { - "name": "SystemStatusType", - "modelAsString": true, - "values": [ - { - "value": "Running" - }, - { - "value": "Stopped" - } - ] - } - }, - "SystemsConfiguration": { - "description": "The configuration of the system.", - "required": [ - "type" - ], - "type": "object", - "properties": { - "type": { - "$ref": "#/definitions/ConfigurationType" - } - }, - "discriminator": "type" - }, - "SystemsConfigurationConnector": { - "description": "Base Model for SAP System Connector.", - "required": [ - "type" - ], - "type": "object", - "properties": { - "type": { - "$ref": "#/definitions/SystemConfigurationConnectorType" - } - }, - "discriminator": "type" - }, - "SystemsList": { - "description": "List of Agent's Systems.", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/SystemResource" - } - }, - "nextLink": { - "type": "string" - } - } - } - }, - "parameters": { - "BusinessApplicationAgentResource": { - "name": "businessApplicationAgentResource", - "description": "The Business Application Agent Resource", - "required": true, - "in": "body", - "x-ms-parameter-location": "method", - "schema": { - "$ref": "#/definitions/BusinessApplicationAgentResource" - } - }, - "BusinessApplicationAgentId": { - "in": "path", - "name": "businessApplicationAgentId", - "description": "BusinessApplicationAgent ID", - "required": true, - "x-ms-parameter-location": "method", - "type": "string" - }, - "SystemResource": { - "name": "systemResource", - "description": "The system resource", - "required": true, - "in": "body", - "x-ms-parameter-location": "method", - "schema": { - "$ref": "#/definitions/SystemResource" - } - }, - "SystemId": { - "in": "path", - "name": "systemId", - "description": "System ID", - "required": true, - "x-ms-parameter-location": "method", - "type": "string" - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - }, - "description": "Azure Active Directory OAuth2 Flow" - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "tags": [ - { - "name": "BusinessApplicationAgents", - "description": "Controller that handles requests forwarded from ASI RP for agents resources CRUD ARM APIs." - }, - { - "name": "Systems", - "description": "Controller that handles requests forwarded from ASI RP for systems resources CRUD ARM APIs." - } - ], - "host": "management.azure.com", - "schemes": [ - "https" - ], - "produces": [ - "application/json" - ], - "consumes": [ - "application/json" - ] -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/BusinessApplicationAgent_Get.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/BusinessApplicationAgent_Get.json deleted file mode 100644 index a702a55d93a9..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/BusinessApplicationAgent_Get.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "name": "73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents", - "properties": { - "configuration": { - "agentContainerName": "MyAgentContainer", - "sdkPath": "/path/to/nwrfc750P_8-70002755.zip", - "sncPath": "/path/to/snc", - "keyVaultResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.KeyVault/vaults/myVault", - "keyVaultAuthenticationMode": "ManagedIdentity", - "secretSource": "AzureKeyVault", - "type": "SAP" - }, - "agentSystems": [ - { - "systemResourceName": "3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "systemDisplayName": "MySystem" - } - ], - "displayName": "MyAgent", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_CreateOrUpdate.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_CreateOrUpdate.json deleted file mode 100644 index 984c36ff95af..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_CreateOrUpdate.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a", - "businessApplicationAgentToUpsert": { - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "properties": { - "configuration": { - "agentContainerName": "MyAgentContainer", - "sdkPath": "/path/to/nwrfc750P_8-70002755.zip", - "sncPath": "/path/to/snc", - "keyVaultResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.KeyVault/vaults/myVault", - "keyVaultAuthenticationMode": "ManagedIdentity", - "secretSource": "AzureKeyVault", - "type": "SAP" - }, - "displayName": "MyAgent" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "name": "73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents", - "properties": { - "configuration": { - "agentContainerName": "MyAgentContainer", - "sdkPath": "/path/to/nwrfc750P_8-70002755.zip", - "sncPath": "/path/to/snc", - "keyVaultResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.KeyVault/vaults/myVault", - "keyVaultAuthenticationMode": "ManagedIdentity", - "secretSource": "AzureKeyVault", - "type": "SAP" - }, - "displayName": "MyAgent", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "name": "73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents", - "properties": { - "configuration": { - "agentContainerName": "MyAgentContainer", - "sdkPath": "/path/to/nwrfc750P_8-70002755.zip", - "sncPath": "/path/to/snc", - "keyVaultResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.KeyVault/vaults/myVault", - "keyVaultAuthenticationMode": "ManagedIdentity", - "secretSource": "AzureKeyVault", - "type": "SAP" - }, - "displayName": "MyAgent", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_Delete.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_Delete.json deleted file mode 100644 index 5f5ef468a232..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_Delete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_List.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_List.json deleted file mode 100644 index 568e870a2a00..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_List.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "name": "73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents", - "properties": { - "configuration": { - "agentContainerName": "MyAgentContainer", - "sdkPath": "/path/to/nwrfc750P_8-70002755.zip", - "sncPath": "/path/to/snc", - "keyVaultResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.KeyVault/vaults/myVault", - "keyVaultAuthenticationMode": "ManagedIdentity", - "secretSource": "AzureKeyVault", - "type": "SAP" - }, - "agentSystems": [ - { - "systemResourceName": "3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "systemDisplayName": "MySystem" - } - ], - "displayName": "MyAgent", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - ] - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/actions/ListActions.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/actions/ListActions.json deleted file mode 100644 index 188c835f9f7a..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/actions/ListActions.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "247b377a-7137-4b3c-bf15-df1d3260ef1b", - "systemResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "kind": "UnlockUser", - "actionId": "e85000a3-de69-41a4-b347-c6b823e6ec79", - "status": "Pending", - "user": "someuser@someorg.com", - "lastModifiedTimeUtc": "2023-07-01T00:00:00Z" - }, - { - "kind": "LockUser", - "actionId": "56b70fa0-9afd-4916-9ab9-e79de3e24add", - "status": "Pending", - "user": "someuser1@someorg.com", - "lastModifiedTimeUtc": "2024-02-01T00:00:00Z" - }, - { - "kind": "LockUser", - "actionId": "56b70fa0-9afd-4916-9ab9-e79de3e24add", - "status": "Failed", - "user": "someuser1@someorg.com", - "lastModifiedTimeUtc": "2024-02-01T00:00:00Z", - "failureReason": "Some reason for failure" - } - ] - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/actions/ReportActionStatus.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/actions/ReportActionStatus.json deleted file mode 100644 index da8a8894c042..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/actions/ReportActionStatus.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "247b377a-7137-4b3c-bf15-df1d3260ef1b", - "systemResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a", - "ReportActionStatusPayload": { - "actionId": "81f5d153-4c26-4c64-829a-06df62d1ddc5", - "actionStatus": "Completed", - "failureReason": "Failed to execute the action" - } - }, - "responses": { - "204": {} - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/actions/UndoAction.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/actions/UndoAction.json deleted file mode 100644 index 9ca993275692..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/actions/UndoAction.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "247b377a-7137-4b3c-bf15-df1d3260ef1b", - "systemResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a", - "UndoActionPayload": { - "actionId": "e85000a3-de69-41a4-b347-c6b823e6ec79" - } - }, - "responses": { - "204": {} - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/systems/Systems_CreateOrUpdate.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/systems/Systems_CreateOrUpdate.json deleted file mode 100644 index 59dd4963188c..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/systems/Systems_CreateOrUpdate.json +++ /dev/null @@ -1,153 +0,0 @@ -{ - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "systemResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a", - "agentResourceName": "3123432b-0b60-4af3-8720-77f01a25d34a", - "systemToUpsert": { - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "properties": { - "status": "Running", - "configuration": { - "azureResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace", - "connector": { - "abapServerHost": "1.1.1.1", - "systemNumber": "001", - "systemId": "A4H", - "client": "001", - "authenticationType": "UsernamePassword", - "type": "Rfc" - }, - "logs": [ - { - "type": "AbapAuditLog", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - }, - { - "type": "USR01", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - } - ], - "type": "SAP" - }, - "displayName": "A4H_System" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5/systems/3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "name": "3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents/systems", - "properties": { - "status": "Running", - "configuration": { - "azureResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace", - "connector": { - "abapServerHost": "1.1.1.1", - "systemNumber": "001", - "systemId": "A4H", - "client": "001", - "authenticationType": "UsernamePassword", - "type": "Rfc" - }, - "logs": [ - { - "type": "AbapAuditLog", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - }, - { - "type": "USR01", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - } - ], - "type": "SAP" - }, - "displayName": "A4H_System", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5/systems/3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "name": "3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents/systems", - "properties": { - "status": "Running", - "configuration": { - "azureResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace", - "connector": { - "abapServerHost": "1.1.1.1", - "systemNumber": "001", - "systemId": "A4H", - "client": "001", - "authenticationType": "UsernamePassword", - "type": "Rfc" - }, - "logs": [ - { - "type": "AbapAuditLog", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - }, - { - "type": "USR01", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - } - ], - "type": "SAP" - }, - "displayName": "A4H_System", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/systems/Systems_Delete.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/systems/Systems_Delete.json deleted file mode 100644 index bd59ae8d74d2..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/systems/Systems_Delete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "systemResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a", - "agentResourceName": "3123432b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/systems/Systems_Get.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/systems/Systems_Get.json deleted file mode 100644 index 66734519ef7d..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/systems/Systems_Get.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "systemResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a", - "agentResourceName": "3123432b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5/systems/3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "name": "3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents/systems", - "properties": { - "status": "Running", - "configuration": { - "azureResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace", - "connector": { - "abapServerHost": "1.1.1.1", - "systemNumber": "001", - "systemId": "A4H", - "client": "001", - "authenticationType": "UsernamePassword", - "type": "Rfc" - }, - "logs": [ - { - "type": "AbapAuditLog", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - }, - { - "type": "USR01", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - } - ], - "type": "SAP" - }, - "displayName": "A4H_System", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/systems/Systems_List.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/systems/Systems_List.json deleted file mode 100644 index 7019165b0446..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-10-01-preview/examples/businessApplicationAgents/systems/Systems_List.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "3123432b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5/systems/3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "name": "3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents/systems", - "properties": { - "status": "Running", - "configuration": { - "azureResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace", - "connector": { - "abapServerHost": "1.1.1.1", - "systemNumber": "001", - "systemId": "A4H", - "client": "001", - "authenticationType": "UsernamePassword", - "type": "Rfc" - }, - "logs": [ - { - "type": "AbapAuditLog", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - }, - { - "type": "USR01", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - } - ], - "type": "SAP" - }, - "displayName": "A4H_System", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - ] - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/BusinessApplicationAgents.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/BusinessApplicationAgents.json deleted file mode 100644 index 0d917974ab2b..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/BusinessApplicationAgents.json +++ /dev/null @@ -1,1691 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Security Insights", - "description": "API spec for Microsoft.SecurityInsights (Azure Security Insights) resource provider", - "version": "2025-01-01-preview" - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents/{agentResourceName}": { - "put": { - "tags": [ - "businessApplicationAgents" - ], - "description": "Creates or updates the Business Application Agent.", - "operationId": "BusinessApplicationAgents_CreateOrUpdate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "agentToUpsert", - "description": "The Business Application Agent", - "schema": { - "$ref": "#/definitions/BusinessApplicationAgentResource" - } - } - ], - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/BusinessApplicationAgentResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/BusinessApplicationAgentResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "BusinessApplicationAgents_CreateOrUpdate": { - "$ref": "./examples/businessApplicationAgents/BusinessApplicationAgents_CreateOrUpdate.json" - } - } - }, - "get": { - "tags": [ - "businessApplicationAgents" - ], - "description": "Gets Business Application Agent.", - "operationId": "BusinessApplicationAgent_Get", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/BusinessApplicationAgentResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "BusinessApplicationAgent_Get": { - "$ref": "./examples/businessApplicationAgents/BusinessApplicationAgent_Get.json" - } - } - }, - "delete": { - "tags": [ - "businessApplicationAgents" - ], - "description": "Delete the Business Application Agent.", - "operationId": "BusinessApplicationAgents_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Ok" - }, - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "BusinessApplicationAgents_Delete": { - "$ref": "./examples/businessApplicationAgents/BusinessApplicationAgents_Delete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents": { - "get": { - "tags": [ - "businessApplicationAgents" - ], - "description": "Gets all Business Application Agents under the workspace.", - "operationId": "BusinessApplicationAgents_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/ODataFilter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/ODataSkipToken" - } - ], - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/BusinessApplicationAgentsList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "BusinessApplicationAgents_List": { - "$ref": "./examples/businessApplicationAgents/BusinessApplicationAgents_List.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents/{agentResourceName}/systems/{systemResourceName}": { - "put": { - "tags": [ - "systems" - ], - "description": "Creates or updates the system.", - "operationId": "Systems_CreateOrUpdate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "path", - "name": "systemResourceName", - "description": "The name of the system.", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "systemToUpsert", - "description": "The system to upsert.", - "schema": { - "$ref": "#/definitions/SystemResource" - } - } - ], - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/SystemResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/SystemResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Systems_CreateOrUpdate": { - "$ref": "./examples/businessApplicationAgents/systems/Systems_CreateOrUpdate.json" - } - } - }, - "get": { - "tags": [ - "systems" - ], - "description": "Gets the system.", - "operationId": "Systems_Get", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "path", - "name": "systemResourceName", - "description": "The name of the system.", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/SystemResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Systems_Get": { - "$ref": "./examples/businessApplicationAgents/systems/Systems_Get.json" - } - } - }, - "delete": { - "tags": [ - "systems" - ], - "description": "Deletes the system.", - "operationId": "Systems_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "path", - "name": "systemResourceName", - "description": "The name of the system.", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Ok" - }, - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Systems_Delete": { - "$ref": "./examples/businessApplicationAgents/systems/Systems_Delete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents/{agentResourceName}/systems": { - "get": { - "tags": [ - "systems" - ], - "description": "ListAll the systems.", - "operationId": "Systems_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/ODataFilter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/ODataSkipToken" - } - ], - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/SystemsList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Systems_List": { - "$ref": "./examples/businessApplicationAgents/systems/Systems_List.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents/{agentResourceName}/systems/{systemResourceName}/listActions": { - "post": { - "tags": [ - "SystemsActions" - ], - "operationId": "Systems_ListActions", - "description": "List of actions for a business application system.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "path", - "name": "systemResourceName", - "description": "The name of the system.", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - } - ], - "responses": { - "200": { - "description": "List actions for a business application system", - "schema": { - "$ref": "#/definitions/ListActionsResponse" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "ListActions": { - "$ref": "./examples/businessApplicationAgents/actions/ListActions.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents/{agentResourceName}/systems/{systemResourceName}/undoAction": { - "post": { - "tags": [ - "SystemsActions" - ], - "operationId": "Systems_UndoAction", - "description": "Undo action, based on the actionId.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "path", - "name": "systemResourceName", - "description": "The name of the system.", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "body", - "description": "Undo action, based on the actionId.", - "name": "payload", - "schema": { - "$ref": "#/definitions/UndoActionPayload" - } - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "UndoAction": { - "$ref": "./examples/businessApplicationAgents/actions/UndoAction.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents/{agentResourceName}/systems/{systemResourceName}/reportActionStatus": { - "post": { - "tags": [ - "SystemsActions" - ], - "operationId": "Systems_ReportActionStatus", - "description": "Report the status of the action.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "path", - "name": "systemResourceName", - "description": "The name of the system.", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "body", - "name": "payload", - "description": "Report a status of the action that was performed by the agent", - "schema": { - "$ref": "#/definitions/ReportActionStatusPayload" - } - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "ReportActionStatus": { - "$ref": "./examples/businessApplicationAgents/actions/ReportActionStatus.json" - } - } - } - } - }, - "definitions": { - "BusinessApplicationAgentResource": { - "description": "Describes the configuration of a Business Application Agent.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../common/2.0/types.json#/definitions/ResourceWithEtag" - } - ], - "properties": { - "properties": { - "type": "object", - "$ref": "#/definitions/AgentProperties", - "x-ms-client-flatten": true - } - } - }, - "AgentConfiguration": { - "description": "Describes the configuration of a Business Application Agent.", - "required": [ - "type" - ], - "type": "object", - "properties": { - "type": { - "$ref": "#/definitions/AgentType" - } - }, - "discriminator": "type" - }, - "AgentProperties": { - "required": [ - "configuration", - "displayName" - ], - "type": "object", - "properties": { - "configuration": { - "$ref": "#/definitions/AgentConfiguration" - }, - "agentSystems": { - "type": "array", - "items": { - "$ref": "#/definitions/AgentSystem" - }, - "readOnly": true - }, - "displayName": { - "minLength": 1, - "type": "string" - }, - "lastModifiedTimeUtc": { - "format": "date-time", - "type": "string", - "readOnly": true - } - } - }, - "AgentSystem": { - "description": "Describes the configuration of a system inside the agent.", - "type": "object", - "properties": { - "systemResourceName": { - "type": "string" - }, - "systemDisplayName": { - "type": "string" - } - } - }, - "AgentType": { - "description": "Type of the agent", - "enum": [ - "SAP" - ], - "type": "string", - "example": "SAP", - "x-ms-enum": { - "name": "AgentType", - "modelAsString": true, - "values": [ - { - "value": "SAP" - } - ] - } - }, - "BusinessApplicationAgentsList": { - "description": "List of agents.", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/BusinessApplicationAgentResource" - } - }, - "nextLink": { - "type": "string" - } - } - }, - "KeyVaultAuthenticationMode": { - "description": "Type for authentication identity to key vault", - "enum": [ - "ManagedIdentity", - "ServicePrincipal" - ], - "type": "string", - "example": "ManagedIdentity", - "x-ms-enum": { - "name": "KeyVaultAuthenticationMode", - "modelAsString": true, - "values": [ - { - "value": "ManagedIdentity" - }, - { - "value": "ServicePrincipal" - } - ] - } - }, - "SapAgentConfiguration": { - "description": "Describes the configuration of a SAP Docker agent.", - "required": [ - "type" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AgentConfiguration" - } - ], - "properties": { - "agentContainerName": { - "description": "The name of the docker agent.\r\nonly letters with numbers, underscores and hyphens are allowed\r\nexample: \"my-agent\"", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$", - "type": "string" - }, - "sdkPath": { - "description": "The SDK path (a file not a folder) on the agent machine.\r\nexample: \"/path/to/nwrfc750P_8-70002755.zip\"", - "pattern": "^/(([^/]+/)*nwrfc75.*\\.zip$)|^((?:[a-zA-Z]:)?(?:\\\\|\\\\\\\\)(?:[^\\\\/:*?\"<>|\\r\\n]+\\\\)*nwrfc75.*\\.zip)$", - "type": "string" - }, - "sncPath": { - "description": "The SNC path (a folder not a file) on the agent machine.\r\nexample: \"/path/to/snc\"", - "pattern": "^\\/(?:[^/]+\\/)*[^/]+$|^(?:[a-zA-Z]:)?(?:\\\\|\\\\\\\\)(?:[^\\\\/:*?\"<>|\\r\\n]+\\\\)*[^\\\\/:*?\"<>|\\r\\n]*$", - "type": "string" - }, - "keyVaultResourceId": { - "description": "The key vault resource id to access the key vault.\r\nexample: \"/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.KeyVault/vaults/myVault\"", - "pattern": "^\\/?subscriptions\\/([^\\/]+)\\/resourceGroups\\/([^\\/]+)\\/providers\\/Microsoft\\.KeyVault\\/vaults\\/([^\\/]+)$", - "type": "string" - }, - "keyVaultAuthenticationMode": { - "description": "The key mode of the agent.\r\nManagedIdentity|ApplicationIdentity are the options", - "$ref": "#/definitions/KeyVaultAuthenticationMode" - }, - "secretSource": { - "description": "The secret source of the agent.\r\nAzureKeyVault is the option", - "$ref": "#/definitions/SecretSource" - }, - "type": { - "$ref": "#/definitions/AgentType" - } - }, - "x-ms-discriminator-value": "SAP" - }, - "SecretSource": { - "description": "Type for Secret Source - Azure Key Vault", - "enum": [ - "AzureKeyVault" - ], - "type": "string", - "example": "AzureKeyVault", - "x-ms-enum": { - "name": "SecretSource", - "modelAsString": true, - "values": [ - { - "value": "AzureKeyVault" - } - ] - } - }, - "ListActionsResponse": { - "description": "List all actions for a system to perform.", - "properties": { - "value": { - "description": "Array of actions.", - "items": { - "$ref": "#/definitions/Action" - }, - "x-ms-identifiers": [], - "type": "array" - }, - "nextLink": { - "description": "The link to fetch the next page of actions.", - "type": "string" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "Action": { - "description": "Represents an action to perform on a specific system.", - "discriminator": "kind", - "required": [ - "kind" - ], - "properties": { - "kind": { - "$ref": "#/definitions/ListActionKind", - "description": "The actions kind" - } - }, - "type": "object" - }, - "ListActionKind": { - "description": "The kind of the action", - "enum": [ - "LockUser", - "UnlockUser" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "ListActionKind", - "values": [ - { - "value": "LockUser" - }, - { - "value": "UnlockUser" - } - ] - } - }, - "LockUserAction": { - "allOf": [ - { - "$ref": "#/definitions/Action" - } - ], - "description": "Represents lock user action.", - "properties": { - "user": { - "type": "string", - "description": "The user to lock" - }, - "failureReason": { - "type": "string", - "description": "The reason of the failure of the action. Empty if the action is successful." - } - }, - "type": "object", - "x-ms-discriminator-value": "LockUser" - }, - "UnlockUserAction": { - "allOf": [ - { - "$ref": "#/definitions/Action" - } - ], - "description": "Represents an unlock user action.", - "properties": { - "user": { - "type": "string", - "description": "The user to unlock" - }, - "failureReason": { - "type": "string", - "description": "The reason of the failure of the action. Empty if the action is successful." - } - }, - "type": "object", - "x-ms-discriminator-value": "UnlockUser" - }, - "UndoActionPayload": { - "description": "Represents the undo action.", - "properties": { - "actionId": { - "type": "string", - "description": "The action ID of the original action that was performed and now need to undo" - } - }, - "type": "object" - }, - "ReportActionStatusPayload": { - "description": "Report the status of an action that was performed by the agent", - "type": "object", - "properties": { - "actionId": { - "type": "string", - "description": "The action ID to perform" - }, - "actionStatus": { - "description": "The status of the action that was performed by the agent", - "type": "string" - }, - "failureReason": { - "description": "The reason of the failure of the action. Empty if the action is successful.", - "type": "string" - } - } - }, - "ActionStatus": { - "description": "The status of the action that was performed by the agent", - "enum": [ - "Pending", - "Completed", - "Failed" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "ActionStatus", - "values": [ - { - "value": "Pending", - "description": "Actions is pending" - }, - { - "value": "Completed", - "description": "The action is completed successfully." - }, - { - "value": "Failed", - "description": "The action failed." - } - ] - } - }, - "SapAuthenticationType": { - "description": "Types of authentication to SAP.", - "enum": [ - "UsernamePassword", - "Snc", - "SncWithUsernamePassword" - ], - "type": "string", - "example": "UsernamePassword", - "x-ms-enum": { - "name": "SapAuthenticationType", - "modelAsString": true, - "values": [ - { - "value": "UsernamePassword" - }, - { - "value": "Snc" - }, - { - "value": "SncWithUsernamePassword" - } - ] - } - }, - "ConfigurationType": { - "description": "Represents the types of configuration for a system.", - "enum": [ - "SAP" - ], - "type": "string", - "example": "SAP", - "x-ms-enum": { - "name": "ConfigurationType", - "modelAsString": true, - "values": [ - { - "value": "SAP" - } - ] - } - }, - "HttpsConfigurationType": { - "description": "Represents the types of HTTPS configuration to connect to the SapControl service.", - "enum": [ - "HttpOnly", - "HttpsWithSslVerification", - "HttpsWithoutSslVerification" - ], - "type": "string", - "example": "HttpOnly", - "x-ms-enum": { - "name": "HttpsConfigurationType", - "modelAsString": true, - "values": [ - { - "value": "HttpOnly" - }, - { - "value": "HttpsWithSslVerification" - }, - { - "value": "HttpsWithoutSslVerification" - } - ] - } - }, - "IngestionType": { - "description": "Types of ingestion.", - "enum": [ - "Full", - "Incremental" - ], - "type": "string", - "example": "Full", - "x-ms-enum": { - "name": "IngestionType", - "modelAsString": true, - "values": [ - { - "value": "Full" - }, - { - "value": "Incremental" - } - ] - } - }, - "Log": { - "description": "Describes a log.", - "required": [ - "type" - ], - "type": "object", - "properties": { - "type": { - "$ref": "#/definitions/LogType" - }, - "ingestionType": { - "$ref": "#/definitions/IngestionType" - }, - "status": { - "$ref": "#/definitions/LogStatusType" - }, - "scheduleInterval": { - "format": "int32", - "description": "The schedule interval in seconds.", - "type": "integer" - }, - "bulkSize": { - "format": "int32", - "description": "The bulk size for the log.", - "type": "integer" - }, - "filters": { - "description": "The filters for the log.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "LogStatusType": { - "description": "Types of log status.", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "example": "Enabled", - "x-ms-enum": { - "name": "LogStatusType", - "modelAsString": true, - "values": [ - { - "value": "Enabled" - }, - { - "value": "Disabled" - } - ] - } - }, - "LogType": { - "description": "Types of logs and tables.", - "enum": [ - "AbapAuditLog", - "AbapJobLog", - "AbapSpoolLog", - "AbapSpoolOutputLog", - "AbapChangeDocsLog", - "AbapAppLog", - "AbapWorkflowLog", - "AbapCrLog", - "AbapTableDataLog", - "AbapFilesLogs", - "JavaFilesLogs", - "AGRTCODES", - "USR01", - "USR02", - "AGR1251", - "AGRUSERS", - "AGRPROF", - "UST04", - "USR21", - "ADR6", - "ADCP", - "USR05", - "USGRPUSER", - "USERADDR", - "DEVACCESS", - "AGRDEFINE", - "PAHI", - "AGRAGRS", - "USRSTAMP", - "AGRFLAGS", - "SNCSYSACL", - "USRACL" - ], - "type": "string", - "example": "AbapAuditLog", - "x-ms-enum": { - "name": "LogType", - "modelAsString": true, - "values": [ - { - "value": "AbapAuditLog" - }, - { - "value": "AbapJobLog" - }, - { - "value": "AbapSpoolLog" - }, - { - "value": "AbapSpoolOutputLog" - }, - { - "value": "AbapChangeDocsLog" - }, - { - "value": "AbapAppLog" - }, - { - "value": "AbapWorkflowLog" - }, - { - "value": "AbapCrLog" - }, - { - "value": "AbapTableDataLog" - }, - { - "value": "AbapFilesLogs" - }, - { - "value": "JavaFilesLogs" - }, - { - "value": "AGRTCODES" - }, - { - "value": "USR01" - }, - { - "value": "USR02" - }, - { - "value": "AGR1251" - }, - { - "value": "AGRUSERS" - }, - { - "value": "AGRPROF" - }, - { - "value": "UST04" - }, - { - "value": "USR21" - }, - { - "value": "ADR6" - }, - { - "value": "ADCP" - }, - { - "value": "USR05" - }, - { - "value": "USGRPUSER" - }, - { - "value": "USERADDR" - }, - { - "value": "DEVACCESS" - }, - { - "value": "AGRDEFINE" - }, - { - "value": "PAHI" - }, - { - "value": "AGRAGRS" - }, - { - "value": "USRSTAMP" - }, - { - "value": "AGRFLAGS" - }, - { - "value": "SNCSYSACL" - }, - { - "value": "USRACL" - } - ] - } - }, - "RfcConnector": { - "description": "Describes the Rfc connector.", - "required": [ - "client", - "systemId", - "systemNumber", - "type" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/SystemsConfigurationConnector" - } - ], - "properties": { - "abapServerHost": { - "description": "FQDN, hostname, or IP address of the ABAP server.", - "type": "string" - }, - "messageServerHost": { - "description": "FQDN, hostname, or IP address of the Message server.", - "type": "string" - }, - "group": { - "description": "Logon group of the message server.", - "type": "string" - }, - "messageServerService": { - "description": "Port number, or service name (from /etc/services) of the message server.", - "type": "string" - }, - "sncQop": { - "description": "SNC QOP.\r\nOptions are 1, 2, 3, 8, 9.", - "pattern": "^[1,2,3,8,9]$", - "type": "string" - }, - "codePage": { - "description": "The SAP code page used for character encoding.\r\nExample - 1100", - "pattern": "^(?:[a-zA-Z0-9]{4}|UTF-8)$", - "type": "string" - }, - "systemNumber": { - "description": "System number of the ABAP server.", - "minLength": 1, - "pattern": "^\\d{1,3}$", - "type": "string" - }, - "systemId": { - "description": "System ID of the ABAP server.\r\nExample - A4H", - "minLength": 1, - "pattern": "^[a-zA-Z0-9]{3}$", - "type": "string" - }, - "client": { - "description": "Client number of the ABAP server.\r\nExample - 001", - "minLength": 1, - "pattern": "^[0-9]{3}$", - "type": "string" - }, - "authenticationType": { - "description": "The authentication type to SAP.", - "$ref": "#/definitions/SapAuthenticationType" - }, - "type": { - "$ref": "#/definitions/SystemConfigurationConnectorType" - } - }, - "x-ms-discriminator-value": "Rfc" - }, - "SapControlConnector": { - "description": "Describes the SapControl connector configuration.", - "required": [ - "instance", - "server", - "type" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/SystemsConfigurationConnector" - } - ], - "properties": { - "server": { - "description": "The server name.\r\nFQDN or IP address.", - "minLength": 1, - "pattern": "^([a-zA-Z0-9]+(-[a-zA-Z0-9]+)*\\.)+[a-zA-Z]{2,}$|^\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}$", - "type": "string" - }, - "instance": { - "description": "The instance number. Only 2 digits are allowed.", - "minLength": 1, - "pattern": "^\\d{2}$", - "type": "string" - }, - "timezone": { - "description": "The timezone.\r\nexample: \"GMT+0\" or \"GMT-8\"\r\ndefault: \"GMT+0\"", - "default": "GMT+0", - "pattern": "^GMT[+-]\\d+$", - "type": "string" - }, - "port": { - "description": "The port of the SOAP connection to SAP Control.", - "pattern": "^\\d{1,5}$", - "type": "string" - }, - "httpsConfiguration": { - "$ref": "#/definitions/HttpsConfigurationType" - }, - "type": { - "$ref": "#/definitions/SystemConfigurationConnectorType" - } - }, - "x-ms-discriminator-value": "SapControl" - }, - "SapSystemsConfiguration": { - "description": "Describes the SAP configuration.", - "required": [ - "connector", - "type" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/SystemsConfiguration" - } - ], - "properties": { - "azureResourceId": { - "description": "azure resource id\r\nexample: \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM\"", - "pattern": "^\\/?subscriptions\\/([^\\/]+)\\/resourceGroups\\/([^\\/]+)\\/providers\\/([^\\/]+)\\/([^\\/]+)\\/([^\\/]+)$", - "type": "string" - }, - "connector": { - "$ref": "#/definitions/SystemsConfigurationConnector" - }, - "logs": { - "description": "The logs configuration.", - "type": "array", - "x-ms-identifiers": [], - "items": { - "$ref": "#/definitions/Log" - } - }, - "type": { - "$ref": "#/definitions/ConfigurationType" - } - }, - "x-ms-discriminator-value": "SAP" - }, - "SystemResource": { - "description": "Describes the system within the agent.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../common/2.0/types.json#/definitions/ResourceWithEtag" - } - ], - "properties": { - "properties": { - "type": "object", - "$ref": "#/definitions/SystemProperties", - "x-ms-client-flatten": true - } - } - }, - "SystemConfigurationConnectorType": { - "description": "Represents the types of SAP systems.", - "enum": [ - "Rfc", - "SapControl" - ], - "type": "string", - "example": "Rfc", - "x-ms-enum": { - "name": "SystemConfigurationConnectorType", - "modelAsString": true, - "values": [ - { - "value": "Rfc" - }, - { - "value": "SapControl" - } - ] - } - }, - "SystemProperties": { - "description": "The properties of the system.", - "required": [ - "configuration", - "displayName" - ], - "type": "object", - "properties": { - "status": { - "$ref": "#/definitions/SystemStatusType" - }, - "configuration": { - "$ref": "#/definitions/SystemsConfiguration" - }, - "displayName": { - "minLength": 1, - "type": "string" - }, - "lastModifiedTimeUtc": { - "format": "date-time", - "type": "string", - "readOnly": true - } - } - }, - "SystemStatusType": { - "description": "The status of the system.", - "enum": [ - "Running", - "Stopped" - ], - "type": "string", - "example": "Running", - "x-ms-enum": { - "name": "SystemStatusType", - "modelAsString": true, - "values": [ - { - "value": "Running" - }, - { - "value": "Stopped" - } - ] - } - }, - "SystemsConfiguration": { - "description": "The configuration of the system.", - "required": [ - "type" - ], - "type": "object", - "properties": { - "type": { - "$ref": "#/definitions/ConfigurationType" - } - }, - "discriminator": "type" - }, - "SystemsConfigurationConnector": { - "description": "Base Model for SAP System Connector.", - "required": [ - "type" - ], - "type": "object", - "properties": { - "type": { - "$ref": "#/definitions/SystemConfigurationConnectorType" - } - }, - "discriminator": "type" - }, - "SystemsList": { - "description": "List of Agent's Systems.", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/SystemResource" - } - }, - "nextLink": { - "type": "string" - } - } - } - }, - "parameters": { - "BusinessApplicationAgentResource": { - "name": "businessApplicationAgentResource", - "description": "The Business Application Agent Resource", - "required": true, - "in": "body", - "x-ms-parameter-location": "method", - "schema": { - "$ref": "#/definitions/BusinessApplicationAgentResource" - } - }, - "BusinessApplicationAgentId": { - "in": "path", - "name": "businessApplicationAgentId", - "description": "BusinessApplicationAgent ID", - "required": true, - "x-ms-parameter-location": "method", - "type": "string" - }, - "SystemResource": { - "name": "systemResource", - "description": "The system resource", - "required": true, - "in": "body", - "x-ms-parameter-location": "method", - "schema": { - "$ref": "#/definitions/SystemResource" - } - }, - "SystemId": { - "in": "path", - "name": "systemId", - "description": "System ID", - "required": true, - "x-ms-parameter-location": "method", - "type": "string" - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - }, - "description": "Azure Active Directory OAuth2 Flow" - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "tags": [ - { - "name": "BusinessApplicationAgents", - "description": "Controller that handles requests forwarded from ASI RP for agents resources CRUD ARM APIs." - }, - { - "name": "Systems", - "description": "Controller that handles requests forwarded from ASI RP for systems resources CRUD ARM APIs." - } - ], - "host": "management.azure.com", - "schemes": [ - "https" - ], - "produces": [ - "application/json" - ], - "consumes": [ - "application/json" - ] -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/BusinessApplicationAgent_Get.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/BusinessApplicationAgent_Get.json deleted file mode 100644 index ef082901a3b5..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/BusinessApplicationAgent_Get.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "parameters": { - "api-version": "2025-01-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "name": "73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents", - "properties": { - "configuration": { - "agentContainerName": "MyAgentContainer", - "sdkPath": "/path/to/nwrfc750P_8-70002755.zip", - "sncPath": "/path/to/snc", - "keyVaultResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.KeyVault/vaults/myVault", - "keyVaultAuthenticationMode": "ManagedIdentity", - "secretSource": "AzureKeyVault", - "type": "SAP" - }, - "agentSystems": [ - { - "systemResourceName": "3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "systemDisplayName": "MySystem" - } - ], - "displayName": "MyAgent", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_CreateOrUpdate.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_CreateOrUpdate.json deleted file mode 100644 index 3df4bbb574f0..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_CreateOrUpdate.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "parameters": { - "api-version": "2025-01-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a", - "businessApplicationAgentToUpsert": { - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "properties": { - "configuration": { - "agentContainerName": "MyAgentContainer", - "sdkPath": "/path/to/nwrfc750P_8-70002755.zip", - "sncPath": "/path/to/snc", - "keyVaultResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.KeyVault/vaults/myVault", - "keyVaultAuthenticationMode": "ManagedIdentity", - "secretSource": "AzureKeyVault", - "type": "SAP" - }, - "displayName": "MyAgent" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "name": "73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents", - "properties": { - "configuration": { - "agentContainerName": "MyAgentContainer", - "sdkPath": "/path/to/nwrfc750P_8-70002755.zip", - "sncPath": "/path/to/snc", - "keyVaultResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.KeyVault/vaults/myVault", - "keyVaultAuthenticationMode": "ManagedIdentity", - "secretSource": "AzureKeyVault", - "type": "SAP" - }, - "displayName": "MyAgent", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "name": "73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents", - "properties": { - "configuration": { - "agentContainerName": "MyAgentContainer", - "sdkPath": "/path/to/nwrfc750P_8-70002755.zip", - "sncPath": "/path/to/snc", - "keyVaultResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.KeyVault/vaults/myVault", - "keyVaultAuthenticationMode": "ManagedIdentity", - "secretSource": "AzureKeyVault", - "type": "SAP" - }, - "displayName": "MyAgent", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_Delete.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_Delete.json deleted file mode 100644 index a9c84587d40d..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_Delete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "api-version": "2025-01-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_List.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_List.json deleted file mode 100644 index f529087a3295..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_List.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "parameters": { - "api-version": "2025-01-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "name": "73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents", - "properties": { - "configuration": { - "agentContainerName": "MyAgentContainer", - "sdkPath": "/path/to/nwrfc750P_8-70002755.zip", - "sncPath": "/path/to/snc", - "keyVaultResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.KeyVault/vaults/myVault", - "keyVaultAuthenticationMode": "ManagedIdentity", - "secretSource": "AzureKeyVault", - "type": "SAP" - }, - "agentSystems": [ - { - "systemResourceName": "3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "systemDisplayName": "MySystem" - } - ], - "displayName": "MyAgent", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - ] - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/actions/ListActions.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/actions/ListActions.json deleted file mode 100644 index 261eec59d776..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/actions/ListActions.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "parameters": { - "api-version": "2025-01-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "247b377a-7137-4b3c-bf15-df1d3260ef1b", - "systemResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "kind": "UnlockUser", - "actionId": "e85000a3-de69-41a4-b347-c6b823e6ec79", - "status": "Pending", - "user": "someuser@someorg.com", - "lastModifiedTimeUtc": "2023-07-01T00:00:00Z" - }, - { - "kind": "LockUser", - "actionId": "56b70fa0-9afd-4916-9ab9-e79de3e24add", - "status": "Pending", - "user": "someuser1@someorg.com", - "lastModifiedTimeUtc": "2024-02-01T00:00:00Z" - }, - { - "kind": "LockUser", - "actionId": "56b70fa0-9afd-4916-9ab9-e79de3e24add", - "status": "Failed", - "user": "someuser1@someorg.com", - "lastModifiedTimeUtc": "2024-02-01T00:00:00Z", - "failureReason": "Some reason for failure" - } - ] - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/actions/ReportActionStatus.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/actions/ReportActionStatus.json deleted file mode 100644 index 092e554b346a..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/actions/ReportActionStatus.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "api-version": "2025-01-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "247b377a-7137-4b3c-bf15-df1d3260ef1b", - "systemResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a", - "ReportActionStatusPayload": { - "actionId": "81f5d153-4c26-4c64-829a-06df62d1ddc5", - "actionStatus": "Completed", - "failureReason": "Failed to execute the action" - } - }, - "responses": { - "204": {} - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/actions/UndoAction.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/actions/UndoAction.json deleted file mode 100644 index 33ee3783d0fb..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/actions/UndoAction.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "api-version": "2025-01-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "247b377a-7137-4b3c-bf15-df1d3260ef1b", - "systemResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a", - "UndoActionPayload": { - "actionId": "e85000a3-de69-41a4-b347-c6b823e6ec79" - } - }, - "responses": { - "204": {} - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/systems/Systems_CreateOrUpdate.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/systems/Systems_CreateOrUpdate.json deleted file mode 100644 index 52e53399cced..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/systems/Systems_CreateOrUpdate.json +++ /dev/null @@ -1,153 +0,0 @@ -{ - "parameters": { - "api-version": "2025-01-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "systemResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a", - "agentResourceName": "3123432b-0b60-4af3-8720-77f01a25d34a", - "systemToUpsert": { - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "properties": { - "status": "Running", - "configuration": { - "azureResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace", - "connector": { - "abapServerHost": "1.1.1.1", - "systemNumber": "001", - "systemId": "A4H", - "client": "001", - "authenticationType": "UsernamePassword", - "type": "Rfc" - }, - "logs": [ - { - "type": "AbapAuditLog", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - }, - { - "type": "USR01", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - } - ], - "type": "SAP" - }, - "displayName": "A4H_System" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5/systems/3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "name": "3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents/systems", - "properties": { - "status": "Running", - "configuration": { - "azureResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace", - "connector": { - "abapServerHost": "1.1.1.1", - "systemNumber": "001", - "systemId": "A4H", - "client": "001", - "authenticationType": "UsernamePassword", - "type": "Rfc" - }, - "logs": [ - { - "type": "AbapAuditLog", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - }, - { - "type": "USR01", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - } - ], - "type": "SAP" - }, - "displayName": "A4H_System", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5/systems/3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "name": "3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents/systems", - "properties": { - "status": "Running", - "configuration": { - "azureResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace", - "connector": { - "abapServerHost": "1.1.1.1", - "systemNumber": "001", - "systemId": "A4H", - "client": "001", - "authenticationType": "UsernamePassword", - "type": "Rfc" - }, - "logs": [ - { - "type": "AbapAuditLog", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - }, - { - "type": "USR01", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - } - ], - "type": "SAP" - }, - "displayName": "A4H_System", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/systems/Systems_Delete.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/systems/Systems_Delete.json deleted file mode 100644 index 713946fe34e4..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/systems/Systems_Delete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "api-version": "2025-01-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "systemResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a", - "agentResourceName": "3123432b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/systems/Systems_Get.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/systems/Systems_Get.json deleted file mode 100644 index b43df0fa2250..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/systems/Systems_Get.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "parameters": { - "api-version": "2025-01-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "systemResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a", - "agentResourceName": "3123432b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5/systems/3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "name": "3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents/systems", - "properties": { - "status": "Running", - "configuration": { - "azureResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace", - "connector": { - "abapServerHost": "1.1.1.1", - "systemNumber": "001", - "systemId": "A4H", - "client": "001", - "authenticationType": "UsernamePassword", - "type": "Rfc" - }, - "logs": [ - { - "type": "AbapAuditLog", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - }, - { - "type": "USR01", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - } - ], - "type": "SAP" - }, - "displayName": "A4H_System", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/systems/Systems_List.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/systems/Systems_List.json deleted file mode 100644 index 58185c17ab7a..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-01-01-preview/examples/businessApplicationAgents/systems/Systems_List.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "parameters": { - "api-version": "2025-01-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "3123432b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5/systems/3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "name": "3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents/systems", - "properties": { - "status": "Running", - "configuration": { - "azureResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace", - "connector": { - "abapServerHost": "1.1.1.1", - "systemNumber": "001", - "systemId": "A4H", - "client": "001", - "authenticationType": "UsernamePassword", - "type": "Rfc" - }, - "logs": [ - { - "type": "AbapAuditLog", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - }, - { - "type": "USR01", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - } - ], - "type": "SAP" - }, - "displayName": "A4H_System", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - ] - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/BusinessApplicationAgents.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/BusinessApplicationAgents.json deleted file mode 100644 index 92e557bd3c77..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/BusinessApplicationAgents.json +++ /dev/null @@ -1,1691 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Security Insights", - "description": "API spec for Microsoft.SecurityInsights (Azure Security Insights) resource provider", - "version": "2025-04-01-preview" - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents/{agentResourceName}": { - "put": { - "tags": [ - "businessApplicationAgents" - ], - "description": "Creates or updates the Business Application Agent.", - "operationId": "BusinessApplicationAgents_CreateOrUpdate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "agentToUpsert", - "description": "The Business Application Agent", - "schema": { - "$ref": "#/definitions/BusinessApplicationAgentResource" - } - } - ], - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/BusinessApplicationAgentResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/BusinessApplicationAgentResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "BusinessApplicationAgents_CreateOrUpdate": { - "$ref": "./examples/businessApplicationAgents/BusinessApplicationAgents_CreateOrUpdate.json" - } - } - }, - "get": { - "tags": [ - "businessApplicationAgents" - ], - "description": "Gets Business Application Agent.", - "operationId": "BusinessApplicationAgent_Get", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/BusinessApplicationAgentResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "BusinessApplicationAgent_Get": { - "$ref": "./examples/businessApplicationAgents/BusinessApplicationAgent_Get.json" - } - } - }, - "delete": { - "tags": [ - "businessApplicationAgents" - ], - "description": "Delete the Business Application Agent.", - "operationId": "BusinessApplicationAgents_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Ok" - }, - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "BusinessApplicationAgents_Delete": { - "$ref": "./examples/businessApplicationAgents/BusinessApplicationAgents_Delete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents": { - "get": { - "tags": [ - "businessApplicationAgents" - ], - "description": "Gets all Business Application Agents under the workspace.", - "operationId": "BusinessApplicationAgents_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/ODataFilter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/ODataSkipToken" - } - ], - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/BusinessApplicationAgentsList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "BusinessApplicationAgents_List": { - "$ref": "./examples/businessApplicationAgents/BusinessApplicationAgents_List.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents/{agentResourceName}/systems/{systemResourceName}": { - "put": { - "tags": [ - "systems" - ], - "description": "Creates or updates the system.", - "operationId": "Systems_CreateOrUpdate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "path", - "name": "systemResourceName", - "description": "The name of the system.", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "systemToUpsert", - "description": "The system to upsert.", - "schema": { - "$ref": "#/definitions/SystemResource" - } - } - ], - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/SystemResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/SystemResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Systems_CreateOrUpdate": { - "$ref": "./examples/businessApplicationAgents/systems/Systems_CreateOrUpdate.json" - } - } - }, - "get": { - "tags": [ - "systems" - ], - "description": "Gets the system.", - "operationId": "Systems_Get", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "path", - "name": "systemResourceName", - "description": "The name of the system.", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/SystemResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Systems_Get": { - "$ref": "./examples/businessApplicationAgents/systems/Systems_Get.json" - } - } - }, - "delete": { - "tags": [ - "systems" - ], - "description": "Deletes the system.", - "operationId": "Systems_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "path", - "name": "systemResourceName", - "description": "The name of the system.", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Ok" - }, - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Systems_Delete": { - "$ref": "./examples/businessApplicationAgents/systems/Systems_Delete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents/{agentResourceName}/systems": { - "get": { - "tags": [ - "systems" - ], - "description": "ListAll the systems.", - "operationId": "Systems_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/ODataFilter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/ODataSkipToken" - } - ], - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/SystemsList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Systems_List": { - "$ref": "./examples/businessApplicationAgents/systems/Systems_List.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents/{agentResourceName}/systems/{systemResourceName}/listActions": { - "post": { - "tags": [ - "SystemsActions" - ], - "operationId": "Systems_ListActions", - "description": "List of actions for a business application system.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "path", - "name": "systemResourceName", - "description": "The name of the system.", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - } - ], - "responses": { - "200": { - "description": "List actions for a business application system", - "schema": { - "$ref": "#/definitions/ListActionsResponse" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "ListActions": { - "$ref": "./examples/businessApplicationAgents/actions/ListActions.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents/{agentResourceName}/systems/{systemResourceName}/undoAction": { - "post": { - "tags": [ - "SystemsActions" - ], - "operationId": "Systems_UndoAction", - "description": "Undo action, based on the actionId.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "path", - "name": "systemResourceName", - "description": "The name of the system.", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "body", - "description": "Undo action, based on the actionId.", - "name": "payload", - "schema": { - "$ref": "#/definitions/UndoActionPayload" - } - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "UndoAction": { - "$ref": "./examples/businessApplicationAgents/actions/UndoAction.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents/{agentResourceName}/systems/{systemResourceName}/reportActionStatus": { - "post": { - "tags": [ - "SystemsActions" - ], - "operationId": "Systems_ReportActionStatus", - "description": "Report the status of the action.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "path", - "name": "systemResourceName", - "description": "The name of the system.", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "body", - "name": "payload", - "description": "Report a status of the action that was performed by the agent", - "schema": { - "$ref": "#/definitions/ReportActionStatusPayload" - } - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "ReportActionStatus": { - "$ref": "./examples/businessApplicationAgents/actions/ReportActionStatus.json" - } - } - } - } - }, - "definitions": { - "BusinessApplicationAgentResource": { - "description": "Describes the configuration of a Business Application Agent.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../common/2.0/types.json#/definitions/ResourceWithEtag" - } - ], - "properties": { - "properties": { - "type": "object", - "$ref": "#/definitions/AgentProperties", - "x-ms-client-flatten": true - } - } - }, - "AgentConfiguration": { - "description": "Describes the configuration of a Business Application Agent.", - "required": [ - "type" - ], - "type": "object", - "properties": { - "type": { - "$ref": "#/definitions/AgentType" - } - }, - "discriminator": "type" - }, - "AgentProperties": { - "required": [ - "configuration", - "displayName" - ], - "type": "object", - "properties": { - "configuration": { - "$ref": "#/definitions/AgentConfiguration" - }, - "agentSystems": { - "type": "array", - "items": { - "$ref": "#/definitions/AgentSystem" - }, - "readOnly": true - }, - "displayName": { - "minLength": 1, - "type": "string" - }, - "lastModifiedTimeUtc": { - "format": "date-time", - "type": "string", - "readOnly": true - } - } - }, - "AgentSystem": { - "description": "Describes the configuration of a system inside the agent.", - "type": "object", - "properties": { - "systemResourceName": { - "type": "string" - }, - "systemDisplayName": { - "type": "string" - } - } - }, - "AgentType": { - "description": "Type of the agent", - "enum": [ - "SAP" - ], - "type": "string", - "example": "SAP", - "x-ms-enum": { - "name": "AgentType", - "modelAsString": true, - "values": [ - { - "value": "SAP" - } - ] - } - }, - "BusinessApplicationAgentsList": { - "description": "List of agents.", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/BusinessApplicationAgentResource" - } - }, - "nextLink": { - "type": "string" - } - } - }, - "KeyVaultAuthenticationMode": { - "description": "Type for authentication identity to key vault", - "enum": [ - "ManagedIdentity", - "ServicePrincipal" - ], - "type": "string", - "example": "ManagedIdentity", - "x-ms-enum": { - "name": "KeyVaultAuthenticationMode", - "modelAsString": true, - "values": [ - { - "value": "ManagedIdentity" - }, - { - "value": "ServicePrincipal" - } - ] - } - }, - "SapAgentConfiguration": { - "description": "Describes the configuration of a SAP Docker agent.", - "required": [ - "type" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AgentConfiguration" - } - ], - "properties": { - "agentContainerName": { - "description": "The name of the docker agent.\r\nonly letters with numbers, underscores and hyphens are allowed\r\nexample: \"my-agent\"", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$", - "type": "string" - }, - "sdkPath": { - "description": "The SDK path (a file not a folder) on the agent machine.\r\nexample: \"/path/to/nwrfc750P_8-70002755.zip\"", - "pattern": "^/(([^/]+/)*nwrfc75.*\\.zip$)|^((?:[a-zA-Z]:)?(?:\\\\|\\\\\\\\)(?:[^\\\\/:*?\"<>|\\r\\n]+\\\\)*nwrfc75.*\\.zip)$", - "type": "string" - }, - "sncPath": { - "description": "The SNC path (a folder not a file) on the agent machine.\r\nexample: \"/path/to/snc\"", - "pattern": "^\\/(?:[^/]+\\/)*[^/]+$|^(?:[a-zA-Z]:)?(?:\\\\|\\\\\\\\)(?:[^\\\\/:*?\"<>|\\r\\n]+\\\\)*[^\\\\/:*?\"<>|\\r\\n]*$", - "type": "string" - }, - "keyVaultResourceId": { - "description": "The key vault resource id to access the key vault.\r\nexample: \"/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.KeyVault/vaults/myVault\"", - "pattern": "^\\/?subscriptions\\/([^\\/]+)\\/resourceGroups\\/([^\\/]+)\\/providers\\/Microsoft\\.KeyVault\\/vaults\\/([^\\/]+)$", - "type": "string" - }, - "keyVaultAuthenticationMode": { - "description": "The key mode of the agent.\r\nManagedIdentity|ApplicationIdentity are the options", - "$ref": "#/definitions/KeyVaultAuthenticationMode" - }, - "secretSource": { - "description": "The secret source of the agent.\r\nAzureKeyVault is the option", - "$ref": "#/definitions/SecretSource" - }, - "type": { - "$ref": "#/definitions/AgentType" - } - }, - "x-ms-discriminator-value": "SAP" - }, - "SecretSource": { - "description": "Type for Secret Source - Azure Key Vault", - "enum": [ - "AzureKeyVault" - ], - "type": "string", - "example": "AzureKeyVault", - "x-ms-enum": { - "name": "SecretSource", - "modelAsString": true, - "values": [ - { - "value": "AzureKeyVault" - } - ] - } - }, - "ListActionsResponse": { - "description": "List all actions for a system to perform.", - "properties": { - "value": { - "description": "Array of actions.", - "items": { - "$ref": "#/definitions/Action" - }, - "x-ms-identifiers": [], - "type": "array" - }, - "nextLink": { - "description": "The link to fetch the next page of actions.", - "type": "string" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "Action": { - "description": "Represents an action to perform on a specific system.", - "discriminator": "kind", - "required": [ - "kind" - ], - "properties": { - "kind": { - "$ref": "#/definitions/ListActionKind", - "description": "The actions kind" - } - }, - "type": "object" - }, - "ListActionKind": { - "description": "The kind of the action", - "enum": [ - "LockUser", - "UnlockUser" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "ListActionKind", - "values": [ - { - "value": "LockUser" - }, - { - "value": "UnlockUser" - } - ] - } - }, - "LockUserAction": { - "allOf": [ - { - "$ref": "#/definitions/Action" - } - ], - "description": "Represents lock user action.", - "properties": { - "user": { - "type": "string", - "description": "The user to lock" - }, - "failureReason": { - "type": "string", - "description": "The reason of the failure of the action. Empty if the action is successful." - } - }, - "type": "object", - "x-ms-discriminator-value": "LockUser" - }, - "UnlockUserAction": { - "allOf": [ - { - "$ref": "#/definitions/Action" - } - ], - "description": "Represents an unlock user action.", - "properties": { - "user": { - "type": "string", - "description": "The user to unlock" - }, - "failureReason": { - "type": "string", - "description": "The reason of the failure of the action. Empty if the action is successful." - } - }, - "type": "object", - "x-ms-discriminator-value": "UnlockUser" - }, - "UndoActionPayload": { - "description": "Represents the undo action.", - "properties": { - "actionId": { - "type": "string", - "description": "The action ID of the original action that was performed and now need to undo" - } - }, - "type": "object" - }, - "ReportActionStatusPayload": { - "description": "Report the status of an action that was performed by the agent", - "type": "object", - "properties": { - "actionId": { - "type": "string", - "description": "The action ID to perform" - }, - "actionStatus": { - "description": "The status of the action that was performed by the agent", - "type": "string" - }, - "failureReason": { - "description": "The reason of the failure of the action. Empty if the action is successful.", - "type": "string" - } - } - }, - "ActionStatus": { - "description": "The status of the action that was performed by the agent", - "enum": [ - "Pending", - "Completed", - "Failed" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "ActionStatus", - "values": [ - { - "value": "Pending", - "description": "Actions is pending" - }, - { - "value": "Completed", - "description": "The action is completed successfully." - }, - { - "value": "Failed", - "description": "The action failed." - } - ] - } - }, - "SapAuthenticationType": { - "description": "Types of authentication to SAP.", - "enum": [ - "UsernamePassword", - "Snc", - "SncWithUsernamePassword" - ], - "type": "string", - "example": "UsernamePassword", - "x-ms-enum": { - "name": "SapAuthenticationType", - "modelAsString": true, - "values": [ - { - "value": "UsernamePassword" - }, - { - "value": "Snc" - }, - { - "value": "SncWithUsernamePassword" - } - ] - } - }, - "ConfigurationType": { - "description": "Represents the types of configuration for a system.", - "enum": [ - "SAP" - ], - "type": "string", - "example": "SAP", - "x-ms-enum": { - "name": "ConfigurationType", - "modelAsString": true, - "values": [ - { - "value": "SAP" - } - ] - } - }, - "HttpsConfigurationType": { - "description": "Represents the types of HTTPS configuration to connect to the SapControl service.", - "enum": [ - "HttpOnly", - "HttpsWithSslVerification", - "HttpsWithoutSslVerification" - ], - "type": "string", - "example": "HttpOnly", - "x-ms-enum": { - "name": "HttpsConfigurationType", - "modelAsString": true, - "values": [ - { - "value": "HttpOnly" - }, - { - "value": "HttpsWithSslVerification" - }, - { - "value": "HttpsWithoutSslVerification" - } - ] - } - }, - "IngestionType": { - "description": "Types of ingestion.", - "enum": [ - "Full", - "Incremental" - ], - "type": "string", - "example": "Full", - "x-ms-enum": { - "name": "IngestionType", - "modelAsString": true, - "values": [ - { - "value": "Full" - }, - { - "value": "Incremental" - } - ] - } - }, - "Log": { - "description": "Describes a log.", - "required": [ - "type" - ], - "type": "object", - "properties": { - "type": { - "$ref": "#/definitions/LogType" - }, - "ingestionType": { - "$ref": "#/definitions/IngestionType" - }, - "status": { - "$ref": "#/definitions/LogStatusType" - }, - "scheduleInterval": { - "format": "int32", - "description": "The schedule interval in seconds.", - "type": "integer" - }, - "bulkSize": { - "format": "int32", - "description": "The bulk size for the log.", - "type": "integer" - }, - "filters": { - "description": "The filters for the log.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "LogStatusType": { - "description": "Types of log status.", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "example": "Enabled", - "x-ms-enum": { - "name": "LogStatusType", - "modelAsString": true, - "values": [ - { - "value": "Enabled" - }, - { - "value": "Disabled" - } - ] - } - }, - "LogType": { - "description": "Types of logs and tables.", - "enum": [ - "AbapAuditLog", - "AbapJobLog", - "AbapSpoolLog", - "AbapSpoolOutputLog", - "AbapChangeDocsLog", - "AbapAppLog", - "AbapWorkflowLog", - "AbapCrLog", - "AbapTableDataLog", - "AbapFilesLogs", - "JavaFilesLogs", - "AGRTCODES", - "USR01", - "USR02", - "AGR1251", - "AGRUSERS", - "AGRPROF", - "UST04", - "USR21", - "ADR6", - "ADCP", - "USR05", - "USGRPUSER", - "USERADDR", - "DEVACCESS", - "AGRDEFINE", - "PAHI", - "AGRAGRS", - "USRSTAMP", - "AGRFLAGS", - "SNCSYSACL", - "USRACL" - ], - "type": "string", - "example": "AbapAuditLog", - "x-ms-enum": { - "name": "LogType", - "modelAsString": true, - "values": [ - { - "value": "AbapAuditLog" - }, - { - "value": "AbapJobLog" - }, - { - "value": "AbapSpoolLog" - }, - { - "value": "AbapSpoolOutputLog" - }, - { - "value": "AbapChangeDocsLog" - }, - { - "value": "AbapAppLog" - }, - { - "value": "AbapWorkflowLog" - }, - { - "value": "AbapCrLog" - }, - { - "value": "AbapTableDataLog" - }, - { - "value": "AbapFilesLogs" - }, - { - "value": "JavaFilesLogs" - }, - { - "value": "AGRTCODES" - }, - { - "value": "USR01" - }, - { - "value": "USR02" - }, - { - "value": "AGR1251" - }, - { - "value": "AGRUSERS" - }, - { - "value": "AGRPROF" - }, - { - "value": "UST04" - }, - { - "value": "USR21" - }, - { - "value": "ADR6" - }, - { - "value": "ADCP" - }, - { - "value": "USR05" - }, - { - "value": "USGRPUSER" - }, - { - "value": "USERADDR" - }, - { - "value": "DEVACCESS" - }, - { - "value": "AGRDEFINE" - }, - { - "value": "PAHI" - }, - { - "value": "AGRAGRS" - }, - { - "value": "USRSTAMP" - }, - { - "value": "AGRFLAGS" - }, - { - "value": "SNCSYSACL" - }, - { - "value": "USRACL" - } - ] - } - }, - "RfcConnector": { - "description": "Describes the Rfc connector.", - "required": [ - "client", - "systemId", - "systemNumber", - "type" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/SystemsConfigurationConnector" - } - ], - "properties": { - "abapServerHost": { - "description": "FQDN, hostname, or IP address of the ABAP server.", - "type": "string" - }, - "messageServerHost": { - "description": "FQDN, hostname, or IP address of the Message server.", - "type": "string" - }, - "group": { - "description": "Logon group of the message server.", - "type": "string" - }, - "messageServerService": { - "description": "Port number, or service name (from /etc/services) of the message server.", - "type": "string" - }, - "sncQop": { - "description": "SNC QOP.\r\nOptions are 1, 2, 3, 8, 9.", - "pattern": "^[1,2,3,8,9]$", - "type": "string" - }, - "codePage": { - "description": "The SAP code page used for character encoding.\r\nExample - 1100", - "pattern": "^(?:[a-zA-Z0-9]{4}|UTF-8)$", - "type": "string" - }, - "systemNumber": { - "description": "System number of the ABAP server.", - "minLength": 1, - "pattern": "^\\d{1,3}$", - "type": "string" - }, - "systemId": { - "description": "System ID of the ABAP server.\r\nExample - A4H", - "minLength": 1, - "pattern": "^[a-zA-Z0-9]{3}$", - "type": "string" - }, - "client": { - "description": "Client number of the ABAP server.\r\nExample - 001", - "minLength": 1, - "pattern": "^[0-9]{3}$", - "type": "string" - }, - "authenticationType": { - "description": "The authentication type to SAP.", - "$ref": "#/definitions/SapAuthenticationType" - }, - "type": { - "$ref": "#/definitions/SystemConfigurationConnectorType" - } - }, - "x-ms-discriminator-value": "Rfc" - }, - "SapControlConnector": { - "description": "Describes the SapControl connector configuration.", - "required": [ - "instance", - "server", - "type" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/SystemsConfigurationConnector" - } - ], - "properties": { - "server": { - "description": "The server name.\r\nFQDN or IP address.", - "minLength": 1, - "pattern": "^([a-zA-Z0-9]+(-[a-zA-Z0-9]+)*\\.)+[a-zA-Z]{2,}$|^\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}$", - "type": "string" - }, - "instance": { - "description": "The instance number. Only 2 digits are allowed.", - "minLength": 1, - "pattern": "^\\d{2}$", - "type": "string" - }, - "timezone": { - "description": "The timezone.\r\nexample: \"GMT+0\" or \"GMT-8\"\r\ndefault: \"GMT+0\"", - "default": "GMT+0", - "pattern": "^GMT[+-]\\d+$", - "type": "string" - }, - "port": { - "description": "The port of the SOAP connection to SAP Control.", - "pattern": "^\\d{1,5}$", - "type": "string" - }, - "httpsConfiguration": { - "$ref": "#/definitions/HttpsConfigurationType" - }, - "type": { - "$ref": "#/definitions/SystemConfigurationConnectorType" - } - }, - "x-ms-discriminator-value": "SapControl" - }, - "SapSystemsConfiguration": { - "description": "Describes the SAP configuration.", - "required": [ - "connector", - "type" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/SystemsConfiguration" - } - ], - "properties": { - "azureResourceId": { - "description": "azure resource id\r\nexample: \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM\"", - "pattern": "^\\/?subscriptions\\/([^\\/]+)\\/resourceGroups\\/([^\\/]+)\\/providers\\/([^\\/]+)\\/([^\\/]+)\\/([^\\/]+)$", - "type": "string" - }, - "connector": { - "$ref": "#/definitions/SystemsConfigurationConnector" - }, - "logs": { - "description": "The logs configuration.", - "type": "array", - "x-ms-identifiers": [], - "items": { - "$ref": "#/definitions/Log" - } - }, - "type": { - "$ref": "#/definitions/ConfigurationType" - } - }, - "x-ms-discriminator-value": "SAP" - }, - "SystemResource": { - "description": "Describes the system within the agent.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../common/2.0/types.json#/definitions/ResourceWithEtag" - } - ], - "properties": { - "properties": { - "type": "object", - "$ref": "#/definitions/SystemProperties", - "x-ms-client-flatten": true - } - } - }, - "SystemConfigurationConnectorType": { - "description": "Represents the types of SAP systems.", - "enum": [ - "Rfc", - "SapControl" - ], - "type": "string", - "example": "Rfc", - "x-ms-enum": { - "name": "SystemConfigurationConnectorType", - "modelAsString": true, - "values": [ - { - "value": "Rfc" - }, - { - "value": "SapControl" - } - ] - } - }, - "SystemProperties": { - "description": "The properties of the system.", - "required": [ - "configuration", - "displayName" - ], - "type": "object", - "properties": { - "status": { - "$ref": "#/definitions/SystemStatusType" - }, - "configuration": { - "$ref": "#/definitions/SystemsConfiguration" - }, - "displayName": { - "minLength": 1, - "type": "string" - }, - "lastModifiedTimeUtc": { - "format": "date-time", - "type": "string", - "readOnly": true - } - } - }, - "SystemStatusType": { - "description": "The status of the system.", - "enum": [ - "Running", - "Stopped" - ], - "type": "string", - "example": "Running", - "x-ms-enum": { - "name": "SystemStatusType", - "modelAsString": true, - "values": [ - { - "value": "Running" - }, - { - "value": "Stopped" - } - ] - } - }, - "SystemsConfiguration": { - "description": "The configuration of the system.", - "required": [ - "type" - ], - "type": "object", - "properties": { - "type": { - "$ref": "#/definitions/ConfigurationType" - } - }, - "discriminator": "type" - }, - "SystemsConfigurationConnector": { - "description": "Base Model for SAP System Connector.", - "required": [ - "type" - ], - "type": "object", - "properties": { - "type": { - "$ref": "#/definitions/SystemConfigurationConnectorType" - } - }, - "discriminator": "type" - }, - "SystemsList": { - "description": "List of Agent's Systems.", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/SystemResource" - } - }, - "nextLink": { - "type": "string" - } - } - } - }, - "parameters": { - "BusinessApplicationAgentResource": { - "name": "businessApplicationAgentResource", - "description": "The Business Application Agent Resource", - "required": true, - "in": "body", - "x-ms-parameter-location": "method", - "schema": { - "$ref": "#/definitions/BusinessApplicationAgentResource" - } - }, - "BusinessApplicationAgentId": { - "in": "path", - "name": "businessApplicationAgentId", - "description": "BusinessApplicationAgent ID", - "required": true, - "x-ms-parameter-location": "method", - "type": "string" - }, - "SystemResource": { - "name": "systemResource", - "description": "The system resource", - "required": true, - "in": "body", - "x-ms-parameter-location": "method", - "schema": { - "$ref": "#/definitions/SystemResource" - } - }, - "SystemId": { - "in": "path", - "name": "systemId", - "description": "System ID", - "required": true, - "x-ms-parameter-location": "method", - "type": "string" - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - }, - "description": "Azure Active Directory OAuth2 Flow" - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "tags": [ - { - "name": "BusinessApplicationAgents", - "description": "Controller that handles requests forwarded from ASI RP for agents resources CRUD ARM APIs." - }, - { - "name": "Systems", - "description": "Controller that handles requests forwarded from ASI RP for systems resources CRUD ARM APIs." - } - ], - "host": "management.azure.com", - "schemes": [ - "https" - ], - "produces": [ - "application/json" - ], - "consumes": [ - "application/json" - ] -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/BusinessApplicationAgent_Get.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/BusinessApplicationAgent_Get.json deleted file mode 100644 index 2cbfdeb84109..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/BusinessApplicationAgent_Get.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "parameters": { - "api-version": "2025-04-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "name": "73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents", - "properties": { - "configuration": { - "agentContainerName": "MyAgentContainer", - "sdkPath": "/path/to/nwrfc750P_8-70002755.zip", - "sncPath": "/path/to/snc", - "keyVaultResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.KeyVault/vaults/myVault", - "keyVaultAuthenticationMode": "ManagedIdentity", - "secretSource": "AzureKeyVault", - "type": "SAP" - }, - "agentSystems": [ - { - "systemResourceName": "3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "systemDisplayName": "MySystem" - } - ], - "displayName": "MyAgent", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_CreateOrUpdate.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_CreateOrUpdate.json deleted file mode 100644 index 1e9244c111f0..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_CreateOrUpdate.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "parameters": { - "api-version": "2025-04-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a", - "businessApplicationAgentToUpsert": { - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "properties": { - "configuration": { - "agentContainerName": "MyAgentContainer", - "sdkPath": "/path/to/nwrfc750P_8-70002755.zip", - "sncPath": "/path/to/snc", - "keyVaultResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.KeyVault/vaults/myVault", - "keyVaultAuthenticationMode": "ManagedIdentity", - "secretSource": "AzureKeyVault", - "type": "SAP" - }, - "displayName": "MyAgent" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "name": "73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents", - "properties": { - "configuration": { - "agentContainerName": "MyAgentContainer", - "sdkPath": "/path/to/nwrfc750P_8-70002755.zip", - "sncPath": "/path/to/snc", - "keyVaultResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.KeyVault/vaults/myVault", - "keyVaultAuthenticationMode": "ManagedIdentity", - "secretSource": "AzureKeyVault", - "type": "SAP" - }, - "displayName": "MyAgent", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "name": "73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents", - "properties": { - "configuration": { - "agentContainerName": "MyAgentContainer", - "sdkPath": "/path/to/nwrfc750P_8-70002755.zip", - "sncPath": "/path/to/snc", - "keyVaultResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.KeyVault/vaults/myVault", - "keyVaultAuthenticationMode": "ManagedIdentity", - "secretSource": "AzureKeyVault", - "type": "SAP" - }, - "displayName": "MyAgent", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_Delete.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_Delete.json deleted file mode 100644 index 10410d855557..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_Delete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "api-version": "2025-04-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_List.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_List.json deleted file mode 100644 index 552f7855c9f4..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_List.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "parameters": { - "api-version": "2025-04-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "name": "73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents", - "properties": { - "configuration": { - "agentContainerName": "MyAgentContainer", - "sdkPath": "/path/to/nwrfc750P_8-70002755.zip", - "sncPath": "/path/to/snc", - "keyVaultResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.KeyVault/vaults/myVault", - "keyVaultAuthenticationMode": "ManagedIdentity", - "secretSource": "AzureKeyVault", - "type": "SAP" - }, - "agentSystems": [ - { - "systemResourceName": "3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "systemDisplayName": "MySystem" - } - ], - "displayName": "MyAgent", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - ] - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/actions/ListActions.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/actions/ListActions.json deleted file mode 100644 index 5a3b68775caa..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/actions/ListActions.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "parameters": { - "api-version": "2025-04-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "247b377a-7137-4b3c-bf15-df1d3260ef1b", - "systemResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "kind": "UnlockUser", - "actionId": "e85000a3-de69-41a4-b347-c6b823e6ec79", - "status": "Pending", - "user": "someuser@someorg.com", - "lastModifiedTimeUtc": "2023-07-01T00:00:00Z" - }, - { - "kind": "LockUser", - "actionId": "56b70fa0-9afd-4916-9ab9-e79de3e24add", - "status": "Pending", - "user": "someuser1@someorg.com", - "lastModifiedTimeUtc": "2024-02-01T00:00:00Z" - }, - { - "kind": "LockUser", - "actionId": "56b70fa0-9afd-4916-9ab9-e79de3e24add", - "status": "Failed", - "user": "someuser1@someorg.com", - "lastModifiedTimeUtc": "2024-02-01T00:00:00Z", - "failureReason": "Some reason for failure" - } - ] - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/actions/ReportActionStatus.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/actions/ReportActionStatus.json deleted file mode 100644 index e0e129ddd1e8..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/actions/ReportActionStatus.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "api-version": "2025-04-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "247b377a-7137-4b3c-bf15-df1d3260ef1b", - "systemResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a", - "ReportActionStatusPayload": { - "actionId": "81f5d153-4c26-4c64-829a-06df62d1ddc5", - "actionStatus": "Completed", - "failureReason": "Failed to execute the action" - } - }, - "responses": { - "204": {} - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/actions/UndoAction.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/actions/UndoAction.json deleted file mode 100644 index 706b191d391e..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/actions/UndoAction.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "api-version": "2025-04-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "247b377a-7137-4b3c-bf15-df1d3260ef1b", - "systemResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a", - "UndoActionPayload": { - "actionId": "e85000a3-de69-41a4-b347-c6b823e6ec79" - } - }, - "responses": { - "204": {} - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/systems/Systems_CreateOrUpdate.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/systems/Systems_CreateOrUpdate.json deleted file mode 100644 index 9e164d7d6a18..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/systems/Systems_CreateOrUpdate.json +++ /dev/null @@ -1,153 +0,0 @@ -{ - "parameters": { - "api-version": "2025-04-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "systemResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a", - "agentResourceName": "3123432b-0b60-4af3-8720-77f01a25d34a", - "systemToUpsert": { - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "properties": { - "status": "Running", - "configuration": { - "azureResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace", - "connector": { - "abapServerHost": "1.1.1.1", - "systemNumber": "001", - "systemId": "A4H", - "client": "001", - "authenticationType": "UsernamePassword", - "type": "Rfc" - }, - "logs": [ - { - "type": "AbapAuditLog", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - }, - { - "type": "USR01", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - } - ], - "type": "SAP" - }, - "displayName": "A4H_System" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5/systems/3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "name": "3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents/systems", - "properties": { - "status": "Running", - "configuration": { - "azureResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace", - "connector": { - "abapServerHost": "1.1.1.1", - "systemNumber": "001", - "systemId": "A4H", - "client": "001", - "authenticationType": "UsernamePassword", - "type": "Rfc" - }, - "logs": [ - { - "type": "AbapAuditLog", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - }, - { - "type": "USR01", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - } - ], - "type": "SAP" - }, - "displayName": "A4H_System", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5/systems/3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "name": "3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents/systems", - "properties": { - "status": "Running", - "configuration": { - "azureResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace", - "connector": { - "abapServerHost": "1.1.1.1", - "systemNumber": "001", - "systemId": "A4H", - "client": "001", - "authenticationType": "UsernamePassword", - "type": "Rfc" - }, - "logs": [ - { - "type": "AbapAuditLog", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - }, - { - "type": "USR01", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - } - ], - "type": "SAP" - }, - "displayName": "A4H_System", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/systems/Systems_Delete.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/systems/Systems_Delete.json deleted file mode 100644 index 5e953de47b77..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/systems/Systems_Delete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "api-version": "2025-04-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "systemResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a", - "agentResourceName": "3123432b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/systems/Systems_Get.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/systems/Systems_Get.json deleted file mode 100644 index b3f3b64f1a18..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/systems/Systems_Get.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "parameters": { - "api-version": "2025-04-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "systemResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a", - "agentResourceName": "3123432b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5/systems/3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "name": "3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents/systems", - "properties": { - "status": "Running", - "configuration": { - "azureResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace", - "connector": { - "abapServerHost": "1.1.1.1", - "systemNumber": "001", - "systemId": "A4H", - "client": "001", - "authenticationType": "UsernamePassword", - "type": "Rfc" - }, - "logs": [ - { - "type": "AbapAuditLog", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - }, - { - "type": "USR01", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - } - ], - "type": "SAP" - }, - "displayName": "A4H_System", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/systems/Systems_List.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/systems/Systems_List.json deleted file mode 100644 index c2eb2bf0050e..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-04-01-preview/examples/businessApplicationAgents/systems/Systems_List.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "parameters": { - "api-version": "2025-04-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "3123432b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5/systems/3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "name": "3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents/systems", - "properties": { - "status": "Running", - "configuration": { - "azureResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace", - "connector": { - "abapServerHost": "1.1.1.1", - "systemNumber": "001", - "systemId": "A4H", - "client": "001", - "authenticationType": "UsernamePassword", - "type": "Rfc" - }, - "logs": [ - { - "type": "AbapAuditLog", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - }, - { - "type": "USR01", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - } - ], - "type": "SAP" - }, - "displayName": "A4H_System", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - ] - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/BusinessApplicationAgents.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/BusinessApplicationAgents.json deleted file mode 100644 index 19a5ed9a4285..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/BusinessApplicationAgents.json +++ /dev/null @@ -1,1691 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Security Insights", - "description": "API spec for Microsoft.SecurityInsights (Azure Security Insights) resource provider", - "version": "2025-07-01-preview" - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents/{agentResourceName}": { - "put": { - "tags": [ - "businessApplicationAgents" - ], - "description": "Creates or updates the Business Application Agent.", - "operationId": "BusinessApplicationAgents_CreateOrUpdate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "agentToUpsert", - "description": "The Business Application Agent", - "schema": { - "$ref": "#/definitions/BusinessApplicationAgentResource" - } - } - ], - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/BusinessApplicationAgentResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/BusinessApplicationAgentResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "BusinessApplicationAgents_CreateOrUpdate": { - "$ref": "./examples/businessApplicationAgents/BusinessApplicationAgents_CreateOrUpdate.json" - } - } - }, - "get": { - "tags": [ - "businessApplicationAgents" - ], - "description": "Gets Business Application Agent.", - "operationId": "BusinessApplicationAgent_Get", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/BusinessApplicationAgentResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "BusinessApplicationAgent_Get": { - "$ref": "./examples/businessApplicationAgents/BusinessApplicationAgent_Get.json" - } - } - }, - "delete": { - "tags": [ - "businessApplicationAgents" - ], - "description": "Delete the Business Application Agent.", - "operationId": "BusinessApplicationAgents_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Ok" - }, - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "BusinessApplicationAgents_Delete": { - "$ref": "./examples/businessApplicationAgents/BusinessApplicationAgents_Delete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents": { - "get": { - "tags": [ - "businessApplicationAgents" - ], - "description": "Gets all Business Application Agents under the workspace.", - "operationId": "BusinessApplicationAgents_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/ODataFilter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/ODataSkipToken" - } - ], - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/BusinessApplicationAgentsList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "BusinessApplicationAgents_List": { - "$ref": "./examples/businessApplicationAgents/BusinessApplicationAgents_List.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents/{agentResourceName}/systems/{systemResourceName}": { - "put": { - "tags": [ - "systems" - ], - "description": "Creates or updates the system.", - "operationId": "Systems_CreateOrUpdate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "path", - "name": "systemResourceName", - "description": "The name of the system.", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "systemToUpsert", - "description": "The system to upsert.", - "schema": { - "$ref": "#/definitions/SystemResource" - } - } - ], - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/SystemResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/SystemResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Systems_CreateOrUpdate": { - "$ref": "./examples/businessApplicationAgents/systems/Systems_CreateOrUpdate.json" - } - } - }, - "get": { - "tags": [ - "systems" - ], - "description": "Gets the system.", - "operationId": "Systems_Get", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "path", - "name": "systemResourceName", - "description": "The name of the system.", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/SystemResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Systems_Get": { - "$ref": "./examples/businessApplicationAgents/systems/Systems_Get.json" - } - } - }, - "delete": { - "tags": [ - "systems" - ], - "description": "Deletes the system.", - "operationId": "Systems_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "path", - "name": "systemResourceName", - "description": "The name of the system.", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Ok" - }, - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Systems_Delete": { - "$ref": "./examples/businessApplicationAgents/systems/Systems_Delete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents/{agentResourceName}/systems": { - "get": { - "tags": [ - "systems" - ], - "description": "ListAll the systems.", - "operationId": "Systems_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/ODataFilter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/ODataSkipToken" - } - ], - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/SystemsList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Systems_List": { - "$ref": "./examples/businessApplicationAgents/systems/Systems_List.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents/{agentResourceName}/systems/{systemResourceName}/listActions": { - "post": { - "tags": [ - "SystemsActions" - ], - "operationId": "Systems_ListActions", - "description": "List of actions for a business application system.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "path", - "name": "systemResourceName", - "description": "The name of the system.", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - } - ], - "responses": { - "200": { - "description": "List actions for a business application system", - "schema": { - "$ref": "#/definitions/ListActionsResponse" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "ListActions": { - "$ref": "./examples/businessApplicationAgents/actions/ListActions.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents/{agentResourceName}/systems/{systemResourceName}/undoAction": { - "post": { - "tags": [ - "SystemsActions" - ], - "operationId": "Systems_UndoAction", - "description": "Undo action, based on the actionId.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "path", - "name": "systemResourceName", - "description": "The name of the system.", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "body", - "description": "Undo action, based on the actionId.", - "name": "payload", - "schema": { - "$ref": "#/definitions/UndoActionPayload" - } - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "UndoAction": { - "$ref": "./examples/businessApplicationAgents/actions/UndoAction.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents/{agentResourceName}/systems/{systemResourceName}/reportActionStatus": { - "post": { - "tags": [ - "SystemsActions" - ], - "operationId": "Systems_ReportActionStatus", - "description": "Report the status of the action.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "path", - "name": "systemResourceName", - "description": "The name of the system.", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "body", - "name": "payload", - "description": "Report a status of the action that was performed by the agent", - "schema": { - "$ref": "#/definitions/ReportActionStatusPayload" - } - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "ReportActionStatus": { - "$ref": "./examples/businessApplicationAgents/actions/ReportActionStatus.json" - } - } - } - } - }, - "definitions": { - "BusinessApplicationAgentResource": { - "description": "Describes the configuration of a Business Application Agent.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../common/2.0/types.json#/definitions/ResourceWithEtag" - } - ], - "properties": { - "properties": { - "type": "object", - "$ref": "#/definitions/AgentProperties", - "x-ms-client-flatten": true - } - } - }, - "AgentConfiguration": { - "description": "Describes the configuration of a Business Application Agent.", - "required": [ - "type" - ], - "type": "object", - "properties": { - "type": { - "$ref": "#/definitions/AgentType" - } - }, - "discriminator": "type" - }, - "AgentProperties": { - "required": [ - "configuration", - "displayName" - ], - "type": "object", - "properties": { - "configuration": { - "$ref": "#/definitions/AgentConfiguration" - }, - "agentSystems": { - "type": "array", - "items": { - "$ref": "#/definitions/AgentSystem" - }, - "readOnly": true - }, - "displayName": { - "minLength": 1, - "type": "string" - }, - "lastModifiedTimeUtc": { - "format": "date-time", - "type": "string", - "readOnly": true - } - } - }, - "AgentSystem": { - "description": "Describes the configuration of a system inside the agent.", - "type": "object", - "properties": { - "systemResourceName": { - "type": "string" - }, - "systemDisplayName": { - "type": "string" - } - } - }, - "AgentType": { - "description": "Type of the agent", - "enum": [ - "SAP" - ], - "type": "string", - "example": "SAP", - "x-ms-enum": { - "name": "AgentType", - "modelAsString": true, - "values": [ - { - "value": "SAP" - } - ] - } - }, - "BusinessApplicationAgentsList": { - "description": "List of agents.", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/BusinessApplicationAgentResource" - } - }, - "nextLink": { - "type": "string" - } - } - }, - "KeyVaultAuthenticationMode": { - "description": "Type for authentication identity to key vault", - "enum": [ - "ManagedIdentity", - "ServicePrincipal" - ], - "type": "string", - "example": "ManagedIdentity", - "x-ms-enum": { - "name": "KeyVaultAuthenticationMode", - "modelAsString": true, - "values": [ - { - "value": "ManagedIdentity" - }, - { - "value": "ServicePrincipal" - } - ] - } - }, - "SapAgentConfiguration": { - "description": "Describes the configuration of a SAP Docker agent.", - "required": [ - "type" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AgentConfiguration" - } - ], - "properties": { - "agentContainerName": { - "description": "The name of the docker agent.\r\nonly letters with numbers, underscores and hyphens are allowed\r\nexample: \"my-agent\"", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$", - "type": "string" - }, - "sdkPath": { - "description": "The SDK path (a file not a folder) on the agent machine.\r\nexample: \"/path/to/nwrfc750P_8-70002755.zip\"", - "pattern": "^/(([^/]+/)*nwrfc75.*\\.zip$)|^((?:[a-zA-Z]:)?(?:\\\\|\\\\\\\\)(?:[^\\\\/:*?\"<>|\\r\\n]+\\\\)*nwrfc75.*\\.zip)$", - "type": "string" - }, - "sncPath": { - "description": "The SNC path (a folder not a file) on the agent machine.\r\nexample: \"/path/to/snc\"", - "pattern": "^\\/(?:[^/]+\\/)*[^/]+$|^(?:[a-zA-Z]:)?(?:\\\\|\\\\\\\\)(?:[^\\\\/:*?\"<>|\\r\\n]+\\\\)*[^\\\\/:*?\"<>|\\r\\n]*$", - "type": "string" - }, - "keyVaultResourceId": { - "description": "The key vault resource id to access the key vault.\r\nexample: \"/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.KeyVault/vaults/myVault\"", - "pattern": "^\\/?subscriptions\\/([^\\/]+)\\/resourceGroups\\/([^\\/]+)\\/providers\\/Microsoft\\.KeyVault\\/vaults\\/([^\\/]+)$", - "type": "string" - }, - "keyVaultAuthenticationMode": { - "description": "The key mode of the agent.\r\nManagedIdentity|ApplicationIdentity are the options", - "$ref": "#/definitions/KeyVaultAuthenticationMode" - }, - "secretSource": { - "description": "The secret source of the agent.\r\nAzureKeyVault is the option", - "$ref": "#/definitions/SecretSource" - }, - "type": { - "$ref": "#/definitions/AgentType" - } - }, - "x-ms-discriminator-value": "SAP" - }, - "SecretSource": { - "description": "Type for Secret Source - Azure Key Vault", - "enum": [ - "AzureKeyVault" - ], - "type": "string", - "example": "AzureKeyVault", - "x-ms-enum": { - "name": "SecretSource", - "modelAsString": true, - "values": [ - { - "value": "AzureKeyVault" - } - ] - } - }, - "ListActionsResponse": { - "description": "List all actions for a system to perform.", - "properties": { - "value": { - "description": "Array of actions.", - "items": { - "$ref": "#/definitions/Action" - }, - "x-ms-identifiers": [], - "type": "array" - }, - "nextLink": { - "description": "The link to fetch the next page of actions.", - "type": "string" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "Action": { - "description": "Represents an action to perform on a specific system.", - "discriminator": "kind", - "required": [ - "kind" - ], - "properties": { - "kind": { - "$ref": "#/definitions/ListActionKind", - "description": "The actions kind" - } - }, - "type": "object" - }, - "ListActionKind": { - "description": "The kind of the action", - "enum": [ - "LockUser", - "UnlockUser" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "ListActionKind", - "values": [ - { - "value": "LockUser" - }, - { - "value": "UnlockUser" - } - ] - } - }, - "LockUserAction": { - "allOf": [ - { - "$ref": "#/definitions/Action" - } - ], - "description": "Represents lock user action.", - "properties": { - "user": { - "type": "string", - "description": "The user to lock" - }, - "failureReason": { - "type": "string", - "description": "The reason of the failure of the action. Empty if the action is successful." - } - }, - "type": "object", - "x-ms-discriminator-value": "LockUser" - }, - "UnlockUserAction": { - "allOf": [ - { - "$ref": "#/definitions/Action" - } - ], - "description": "Represents an unlock user action.", - "properties": { - "user": { - "type": "string", - "description": "The user to unlock" - }, - "failureReason": { - "type": "string", - "description": "The reason of the failure of the action. Empty if the action is successful." - } - }, - "type": "object", - "x-ms-discriminator-value": "UnlockUser" - }, - "UndoActionPayload": { - "description": "Represents the undo action.", - "properties": { - "actionId": { - "type": "string", - "description": "The action ID of the original action that was performed and now need to undo" - } - }, - "type": "object" - }, - "ReportActionStatusPayload": { - "description": "Report the status of an action that was performed by the agent", - "type": "object", - "properties": { - "actionId": { - "type": "string", - "description": "The action ID to perform" - }, - "actionStatus": { - "description": "The status of the action that was performed by the agent", - "type": "string" - }, - "failureReason": { - "description": "The reason of the failure of the action. Empty if the action is successful.", - "type": "string" - } - } - }, - "ActionStatus": { - "description": "The status of the action that was performed by the agent", - "enum": [ - "Pending", - "Completed", - "Failed" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "ActionStatus", - "values": [ - { - "value": "Pending", - "description": "Actions is pending" - }, - { - "value": "Completed", - "description": "The action is completed successfully." - }, - { - "value": "Failed", - "description": "The action failed." - } - ] - } - }, - "SapAuthenticationType": { - "description": "Types of authentication to SAP.", - "enum": [ - "UsernamePassword", - "Snc", - "SncWithUsernamePassword" - ], - "type": "string", - "example": "UsernamePassword", - "x-ms-enum": { - "name": "SapAuthenticationType", - "modelAsString": true, - "values": [ - { - "value": "UsernamePassword" - }, - { - "value": "Snc" - }, - { - "value": "SncWithUsernamePassword" - } - ] - } - }, - "ConfigurationType": { - "description": "Represents the types of configuration for a system.", - "enum": [ - "SAP" - ], - "type": "string", - "example": "SAP", - "x-ms-enum": { - "name": "ConfigurationType", - "modelAsString": true, - "values": [ - { - "value": "SAP" - } - ] - } - }, - "HttpsConfigurationType": { - "description": "Represents the types of HTTPS configuration to connect to the SapControl service.", - "enum": [ - "HttpOnly", - "HttpsWithSslVerification", - "HttpsWithoutSslVerification" - ], - "type": "string", - "example": "HttpOnly", - "x-ms-enum": { - "name": "HttpsConfigurationType", - "modelAsString": true, - "values": [ - { - "value": "HttpOnly" - }, - { - "value": "HttpsWithSslVerification" - }, - { - "value": "HttpsWithoutSslVerification" - } - ] - } - }, - "IngestionType": { - "description": "Types of ingestion.", - "enum": [ - "Full", - "Incremental" - ], - "type": "string", - "example": "Full", - "x-ms-enum": { - "name": "IngestionType", - "modelAsString": true, - "values": [ - { - "value": "Full" - }, - { - "value": "Incremental" - } - ] - } - }, - "Log": { - "description": "Describes a log.", - "required": [ - "type" - ], - "type": "object", - "properties": { - "type": { - "$ref": "#/definitions/LogType" - }, - "ingestionType": { - "$ref": "#/definitions/IngestionType" - }, - "status": { - "$ref": "#/definitions/LogStatusType" - }, - "scheduleInterval": { - "format": "int32", - "description": "The schedule interval in seconds.", - "type": "integer" - }, - "bulkSize": { - "format": "int32", - "description": "The bulk size for the log.", - "type": "integer" - }, - "filters": { - "description": "The filters for the log.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "LogStatusType": { - "description": "Types of log status.", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "example": "Enabled", - "x-ms-enum": { - "name": "LogStatusType", - "modelAsString": true, - "values": [ - { - "value": "Enabled" - }, - { - "value": "Disabled" - } - ] - } - }, - "LogType": { - "description": "Types of logs and tables.", - "enum": [ - "AbapAuditLog", - "AbapJobLog", - "AbapSpoolLog", - "AbapSpoolOutputLog", - "AbapChangeDocsLog", - "AbapAppLog", - "AbapWorkflowLog", - "AbapCrLog", - "AbapTableDataLog", - "AbapFilesLogs", - "JavaFilesLogs", - "AGRTCODES", - "USR01", - "USR02", - "AGR1251", - "AGRUSERS", - "AGRPROF", - "UST04", - "USR21", - "ADR6", - "ADCP", - "USR05", - "USGRPUSER", - "USERADDR", - "DEVACCESS", - "AGRDEFINE", - "PAHI", - "AGRAGRS", - "USRSTAMP", - "AGRFLAGS", - "SNCSYSACL", - "USRACL" - ], - "type": "string", - "example": "AbapAuditLog", - "x-ms-enum": { - "name": "LogType", - "modelAsString": true, - "values": [ - { - "value": "AbapAuditLog" - }, - { - "value": "AbapJobLog" - }, - { - "value": "AbapSpoolLog" - }, - { - "value": "AbapSpoolOutputLog" - }, - { - "value": "AbapChangeDocsLog" - }, - { - "value": "AbapAppLog" - }, - { - "value": "AbapWorkflowLog" - }, - { - "value": "AbapCrLog" - }, - { - "value": "AbapTableDataLog" - }, - { - "value": "AbapFilesLogs" - }, - { - "value": "JavaFilesLogs" - }, - { - "value": "AGRTCODES" - }, - { - "value": "USR01" - }, - { - "value": "USR02" - }, - { - "value": "AGR1251" - }, - { - "value": "AGRUSERS" - }, - { - "value": "AGRPROF" - }, - { - "value": "UST04" - }, - { - "value": "USR21" - }, - { - "value": "ADR6" - }, - { - "value": "ADCP" - }, - { - "value": "USR05" - }, - { - "value": "USGRPUSER" - }, - { - "value": "USERADDR" - }, - { - "value": "DEVACCESS" - }, - { - "value": "AGRDEFINE" - }, - { - "value": "PAHI" - }, - { - "value": "AGRAGRS" - }, - { - "value": "USRSTAMP" - }, - { - "value": "AGRFLAGS" - }, - { - "value": "SNCSYSACL" - }, - { - "value": "USRACL" - } - ] - } - }, - "RfcConnector": { - "description": "Describes the Rfc connector.", - "required": [ - "client", - "systemId", - "systemNumber", - "type" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/SystemsConfigurationConnector" - } - ], - "properties": { - "abapServerHost": { - "description": "FQDN, hostname, or IP address of the ABAP server.", - "type": "string" - }, - "messageServerHost": { - "description": "FQDN, hostname, or IP address of the Message server.", - "type": "string" - }, - "group": { - "description": "Logon group of the message server.", - "type": "string" - }, - "messageServerService": { - "description": "Port number, or service name (from /etc/services) of the message server.", - "type": "string" - }, - "sncQop": { - "description": "SNC QOP.\r\nOptions are 1, 2, 3, 8, 9.", - "pattern": "^[1,2,3,8,9]$", - "type": "string" - }, - "codePage": { - "description": "The SAP code page used for character encoding.\r\nExample - 1100", - "pattern": "^(?:[a-zA-Z0-9]{4}|UTF-8)$", - "type": "string" - }, - "systemNumber": { - "description": "System number of the ABAP server.", - "minLength": 1, - "pattern": "^\\d{1,3}$", - "type": "string" - }, - "systemId": { - "description": "System ID of the ABAP server.\r\nExample - A4H", - "minLength": 1, - "pattern": "^[a-zA-Z0-9]{3}$", - "type": "string" - }, - "client": { - "description": "Client number of the ABAP server.\r\nExample - 001", - "minLength": 1, - "pattern": "^[0-9]{3}$", - "type": "string" - }, - "authenticationType": { - "description": "The authentication type to SAP.", - "$ref": "#/definitions/SapAuthenticationType" - }, - "type": { - "$ref": "#/definitions/SystemConfigurationConnectorType" - } - }, - "x-ms-discriminator-value": "Rfc" - }, - "SapControlConnector": { - "description": "Describes the SapControl connector configuration.", - "required": [ - "instance", - "server", - "type" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/SystemsConfigurationConnector" - } - ], - "properties": { - "server": { - "description": "The server name.\r\nFQDN or IP address.", - "minLength": 1, - "pattern": "^([a-zA-Z0-9]+(-[a-zA-Z0-9]+)*\\.)+[a-zA-Z]{2,}$|^\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}$", - "type": "string" - }, - "instance": { - "description": "The instance number. Only 2 digits are allowed.", - "minLength": 1, - "pattern": "^\\d{2}$", - "type": "string" - }, - "timezone": { - "description": "The timezone.\r\nexample: \"GMT+0\" or \"GMT-8\"\r\ndefault: \"GMT+0\"", - "default": "GMT+0", - "pattern": "^GMT[+-]\\d+$", - "type": "string" - }, - "port": { - "description": "The port of the SOAP connection to SAP Control.", - "pattern": "^\\d{1,5}$", - "type": "string" - }, - "httpsConfiguration": { - "$ref": "#/definitions/HttpsConfigurationType" - }, - "type": { - "$ref": "#/definitions/SystemConfigurationConnectorType" - } - }, - "x-ms-discriminator-value": "SapControl" - }, - "SapSystemsConfiguration": { - "description": "Describes the SAP configuration.", - "required": [ - "connector", - "type" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/SystemsConfiguration" - } - ], - "properties": { - "azureResourceId": { - "description": "azure resource id\r\nexample: \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM\"", - "pattern": "^\\/?subscriptions\\/([^\\/]+)\\/resourceGroups\\/([^\\/]+)\\/providers\\/([^\\/]+)\\/([^\\/]+)\\/([^\\/]+)$", - "type": "string" - }, - "connector": { - "$ref": "#/definitions/SystemsConfigurationConnector" - }, - "logs": { - "description": "The logs configuration.", - "type": "array", - "x-ms-identifiers": [], - "items": { - "$ref": "#/definitions/Log" - } - }, - "type": { - "$ref": "#/definitions/ConfigurationType" - } - }, - "x-ms-discriminator-value": "SAP" - }, - "SystemResource": { - "description": "Describes the system within the agent.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../common/2.0/types.json#/definitions/ResourceWithEtag" - } - ], - "properties": { - "properties": { - "type": "object", - "$ref": "#/definitions/SystemProperties", - "x-ms-client-flatten": true - } - } - }, - "SystemConfigurationConnectorType": { - "description": "Represents the types of SAP systems.", - "enum": [ - "Rfc", - "SapControl" - ], - "type": "string", - "example": "Rfc", - "x-ms-enum": { - "name": "SystemConfigurationConnectorType", - "modelAsString": true, - "values": [ - { - "value": "Rfc" - }, - { - "value": "SapControl" - } - ] - } - }, - "SystemProperties": { - "description": "The properties of the system.", - "required": [ - "configuration", - "displayName" - ], - "type": "object", - "properties": { - "status": { - "$ref": "#/definitions/SystemStatusType" - }, - "configuration": { - "$ref": "#/definitions/SystemsConfiguration" - }, - "displayName": { - "minLength": 1, - "type": "string" - }, - "lastModifiedTimeUtc": { - "format": "date-time", - "type": "string", - "readOnly": true - } - } - }, - "SystemStatusType": { - "description": "The status of the system.", - "enum": [ - "Running", - "Stopped" - ], - "type": "string", - "example": "Running", - "x-ms-enum": { - "name": "SystemStatusType", - "modelAsString": true, - "values": [ - { - "value": "Running" - }, - { - "value": "Stopped" - } - ] - } - }, - "SystemsConfiguration": { - "description": "The configuration of the system.", - "required": [ - "type" - ], - "type": "object", - "properties": { - "type": { - "$ref": "#/definitions/ConfigurationType" - } - }, - "discriminator": "type" - }, - "SystemsConfigurationConnector": { - "description": "Base Model for SAP System Connector.", - "required": [ - "type" - ], - "type": "object", - "properties": { - "type": { - "$ref": "#/definitions/SystemConfigurationConnectorType" - } - }, - "discriminator": "type" - }, - "SystemsList": { - "description": "List of Agent's Systems.", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/SystemResource" - } - }, - "nextLink": { - "type": "string" - } - } - } - }, - "parameters": { - "BusinessApplicationAgentResource": { - "name": "businessApplicationAgentResource", - "description": "The Business Application Agent Resource", - "required": true, - "in": "body", - "x-ms-parameter-location": "method", - "schema": { - "$ref": "#/definitions/BusinessApplicationAgentResource" - } - }, - "BusinessApplicationAgentId": { - "in": "path", - "name": "businessApplicationAgentId", - "description": "BusinessApplicationAgent ID", - "required": true, - "x-ms-parameter-location": "method", - "type": "string" - }, - "SystemResource": { - "name": "systemResource", - "description": "The system resource", - "required": true, - "in": "body", - "x-ms-parameter-location": "method", - "schema": { - "$ref": "#/definitions/SystemResource" - } - }, - "SystemId": { - "in": "path", - "name": "systemId", - "description": "System ID", - "required": true, - "x-ms-parameter-location": "method", - "type": "string" - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - }, - "description": "Azure Active Directory OAuth2 Flow" - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "tags": [ - { - "name": "BusinessApplicationAgents", - "description": "Controller that handles requests forwarded from ASI RP for agents resources CRUD ARM APIs." - }, - { - "name": "Systems", - "description": "Controller that handles requests forwarded from ASI RP for systems resources CRUD ARM APIs." - } - ], - "host": "management.azure.com", - "schemes": [ - "https" - ], - "produces": [ - "application/json" - ], - "consumes": [ - "application/json" - ] -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/BusinessApplicationAgent_Get.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/BusinessApplicationAgent_Get.json deleted file mode 100644 index 4820d0e26961..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/BusinessApplicationAgent_Get.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "parameters": { - "api-version": "2025-07-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "name": "73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents", - "properties": { - "configuration": { - "agentContainerName": "MyAgentContainer", - "sdkPath": "/path/to/nwrfc750P_8-70002755.zip", - "sncPath": "/path/to/snc", - "keyVaultResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.KeyVault/vaults/myVault", - "keyVaultAuthenticationMode": "ManagedIdentity", - "secretSource": "AzureKeyVault", - "type": "SAP" - }, - "agentSystems": [ - { - "systemResourceName": "3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "systemDisplayName": "MySystem" - } - ], - "displayName": "MyAgent", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_CreateOrUpdate.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_CreateOrUpdate.json deleted file mode 100644 index f94b2bd3a42e..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_CreateOrUpdate.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "parameters": { - "api-version": "2025-07-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a", - "businessApplicationAgentToUpsert": { - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "properties": { - "configuration": { - "agentContainerName": "MyAgentContainer", - "sdkPath": "/path/to/nwrfc750P_8-70002755.zip", - "sncPath": "/path/to/snc", - "keyVaultResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.KeyVault/vaults/myVault", - "keyVaultAuthenticationMode": "ManagedIdentity", - "secretSource": "AzureKeyVault", - "type": "SAP" - }, - "displayName": "MyAgent" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "name": "73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents", - "properties": { - "configuration": { - "agentContainerName": "MyAgentContainer", - "sdkPath": "/path/to/nwrfc750P_8-70002755.zip", - "sncPath": "/path/to/snc", - "keyVaultResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.KeyVault/vaults/myVault", - "keyVaultAuthenticationMode": "ManagedIdentity", - "secretSource": "AzureKeyVault", - "type": "SAP" - }, - "displayName": "MyAgent", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "name": "73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents", - "properties": { - "configuration": { - "agentContainerName": "MyAgentContainer", - "sdkPath": "/path/to/nwrfc750P_8-70002755.zip", - "sncPath": "/path/to/snc", - "keyVaultResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.KeyVault/vaults/myVault", - "keyVaultAuthenticationMode": "ManagedIdentity", - "secretSource": "AzureKeyVault", - "type": "SAP" - }, - "displayName": "MyAgent", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_Delete.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_Delete.json deleted file mode 100644 index 9c444eaa77f8..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_Delete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "api-version": "2025-07-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_List.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_List.json deleted file mode 100644 index 525b2f9cdac5..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_List.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "parameters": { - "api-version": "2025-07-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "name": "73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents", - "properties": { - "configuration": { - "agentContainerName": "MyAgentContainer", - "sdkPath": "/path/to/nwrfc750P_8-70002755.zip", - "sncPath": "/path/to/snc", - "keyVaultResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.KeyVault/vaults/myVault", - "keyVaultAuthenticationMode": "ManagedIdentity", - "secretSource": "AzureKeyVault", - "type": "SAP" - }, - "agentSystems": [ - { - "systemResourceName": "3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "systemDisplayName": "MySystem" - } - ], - "displayName": "MyAgent", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - ] - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/actions/ListActions.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/actions/ListActions.json deleted file mode 100644 index d9de975131e3..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/actions/ListActions.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "parameters": { - "api-version": "2025-07-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "247b377a-7137-4b3c-bf15-df1d3260ef1b", - "systemResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "kind": "UnlockUser", - "actionId": "e85000a3-de69-41a4-b347-c6b823e6ec79", - "status": "Pending", - "user": "someuser@someorg.com", - "lastModifiedTimeUtc": "2023-07-01T00:00:00Z" - }, - { - "kind": "LockUser", - "actionId": "56b70fa0-9afd-4916-9ab9-e79de3e24add", - "status": "Pending", - "user": "someuser1@someorg.com", - "lastModifiedTimeUtc": "2024-02-01T00:00:00Z" - }, - { - "kind": "LockUser", - "actionId": "56b70fa0-9afd-4916-9ab9-e79de3e24add", - "status": "Failed", - "user": "someuser1@someorg.com", - "lastModifiedTimeUtc": "2024-02-01T00:00:00Z", - "failureReason": "Some reason for failure" - } - ] - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/actions/ReportActionStatus.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/actions/ReportActionStatus.json deleted file mode 100644 index 595f9e65894d..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/actions/ReportActionStatus.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "api-version": "2025-07-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "247b377a-7137-4b3c-bf15-df1d3260ef1b", - "systemResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a", - "ReportActionStatusPayload": { - "actionId": "81f5d153-4c26-4c64-829a-06df62d1ddc5", - "actionStatus": "Completed", - "failureReason": "Failed to execute the action" - } - }, - "responses": { - "204": {} - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/actions/UndoAction.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/actions/UndoAction.json deleted file mode 100644 index 75901fe5c84c..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/actions/UndoAction.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "api-version": "2025-07-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "247b377a-7137-4b3c-bf15-df1d3260ef1b", - "systemResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a", - "UndoActionPayload": { - "actionId": "e85000a3-de69-41a4-b347-c6b823e6ec79" - } - }, - "responses": { - "204": {} - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/systems/Systems_CreateOrUpdate.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/systems/Systems_CreateOrUpdate.json deleted file mode 100644 index 6dc8b5d4c4cc..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/systems/Systems_CreateOrUpdate.json +++ /dev/null @@ -1,153 +0,0 @@ -{ - "parameters": { - "api-version": "2025-07-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "systemResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a", - "agentResourceName": "3123432b-0b60-4af3-8720-77f01a25d34a", - "systemToUpsert": { - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "properties": { - "status": "Running", - "configuration": { - "azureResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace", - "connector": { - "abapServerHost": "1.1.1.1", - "systemNumber": "001", - "systemId": "A4H", - "client": "001", - "authenticationType": "UsernamePassword", - "type": "Rfc" - }, - "logs": [ - { - "type": "AbapAuditLog", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - }, - { - "type": "USR01", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - } - ], - "type": "SAP" - }, - "displayName": "A4H_System" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5/systems/3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "name": "3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents/systems", - "properties": { - "status": "Running", - "configuration": { - "azureResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace", - "connector": { - "abapServerHost": "1.1.1.1", - "systemNumber": "001", - "systemId": "A4H", - "client": "001", - "authenticationType": "UsernamePassword", - "type": "Rfc" - }, - "logs": [ - { - "type": "AbapAuditLog", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - }, - { - "type": "USR01", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - } - ], - "type": "SAP" - }, - "displayName": "A4H_System", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5/systems/3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "name": "3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents/systems", - "properties": { - "status": "Running", - "configuration": { - "azureResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace", - "connector": { - "abapServerHost": "1.1.1.1", - "systemNumber": "001", - "systemId": "A4H", - "client": "001", - "authenticationType": "UsernamePassword", - "type": "Rfc" - }, - "logs": [ - { - "type": "AbapAuditLog", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - }, - { - "type": "USR01", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - } - ], - "type": "SAP" - }, - "displayName": "A4H_System", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/systems/Systems_Delete.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/systems/Systems_Delete.json deleted file mode 100644 index f480abbd5e00..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/systems/Systems_Delete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "api-version": "2025-07-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "systemResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a", - "agentResourceName": "3123432b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/systems/Systems_Get.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/systems/Systems_Get.json deleted file mode 100644 index a81f7727b671..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/systems/Systems_Get.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "parameters": { - "api-version": "2025-07-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "systemResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a", - "agentResourceName": "3123432b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5/systems/3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "name": "3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents/systems", - "properties": { - "status": "Running", - "configuration": { - "azureResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace", - "connector": { - "abapServerHost": "1.1.1.1", - "systemNumber": "001", - "systemId": "A4H", - "client": "001", - "authenticationType": "UsernamePassword", - "type": "Rfc" - }, - "logs": [ - { - "type": "AbapAuditLog", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - }, - { - "type": "USR01", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - } - ], - "type": "SAP" - }, - "displayName": "A4H_System", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/systems/Systems_List.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/systems/Systems_List.json deleted file mode 100644 index f7a94a1b9db5..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-07-01-preview/examples/businessApplicationAgents/systems/Systems_List.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "parameters": { - "api-version": "2025-07-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "3123432b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5/systems/3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "name": "3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents/systems", - "properties": { - "status": "Running", - "configuration": { - "azureResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace", - "connector": { - "abapServerHost": "1.1.1.1", - "systemNumber": "001", - "systemId": "A4H", - "client": "001", - "authenticationType": "UsernamePassword", - "type": "Rfc" - }, - "logs": [ - { - "type": "AbapAuditLog", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - }, - { - "type": "USR01", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - } - ], - "type": "SAP" - }, - "displayName": "A4H_System", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - ] - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/BusinessApplicationAgents.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/BusinessApplicationAgents.json deleted file mode 100644 index 8cfe6d9a3a17..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/BusinessApplicationAgents.json +++ /dev/null @@ -1,1691 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Security Insights", - "description": "API spec for Microsoft.SecurityInsights (Azure Security Insights) resource provider", - "version": "2025-10-01-preview" - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents/{agentResourceName}": { - "put": { - "tags": [ - "businessApplicationAgents" - ], - "description": "Creates or updates the Business Application Agent.", - "operationId": "BusinessApplicationAgents_CreateOrUpdate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "agentToUpsert", - "description": "The Business Application Agent", - "schema": { - "$ref": "#/definitions/BusinessApplicationAgentResource" - } - } - ], - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/BusinessApplicationAgentResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/BusinessApplicationAgentResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "BusinessApplicationAgents_CreateOrUpdate": { - "$ref": "./examples/businessApplicationAgents/BusinessApplicationAgents_CreateOrUpdate.json" - } - } - }, - "get": { - "tags": [ - "businessApplicationAgents" - ], - "description": "Gets Business Application Agent.", - "operationId": "BusinessApplicationAgent_Get", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/BusinessApplicationAgentResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "BusinessApplicationAgent_Get": { - "$ref": "./examples/businessApplicationAgents/BusinessApplicationAgent_Get.json" - } - } - }, - "delete": { - "tags": [ - "businessApplicationAgents" - ], - "description": "Delete the Business Application Agent.", - "operationId": "BusinessApplicationAgents_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Ok" - }, - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "BusinessApplicationAgents_Delete": { - "$ref": "./examples/businessApplicationAgents/BusinessApplicationAgents_Delete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents": { - "get": { - "tags": [ - "businessApplicationAgents" - ], - "description": "Gets all Business Application Agents under the workspace.", - "operationId": "BusinessApplicationAgents_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/ODataFilter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/ODataSkipToken" - } - ], - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/BusinessApplicationAgentsList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "BusinessApplicationAgents_List": { - "$ref": "./examples/businessApplicationAgents/BusinessApplicationAgents_List.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents/{agentResourceName}/systems/{systemResourceName}": { - "put": { - "tags": [ - "systems" - ], - "description": "Creates or updates the system.", - "operationId": "Systems_CreateOrUpdate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "path", - "name": "systemResourceName", - "description": "The name of the system.", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "systemToUpsert", - "description": "The system to upsert.", - "schema": { - "$ref": "#/definitions/SystemResource" - } - } - ], - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/SystemResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/SystemResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Systems_CreateOrUpdate": { - "$ref": "./examples/businessApplicationAgents/systems/Systems_CreateOrUpdate.json" - } - } - }, - "get": { - "tags": [ - "systems" - ], - "description": "Gets the system.", - "operationId": "Systems_Get", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "path", - "name": "systemResourceName", - "description": "The name of the system.", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/SystemResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Systems_Get": { - "$ref": "./examples/businessApplicationAgents/systems/Systems_Get.json" - } - } - }, - "delete": { - "tags": [ - "systems" - ], - "description": "Deletes the system.", - "operationId": "Systems_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "path", - "name": "systemResourceName", - "description": "The name of the system.", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Ok" - }, - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Systems_Delete": { - "$ref": "./examples/businessApplicationAgents/systems/Systems_Delete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents/{agentResourceName}/systems": { - "get": { - "tags": [ - "systems" - ], - "description": "ListAll the systems.", - "operationId": "Systems_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/ODataFilter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/ODataSkipToken" - } - ], - "responses": { - "200": { - "description": "Ok", - "schema": { - "$ref": "#/definitions/SystemsList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Systems_List": { - "$ref": "./examples/businessApplicationAgents/systems/Systems_List.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents/{agentResourceName}/systems/{systemResourceName}/listActions": { - "post": { - "tags": [ - "SystemsActions" - ], - "operationId": "Systems_ListActions", - "description": "List of actions for a business application system.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "path", - "name": "systemResourceName", - "description": "The name of the system.", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - } - ], - "responses": { - "200": { - "description": "List actions for a business application system", - "schema": { - "$ref": "#/definitions/ListActionsResponse" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "ListActions": { - "$ref": "./examples/businessApplicationAgents/actions/ListActions.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents/{agentResourceName}/systems/{systemResourceName}/undoAction": { - "post": { - "tags": [ - "SystemsActions" - ], - "operationId": "Systems_UndoAction", - "description": "Undo action, based on the actionId.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "path", - "name": "systemResourceName", - "description": "The name of the system.", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "body", - "description": "Undo action, based on the actionId.", - "name": "payload", - "schema": { - "$ref": "#/definitions/UndoActionPayload" - } - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "UndoAction": { - "$ref": "./examples/businessApplicationAgents/actions/UndoAction.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents/{agentResourceName}/systems/{systemResourceName}/reportActionStatus": { - "post": { - "tags": [ - "SystemsActions" - ], - "operationId": "Systems_ReportActionStatus", - "description": "Report the status of the action.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" - }, - { - "in": "path", - "name": "agentResourceName", - "description": "Business Application Agent Name", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "path", - "name": "systemResourceName", - "description": "The name of the system.", - "required": true, - "type": "string", - "pattern": "^[a-z0-9,-]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "in": "body", - "name": "payload", - "description": "Report a status of the action that was performed by the agent", - "schema": { - "$ref": "#/definitions/ReportActionStatusPayload" - } - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/2.0/types.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "ReportActionStatus": { - "$ref": "./examples/businessApplicationAgents/actions/ReportActionStatus.json" - } - } - } - } - }, - "definitions": { - "BusinessApplicationAgentResource": { - "description": "Describes the configuration of a Business Application Agent.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../common/2.0/types.json#/definitions/ResourceWithEtag" - } - ], - "properties": { - "properties": { - "type": "object", - "$ref": "#/definitions/AgentProperties", - "x-ms-client-flatten": true - } - } - }, - "AgentConfiguration": { - "description": "Describes the configuration of a Business Application Agent.", - "required": [ - "type" - ], - "type": "object", - "properties": { - "type": { - "$ref": "#/definitions/AgentType" - } - }, - "discriminator": "type" - }, - "AgentProperties": { - "required": [ - "configuration", - "displayName" - ], - "type": "object", - "properties": { - "configuration": { - "$ref": "#/definitions/AgentConfiguration" - }, - "agentSystems": { - "type": "array", - "items": { - "$ref": "#/definitions/AgentSystem" - }, - "readOnly": true - }, - "displayName": { - "minLength": 1, - "type": "string" - }, - "lastModifiedTimeUtc": { - "format": "date-time", - "type": "string", - "readOnly": true - } - } - }, - "AgentSystem": { - "description": "Describes the configuration of a system inside the agent.", - "type": "object", - "properties": { - "systemResourceName": { - "type": "string" - }, - "systemDisplayName": { - "type": "string" - } - } - }, - "AgentType": { - "description": "Type of the agent", - "enum": [ - "SAP" - ], - "type": "string", - "example": "SAP", - "x-ms-enum": { - "name": "AgentType", - "modelAsString": true, - "values": [ - { - "value": "SAP" - } - ] - } - }, - "BusinessApplicationAgentsList": { - "description": "List of agents.", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/BusinessApplicationAgentResource" - } - }, - "nextLink": { - "type": "string" - } - } - }, - "KeyVaultAuthenticationMode": { - "description": "Type for authentication identity to key vault", - "enum": [ - "ManagedIdentity", - "ServicePrincipal" - ], - "type": "string", - "example": "ManagedIdentity", - "x-ms-enum": { - "name": "KeyVaultAuthenticationMode", - "modelAsString": true, - "values": [ - { - "value": "ManagedIdentity" - }, - { - "value": "ServicePrincipal" - } - ] - } - }, - "SapAgentConfiguration": { - "description": "Describes the configuration of a SAP Docker agent.", - "required": [ - "type" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AgentConfiguration" - } - ], - "properties": { - "agentContainerName": { - "description": "The name of the docker agent.\r\nonly letters with numbers, underscores and hyphens are allowed\r\nexample: \"my-agent\"", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$", - "type": "string" - }, - "sdkPath": { - "description": "The SDK path (a file not a folder) on the agent machine.\r\nexample: \"/path/to/nwrfc750P_8-70002755.zip\"", - "pattern": "^/(([^/]+/)*nwrfc75.*\\.zip$)|^((?:[a-zA-Z]:)?(?:\\\\|\\\\\\\\)(?:[^\\\\/:*?\"<>|\\r\\n]+\\\\)*nwrfc75.*\\.zip)$", - "type": "string" - }, - "sncPath": { - "description": "The SNC path (a folder not a file) on the agent machine.\r\nexample: \"/path/to/snc\"", - "pattern": "^\\/(?:[^/]+\\/)*[^/]+$|^(?:[a-zA-Z]:)?(?:\\\\|\\\\\\\\)(?:[^\\\\/:*?\"<>|\\r\\n]+\\\\)*[^\\\\/:*?\"<>|\\r\\n]*$", - "type": "string" - }, - "keyVaultResourceId": { - "description": "The key vault resource id to access the key vault.\r\nexample: \"/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.KeyVault/vaults/myVault\"", - "pattern": "^\\/?subscriptions\\/([^\\/]+)\\/resourceGroups\\/([^\\/]+)\\/providers\\/Microsoft\\.KeyVault\\/vaults\\/([^\\/]+)$", - "type": "string" - }, - "keyVaultAuthenticationMode": { - "description": "The key mode of the agent.\r\nManagedIdentity|ApplicationIdentity are the options", - "$ref": "#/definitions/KeyVaultAuthenticationMode" - }, - "secretSource": { - "description": "The secret source of the agent.\r\nAzureKeyVault is the option", - "$ref": "#/definitions/SecretSource" - }, - "type": { - "$ref": "#/definitions/AgentType" - } - }, - "x-ms-discriminator-value": "SAP" - }, - "SecretSource": { - "description": "Type for Secret Source - Azure Key Vault", - "enum": [ - "AzureKeyVault" - ], - "type": "string", - "example": "AzureKeyVault", - "x-ms-enum": { - "name": "SecretSource", - "modelAsString": true, - "values": [ - { - "value": "AzureKeyVault" - } - ] - } - }, - "ListActionsResponse": { - "description": "List all actions for a system to perform.", - "properties": { - "value": { - "description": "Array of actions.", - "items": { - "$ref": "#/definitions/Action" - }, - "x-ms-identifiers": [], - "type": "array" - }, - "nextLink": { - "description": "The link to fetch the next page of actions.", - "type": "string" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "Action": { - "description": "Represents an action to perform on a specific system.", - "discriminator": "kind", - "required": [ - "kind" - ], - "properties": { - "kind": { - "$ref": "#/definitions/ListActionKind", - "description": "The actions kind" - } - }, - "type": "object" - }, - "ListActionKind": { - "description": "The kind of the action", - "enum": [ - "LockUser", - "UnlockUser" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "ListActionKind", - "values": [ - { - "value": "LockUser" - }, - { - "value": "UnlockUser" - } - ] - } - }, - "LockUserAction": { - "allOf": [ - { - "$ref": "#/definitions/Action" - } - ], - "description": "Represents lock user action.", - "properties": { - "user": { - "type": "string", - "description": "The user to lock" - }, - "failureReason": { - "type": "string", - "description": "The reason of the failure of the action. Empty if the action is successful." - } - }, - "type": "object", - "x-ms-discriminator-value": "LockUser" - }, - "UnlockUserAction": { - "allOf": [ - { - "$ref": "#/definitions/Action" - } - ], - "description": "Represents an unlock user action.", - "properties": { - "user": { - "type": "string", - "description": "The user to unlock" - }, - "failureReason": { - "type": "string", - "description": "The reason of the failure of the action. Empty if the action is successful." - } - }, - "type": "object", - "x-ms-discriminator-value": "UnlockUser" - }, - "UndoActionPayload": { - "description": "Represents the undo action.", - "properties": { - "actionId": { - "type": "string", - "description": "The action ID of the original action that was performed and now need to undo" - } - }, - "type": "object" - }, - "ReportActionStatusPayload": { - "description": "Report the status of an action that was performed by the agent", - "type": "object", - "properties": { - "actionId": { - "type": "string", - "description": "The action ID to perform" - }, - "actionStatus": { - "description": "The status of the action that was performed by the agent", - "type": "string" - }, - "failureReason": { - "description": "The reason of the failure of the action. Empty if the action is successful.", - "type": "string" - } - } - }, - "ActionStatus": { - "description": "The status of the action that was performed by the agent", - "enum": [ - "Pending", - "Completed", - "Failed" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "ActionStatus", - "values": [ - { - "value": "Pending", - "description": "Actions is pending" - }, - { - "value": "Completed", - "description": "The action is completed successfully." - }, - { - "value": "Failed", - "description": "The action failed." - } - ] - } - }, - "SapAuthenticationType": { - "description": "Types of authentication to SAP.", - "enum": [ - "UsernamePassword", - "Snc", - "SncWithUsernamePassword" - ], - "type": "string", - "example": "UsernamePassword", - "x-ms-enum": { - "name": "SapAuthenticationType", - "modelAsString": true, - "values": [ - { - "value": "UsernamePassword" - }, - { - "value": "Snc" - }, - { - "value": "SncWithUsernamePassword" - } - ] - } - }, - "ConfigurationType": { - "description": "Represents the types of configuration for a system.", - "enum": [ - "SAP" - ], - "type": "string", - "example": "SAP", - "x-ms-enum": { - "name": "ConfigurationType", - "modelAsString": true, - "values": [ - { - "value": "SAP" - } - ] - } - }, - "HttpsConfigurationType": { - "description": "Represents the types of HTTPS configuration to connect to the SapControl service.", - "enum": [ - "HttpOnly", - "HttpsWithSslVerification", - "HttpsWithoutSslVerification" - ], - "type": "string", - "example": "HttpOnly", - "x-ms-enum": { - "name": "HttpsConfigurationType", - "modelAsString": true, - "values": [ - { - "value": "HttpOnly" - }, - { - "value": "HttpsWithSslVerification" - }, - { - "value": "HttpsWithoutSslVerification" - } - ] - } - }, - "IngestionType": { - "description": "Types of ingestion.", - "enum": [ - "Full", - "Incremental" - ], - "type": "string", - "example": "Full", - "x-ms-enum": { - "name": "IngestionType", - "modelAsString": true, - "values": [ - { - "value": "Full" - }, - { - "value": "Incremental" - } - ] - } - }, - "Log": { - "description": "Describes a log.", - "required": [ - "type" - ], - "type": "object", - "properties": { - "type": { - "$ref": "#/definitions/LogType" - }, - "ingestionType": { - "$ref": "#/definitions/IngestionType" - }, - "status": { - "$ref": "#/definitions/LogStatusType" - }, - "scheduleInterval": { - "format": "int32", - "description": "The schedule interval in seconds.", - "type": "integer" - }, - "bulkSize": { - "format": "int32", - "description": "The bulk size for the log.", - "type": "integer" - }, - "filters": { - "description": "The filters for the log.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "LogStatusType": { - "description": "Types of log status.", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "example": "Enabled", - "x-ms-enum": { - "name": "LogStatusType", - "modelAsString": true, - "values": [ - { - "value": "Enabled" - }, - { - "value": "Disabled" - } - ] - } - }, - "LogType": { - "description": "Types of logs and tables.", - "enum": [ - "AbapAuditLog", - "AbapJobLog", - "AbapSpoolLog", - "AbapSpoolOutputLog", - "AbapChangeDocsLog", - "AbapAppLog", - "AbapWorkflowLog", - "AbapCrLog", - "AbapTableDataLog", - "AbapFilesLogs", - "JavaFilesLogs", - "AGRTCODES", - "USR01", - "USR02", - "AGR1251", - "AGRUSERS", - "AGRPROF", - "UST04", - "USR21", - "ADR6", - "ADCP", - "USR05", - "USGRPUSER", - "USERADDR", - "DEVACCESS", - "AGRDEFINE", - "PAHI", - "AGRAGRS", - "USRSTAMP", - "AGRFLAGS", - "SNCSYSACL", - "USRACL" - ], - "type": "string", - "example": "AbapAuditLog", - "x-ms-enum": { - "name": "LogType", - "modelAsString": true, - "values": [ - { - "value": "AbapAuditLog" - }, - { - "value": "AbapJobLog" - }, - { - "value": "AbapSpoolLog" - }, - { - "value": "AbapSpoolOutputLog" - }, - { - "value": "AbapChangeDocsLog" - }, - { - "value": "AbapAppLog" - }, - { - "value": "AbapWorkflowLog" - }, - { - "value": "AbapCrLog" - }, - { - "value": "AbapTableDataLog" - }, - { - "value": "AbapFilesLogs" - }, - { - "value": "JavaFilesLogs" - }, - { - "value": "AGRTCODES" - }, - { - "value": "USR01" - }, - { - "value": "USR02" - }, - { - "value": "AGR1251" - }, - { - "value": "AGRUSERS" - }, - { - "value": "AGRPROF" - }, - { - "value": "UST04" - }, - { - "value": "USR21" - }, - { - "value": "ADR6" - }, - { - "value": "ADCP" - }, - { - "value": "USR05" - }, - { - "value": "USGRPUSER" - }, - { - "value": "USERADDR" - }, - { - "value": "DEVACCESS" - }, - { - "value": "AGRDEFINE" - }, - { - "value": "PAHI" - }, - { - "value": "AGRAGRS" - }, - { - "value": "USRSTAMP" - }, - { - "value": "AGRFLAGS" - }, - { - "value": "SNCSYSACL" - }, - { - "value": "USRACL" - } - ] - } - }, - "RfcConnector": { - "description": "Describes the Rfc connector.", - "required": [ - "client", - "systemId", - "systemNumber", - "type" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/SystemsConfigurationConnector" - } - ], - "properties": { - "abapServerHost": { - "description": "FQDN, hostname, or IP address of the ABAP server.", - "type": "string" - }, - "messageServerHost": { - "description": "FQDN, hostname, or IP address of the Message server.", - "type": "string" - }, - "group": { - "description": "Logon group of the message server.", - "type": "string" - }, - "messageServerService": { - "description": "Port number, or service name (from /etc/services) of the message server.", - "type": "string" - }, - "sncQop": { - "description": "SNC QOP.\r\nOptions are 1, 2, 3, 8, 9.", - "pattern": "^[1,2,3,8,9]$", - "type": "string" - }, - "codePage": { - "description": "The SAP code page used for character encoding.\r\nExample - 1100", - "pattern": "^(?:[a-zA-Z0-9]{4}|UTF-8)$", - "type": "string" - }, - "systemNumber": { - "description": "System number of the ABAP server.", - "minLength": 1, - "pattern": "^\\d{1,3}$", - "type": "string" - }, - "systemId": { - "description": "System ID of the ABAP server.\r\nExample - A4H", - "minLength": 1, - "pattern": "^[a-zA-Z0-9]{3}$", - "type": "string" - }, - "client": { - "description": "Client number of the ABAP server.\r\nExample - 001", - "minLength": 1, - "pattern": "^[0-9]{3}$", - "type": "string" - }, - "authenticationType": { - "description": "The authentication type to SAP.", - "$ref": "#/definitions/SapAuthenticationType" - }, - "type": { - "$ref": "#/definitions/SystemConfigurationConnectorType" - } - }, - "x-ms-discriminator-value": "Rfc" - }, - "SapControlConnector": { - "description": "Describes the SapControl connector configuration.", - "required": [ - "instance", - "server", - "type" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/SystemsConfigurationConnector" - } - ], - "properties": { - "server": { - "description": "The server name.\r\nFQDN or IP address.", - "minLength": 1, - "pattern": "^([a-zA-Z0-9]+(-[a-zA-Z0-9]+)*\\.)+[a-zA-Z]{2,}$|^\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}$", - "type": "string" - }, - "instance": { - "description": "The instance number. Only 2 digits are allowed.", - "minLength": 1, - "pattern": "^\\d{2}$", - "type": "string" - }, - "timezone": { - "description": "The timezone.\r\nexample: \"GMT+0\" or \"GMT-8\"\r\ndefault: \"GMT+0\"", - "default": "GMT+0", - "pattern": "^GMT[+-]\\d+$", - "type": "string" - }, - "port": { - "description": "The port of the SOAP connection to SAP Control.", - "pattern": "^\\d{1,5}$", - "type": "string" - }, - "httpsConfiguration": { - "$ref": "#/definitions/HttpsConfigurationType" - }, - "type": { - "$ref": "#/definitions/SystemConfigurationConnectorType" - } - }, - "x-ms-discriminator-value": "SapControl" - }, - "SapSystemsConfiguration": { - "description": "Describes the SAP configuration.", - "required": [ - "connector", - "type" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/SystemsConfiguration" - } - ], - "properties": { - "azureResourceId": { - "description": "azure resource id\r\nexample: \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM\"", - "pattern": "^\\/?subscriptions\\/([^\\/]+)\\/resourceGroups\\/([^\\/]+)\\/providers\\/([^\\/]+)\\/([^\\/]+)\\/([^\\/]+)$", - "type": "string" - }, - "connector": { - "$ref": "#/definitions/SystemsConfigurationConnector" - }, - "logs": { - "description": "The logs configuration.", - "type": "array", - "x-ms-identifiers": [], - "items": { - "$ref": "#/definitions/Log" - } - }, - "type": { - "$ref": "#/definitions/ConfigurationType" - } - }, - "x-ms-discriminator-value": "SAP" - }, - "SystemResource": { - "description": "Describes the system within the agent.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../common/2.0/types.json#/definitions/ResourceWithEtag" - } - ], - "properties": { - "properties": { - "type": "object", - "$ref": "#/definitions/SystemProperties", - "x-ms-client-flatten": true - } - } - }, - "SystemConfigurationConnectorType": { - "description": "Represents the types of SAP systems.", - "enum": [ - "Rfc", - "SapControl" - ], - "type": "string", - "example": "Rfc", - "x-ms-enum": { - "name": "SystemConfigurationConnectorType", - "modelAsString": true, - "values": [ - { - "value": "Rfc" - }, - { - "value": "SapControl" - } - ] - } - }, - "SystemProperties": { - "description": "The properties of the system.", - "required": [ - "configuration", - "displayName" - ], - "type": "object", - "properties": { - "status": { - "$ref": "#/definitions/SystemStatusType" - }, - "configuration": { - "$ref": "#/definitions/SystemsConfiguration" - }, - "displayName": { - "minLength": 1, - "type": "string" - }, - "lastModifiedTimeUtc": { - "format": "date-time", - "type": "string", - "readOnly": true - } - } - }, - "SystemStatusType": { - "description": "The status of the system.", - "enum": [ - "Running", - "Stopped" - ], - "type": "string", - "example": "Running", - "x-ms-enum": { - "name": "SystemStatusType", - "modelAsString": true, - "values": [ - { - "value": "Running" - }, - { - "value": "Stopped" - } - ] - } - }, - "SystemsConfiguration": { - "description": "The configuration of the system.", - "required": [ - "type" - ], - "type": "object", - "properties": { - "type": { - "$ref": "#/definitions/ConfigurationType" - } - }, - "discriminator": "type" - }, - "SystemsConfigurationConnector": { - "description": "Base Model for SAP System Connector.", - "required": [ - "type" - ], - "type": "object", - "properties": { - "type": { - "$ref": "#/definitions/SystemConfigurationConnectorType" - } - }, - "discriminator": "type" - }, - "SystemsList": { - "description": "List of Agent's Systems.", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/SystemResource" - } - }, - "nextLink": { - "type": "string" - } - } - } - }, - "parameters": { - "BusinessApplicationAgentResource": { - "name": "businessApplicationAgentResource", - "description": "The Business Application Agent Resource", - "required": true, - "in": "body", - "x-ms-parameter-location": "method", - "schema": { - "$ref": "#/definitions/BusinessApplicationAgentResource" - } - }, - "BusinessApplicationAgentId": { - "in": "path", - "name": "businessApplicationAgentId", - "description": "BusinessApplicationAgent ID", - "required": true, - "x-ms-parameter-location": "method", - "type": "string" - }, - "SystemResource": { - "name": "systemResource", - "description": "The system resource", - "required": true, - "in": "body", - "x-ms-parameter-location": "method", - "schema": { - "$ref": "#/definitions/SystemResource" - } - }, - "SystemId": { - "in": "path", - "name": "systemId", - "description": "System ID", - "required": true, - "x-ms-parameter-location": "method", - "type": "string" - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - }, - "description": "Azure Active Directory OAuth2 Flow" - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "tags": [ - { - "name": "BusinessApplicationAgents", - "description": "Controller that handles requests forwarded from ASI RP for agents resources CRUD ARM APIs." - }, - { - "name": "Systems", - "description": "Controller that handles requests forwarded from ASI RP for systems resources CRUD ARM APIs." - } - ], - "host": "management.azure.com", - "schemes": [ - "https" - ], - "produces": [ - "application/json" - ], - "consumes": [ - "application/json" - ] -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/BusinessApplicationAgent_Get.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/BusinessApplicationAgent_Get.json deleted file mode 100644 index 16fee1d75a5e..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/BusinessApplicationAgent_Get.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "parameters": { - "api-version": "2025-10-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "name": "73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents", - "properties": { - "configuration": { - "agentContainerName": "MyAgentContainer", - "sdkPath": "/path/to/nwrfc750P_8-70002755.zip", - "sncPath": "/path/to/snc", - "keyVaultResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.KeyVault/vaults/myVault", - "keyVaultAuthenticationMode": "ManagedIdentity", - "secretSource": "AzureKeyVault", - "type": "SAP" - }, - "agentSystems": [ - { - "systemResourceName": "3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "systemDisplayName": "MySystem" - } - ], - "displayName": "MyAgent", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_CreateOrUpdate.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_CreateOrUpdate.json deleted file mode 100644 index e2efca233475..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_CreateOrUpdate.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "parameters": { - "api-version": "2025-10-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a", - "businessApplicationAgentToUpsert": { - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "properties": { - "configuration": { - "agentContainerName": "MyAgentContainer", - "sdkPath": "/path/to/nwrfc750P_8-70002755.zip", - "sncPath": "/path/to/snc", - "keyVaultResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.KeyVault/vaults/myVault", - "keyVaultAuthenticationMode": "ManagedIdentity", - "secretSource": "AzureKeyVault", - "type": "SAP" - }, - "displayName": "MyAgent" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "name": "73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents", - "properties": { - "configuration": { - "agentContainerName": "MyAgentContainer", - "sdkPath": "/path/to/nwrfc750P_8-70002755.zip", - "sncPath": "/path/to/snc", - "keyVaultResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.KeyVault/vaults/myVault", - "keyVaultAuthenticationMode": "ManagedIdentity", - "secretSource": "AzureKeyVault", - "type": "SAP" - }, - "displayName": "MyAgent", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "name": "73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents", - "properties": { - "configuration": { - "agentContainerName": "MyAgentContainer", - "sdkPath": "/path/to/nwrfc750P_8-70002755.zip", - "sncPath": "/path/to/snc", - "keyVaultResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.KeyVault/vaults/myVault", - "keyVaultAuthenticationMode": "ManagedIdentity", - "secretSource": "AzureKeyVault", - "type": "SAP" - }, - "displayName": "MyAgent", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_Delete.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_Delete.json deleted file mode 100644 index 12449058e45e..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_Delete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "api-version": "2025-10-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_List.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_List.json deleted file mode 100644 index b8dc973ffa86..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/BusinessApplicationAgents_List.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "parameters": { - "api-version": "2025-10-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "name": "73e01a99-5cd7-4139-a149-9f2736ff2ab5", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents", - "properties": { - "configuration": { - "agentContainerName": "MyAgentContainer", - "sdkPath": "/path/to/nwrfc750P_8-70002755.zip", - "sncPath": "/path/to/snc", - "keyVaultResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.KeyVault/vaults/myVault", - "keyVaultAuthenticationMode": "ManagedIdentity", - "secretSource": "AzureKeyVault", - "type": "SAP" - }, - "agentSystems": [ - { - "systemResourceName": "3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "systemDisplayName": "MySystem" - } - ], - "displayName": "MyAgent", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - ] - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/actions/ListActions.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/actions/ListActions.json deleted file mode 100644 index 4c430008c760..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/actions/ListActions.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "parameters": { - "api-version": "2025-10-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "247b377a-7137-4b3c-bf15-df1d3260ef1b", - "systemResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "kind": "UnlockUser", - "actionId": "e85000a3-de69-41a4-b347-c6b823e6ec79", - "status": "Pending", - "user": "someuser@someorg.com", - "lastModifiedTimeUtc": "2023-07-01T00:00:00Z" - }, - { - "kind": "LockUser", - "actionId": "56b70fa0-9afd-4916-9ab9-e79de3e24add", - "status": "Pending", - "user": "someuser1@someorg.com", - "lastModifiedTimeUtc": "2024-02-01T00:00:00Z" - }, - { - "kind": "LockUser", - "actionId": "56b70fa0-9afd-4916-9ab9-e79de3e24add", - "status": "Failed", - "user": "someuser1@someorg.com", - "lastModifiedTimeUtc": "2024-02-01T00:00:00Z", - "failureReason": "Some reason for failure" - } - ] - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/actions/ReportActionStatus.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/actions/ReportActionStatus.json deleted file mode 100644 index e07d67aa5156..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/actions/ReportActionStatus.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "api-version": "2025-10-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "247b377a-7137-4b3c-bf15-df1d3260ef1b", - "systemResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a", - "ReportActionStatusPayload": { - "actionId": "81f5d153-4c26-4c64-829a-06df62d1ddc5", - "actionStatus": "Completed", - "failureReason": "Failed to execute the action" - } - }, - "responses": { - "204": {} - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/actions/UndoAction.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/actions/UndoAction.json deleted file mode 100644 index c8ee9a3ceb67..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/actions/UndoAction.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "api-version": "2025-10-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "247b377a-7137-4b3c-bf15-df1d3260ef1b", - "systemResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a", - "UndoActionPayload": { - "actionId": "e85000a3-de69-41a4-b347-c6b823e6ec79" - } - }, - "responses": { - "204": {} - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/systems/Systems_CreateOrUpdate.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/systems/Systems_CreateOrUpdate.json deleted file mode 100644 index 94de5518397f..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/systems/Systems_CreateOrUpdate.json +++ /dev/null @@ -1,153 +0,0 @@ -{ - "parameters": { - "api-version": "2025-10-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "systemResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a", - "agentResourceName": "3123432b-0b60-4af3-8720-77f01a25d34a", - "systemToUpsert": { - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "properties": { - "status": "Running", - "configuration": { - "azureResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace", - "connector": { - "abapServerHost": "1.1.1.1", - "systemNumber": "001", - "systemId": "A4H", - "client": "001", - "authenticationType": "UsernamePassword", - "type": "Rfc" - }, - "logs": [ - { - "type": "AbapAuditLog", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - }, - { - "type": "USR01", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - } - ], - "type": "SAP" - }, - "displayName": "A4H_System" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5/systems/3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "name": "3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents/systems", - "properties": { - "status": "Running", - "configuration": { - "azureResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace", - "connector": { - "abapServerHost": "1.1.1.1", - "systemNumber": "001", - "systemId": "A4H", - "client": "001", - "authenticationType": "UsernamePassword", - "type": "Rfc" - }, - "logs": [ - { - "type": "AbapAuditLog", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - }, - { - "type": "USR01", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - } - ], - "type": "SAP" - }, - "displayName": "A4H_System", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5/systems/3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "name": "3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents/systems", - "properties": { - "status": "Running", - "configuration": { - "azureResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace", - "connector": { - "abapServerHost": "1.1.1.1", - "systemNumber": "001", - "systemId": "A4H", - "client": "001", - "authenticationType": "UsernamePassword", - "type": "Rfc" - }, - "logs": [ - { - "type": "AbapAuditLog", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - }, - { - "type": "USR01", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - } - ], - "type": "SAP" - }, - "displayName": "A4H_System", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/systems/Systems_Delete.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/systems/Systems_Delete.json deleted file mode 100644 index dcf0ea1e5072..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/systems/Systems_Delete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "api-version": "2025-10-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "systemResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a", - "agentResourceName": "3123432b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/systems/Systems_Get.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/systems/Systems_Get.json deleted file mode 100644 index 3d398a50fb41..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/systems/Systems_Get.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "parameters": { - "api-version": "2025-10-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "systemResourceName": "3d69632b-0b60-4af3-8720-77f01a25d34a", - "agentResourceName": "3123432b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5/systems/3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "name": "3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents/systems", - "properties": { - "status": "Running", - "configuration": { - "azureResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace", - "connector": { - "abapServerHost": "1.1.1.1", - "systemNumber": "001", - "systemId": "A4H", - "client": "001", - "authenticationType": "UsernamePassword", - "type": "Rfc" - }, - "logs": [ - { - "type": "AbapAuditLog", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - }, - { - "type": "USR01", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - } - ], - "type": "SAP" - }, - "displayName": "A4H_System", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/systems/Systems_List.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/systems/Systems_List.json deleted file mode 100644 index 26e854eb6c8e..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2025-10-01-preview/examples/businessApplicationAgents/systems/Systems_List.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "parameters": { - "api-version": "2025-10-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "agentResourceName": "3123432b-0b60-4af3-8720-77f01a25d34a" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/businessApplicationAgents/73e01a99-5cd7-4139-a149-9f2736ff2ab5/systems/3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "name": "3b6bed7b-3f1c-47fc-ab8e-2c57047ed446", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "type": "Microsoft.SecurityInsights/businessApplicationAgents/systems", - "properties": { - "status": "Running", - "configuration": { - "azureResourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace", - "connector": { - "abapServerHost": "1.1.1.1", - "systemNumber": "001", - "systemId": "A4H", - "client": "001", - "authenticationType": "UsernamePassword", - "type": "Rfc" - }, - "logs": [ - { - "type": "AbapAuditLog", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - }, - { - "type": "USR01", - "ingestionType": "Incremental", - "status": "Enabled", - "scheduleInterval": 60, - "bulkSize": 100, - "filters": [ - "filter1", - "filter2" - ] - } - ], - "type": "SAP" - }, - "displayName": "A4H_System", - "lastModifiedTimeUtc": "2024-03-01T13:00:30Z" - } - } - ] - } - } - } -} diff --git a/specification/securityinsights/resource-manager/readme.md b/specification/securityinsights/resource-manager/readme.md index 9266690a32fb..6cb77d3dac60 100644 --- a/specification/securityinsights/resource-manager/readme.md +++ b/specification/securityinsights/resource-manager/readme.md @@ -42,7 +42,6 @@ input-file: - Microsoft.SecurityInsights/preview/2025-10-01-preview/AutomationRules.json - Microsoft.SecurityInsights/preview/2025-10-01-preview/BillingStatistics.json - Microsoft.SecurityInsights/preview/2025-10-01-preview/Bookmarks.json - - Microsoft.SecurityInsights/preview/2025-10-01-preview/BusinessApplicationAgents.json - Microsoft.SecurityInsights/preview/2025-10-01-preview/ContentPackages.json - Microsoft.SecurityInsights/preview/2025-10-01-preview/ContentProductPackages.json - Microsoft.SecurityInsights/preview/2025-10-01-preview/ContentProductTemplates.json @@ -182,7 +181,6 @@ input-file: - Microsoft.SecurityInsights/preview/2025-07-01-preview/AutomationRules.json - Microsoft.SecurityInsights/preview/2025-07-01-preview/BillingStatistics.json - Microsoft.SecurityInsights/preview/2025-07-01-preview/Bookmarks.json - - Microsoft.SecurityInsights/preview/2025-07-01-preview/BusinessApplicationAgents.json - Microsoft.SecurityInsights/preview/2025-07-01-preview/ContentPackages.json - Microsoft.SecurityInsights/preview/2025-07-01-preview/ContentProductPackages.json - Microsoft.SecurityInsights/preview/2025-07-01-preview/ContentProductTemplates.json @@ -300,7 +298,6 @@ input-file: - Microsoft.SecurityInsights/preview/2025-04-01-preview/AutomationRules.json - Microsoft.SecurityInsights/preview/2025-04-01-preview/BillingStatistics.json - Microsoft.SecurityInsights/preview/2025-04-01-preview/Bookmarks.json - - Microsoft.SecurityInsights/preview/2025-04-01-preview/BusinessApplicationAgents.json - Microsoft.SecurityInsights/preview/2025-04-01-preview/ContentPackages.json - Microsoft.SecurityInsights/preview/2025-04-01-preview/ContentProductPackages.json - Microsoft.SecurityInsights/preview/2025-04-01-preview/ContentProductTemplates.json @@ -415,7 +412,6 @@ input-file: - Microsoft.SecurityInsights/preview/2025-01-01-preview/AutomationRules.json - Microsoft.SecurityInsights/preview/2025-01-01-preview/BillingStatistics.json - Microsoft.SecurityInsights/preview/2025-01-01-preview/Bookmarks.json - - Microsoft.SecurityInsights/preview/2025-01-01-preview/BusinessApplicationAgents.json - Microsoft.SecurityInsights/preview/2025-01-01-preview/ContentPackages.json - Microsoft.SecurityInsights/preview/2025-01-01-preview/ContentProductPackages.json - Microsoft.SecurityInsights/preview/2025-01-01-preview/ContentProductTemplates.json @@ -458,7 +454,6 @@ input-file: - Microsoft.SecurityInsights/preview/2024-10-01-preview/AutomationRules.json - Microsoft.SecurityInsights/preview/2024-10-01-preview/BillingStatistics.json - Microsoft.SecurityInsights/preview/2024-10-01-preview/Bookmarks.json - - Microsoft.SecurityInsights/preview/2024-10-01-preview/BusinessApplicationAgents.json - Microsoft.SecurityInsights/preview/2024-10-01-preview/ContentPackages.json - Microsoft.SecurityInsights/preview/2024-10-01-preview/ContentProductPackages.json - Microsoft.SecurityInsights/preview/2024-10-01-preview/ContentProductTemplates.json @@ -532,7 +527,6 @@ input-file: - Microsoft.SecurityInsights/preview/2024-04-01-preview/AutomationRules.json - Microsoft.SecurityInsights/preview/2024-04-01-preview/BillingStatistics.json - Microsoft.SecurityInsights/preview/2024-04-01-preview/Bookmarks.json - - Microsoft.SecurityInsights/preview/2024-04-01-preview/BusinessApplicationAgents.json - Microsoft.SecurityInsights/preview/2024-04-01-preview/ContentPackages.json - Microsoft.SecurityInsights/preview/2024-04-01-preview/ContentProductPackages.json - Microsoft.SecurityInsights/preview/2024-04-01-preview/ContentProductTemplates.json