@azure/arm-security 6.0.0-beta.1 → 6.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +35 -5
- package/README.md +7 -7
- package/dist/index.js +2502 -1258
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/adaptiveApplicationControlsPutSample.js +6 -6
- package/dist-esm/samples-dev/adaptiveApplicationControlsPutSample.js.map +1 -1
- package/dist-esm/samples-dev/apiCollectionGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/apiCollectionGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/apiCollectionGetSample.js +32 -0
- package/dist-esm/samples-dev/apiCollectionGetSample.js.map +1 -0
- package/dist-esm/samples-dev/apiCollectionListSample.d.ts +2 -0
- package/dist-esm/samples-dev/apiCollectionListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/apiCollectionListSample.js +45 -0
- package/dist-esm/samples-dev/apiCollectionListSample.js.map +1 -0
- package/dist-esm/samples-dev/apiCollectionOffboardingDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/apiCollectionOffboardingDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/apiCollectionOffboardingDeleteSample.js +32 -0
- package/dist-esm/samples-dev/apiCollectionOffboardingDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/apiCollectionOnboardingCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/apiCollectionOnboardingCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/apiCollectionOnboardingCreateSample.js +32 -0
- package/dist-esm/samples-dev/apiCollectionOnboardingCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/connectorsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/securityConnectorsCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/securityConnectorsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/securityConnectorsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/securityConnectorsGetSample.js +1 -1
- package/dist-esm/samples-dev/securityConnectorsListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/securityConnectorsListSample.js +1 -1
- package/dist-esm/samples-dev/securityConnectorsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/securityContactsCreateSample.js +1 -1
- package/dist-esm/samples-dev/securityContactsCreateSample.js.map +1 -1
- package/dist-esm/src/index.d.ts +1 -0
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +1 -0
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +151 -47
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +10 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +16 -5
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +227 -107
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +4 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +55 -1
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/aPICollection.d.ts +56 -0
- package/dist-esm/src/operations/aPICollection.d.ts.map +1 -0
- package/dist-esm/src/operations/aPICollection.js +191 -0
- package/dist-esm/src/operations/aPICollection.js.map +1 -0
- package/dist-esm/src/operations/aPICollectionOffboarding.d.ts +23 -0
- package/dist-esm/src/operations/aPICollectionOffboarding.d.ts.map +1 -0
- package/dist-esm/src/operations/aPICollectionOffboarding.js +56 -0
- package/dist-esm/src/operations/aPICollectionOffboarding.js.map +1 -0
- package/dist-esm/src/operations/aPICollectionOnboarding.d.ts +24 -0
- package/dist-esm/src/operations/aPICollectionOnboarding.d.ts.map +1 -0
- package/dist-esm/src/operations/aPICollectionOnboarding.js +58 -0
- package/dist-esm/src/operations/aPICollectionOnboarding.js.map +1 -0
- package/dist-esm/src/operations/adaptiveNetworkHardenings.d.ts.map +1 -1
- package/dist-esm/src/operations/adaptiveNetworkHardenings.js +19 -7
- package/dist-esm/src/operations/adaptiveNetworkHardenings.js.map +1 -1
- package/dist-esm/src/operations/alerts.d.ts.map +1 -1
- package/dist-esm/src/operations/alerts.js +73 -28
- package/dist-esm/src/operations/alerts.js.map +1 -1
- package/dist-esm/src/operations/alertsSuppressionRules.d.ts.map +1 -1
- package/dist-esm/src/operations/alertsSuppressionRules.js +19 -7
- package/dist-esm/src/operations/alertsSuppressionRules.js.map +1 -1
- package/dist-esm/src/operations/allowedConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/allowedConnections.js +37 -14
- package/dist-esm/src/operations/allowedConnections.js.map +1 -1
- package/dist-esm/src/operations/applications.d.ts.map +1 -1
- package/dist-esm/src/operations/applications.js +19 -7
- package/dist-esm/src/operations/applications.js.map +1 -1
- package/dist-esm/src/operations/assessments.d.ts.map +1 -1
- package/dist-esm/src/operations/assessments.js +19 -7
- package/dist-esm/src/operations/assessments.js.map +1 -1
- package/dist-esm/src/operations/assessmentsMetadata.d.ts.map +1 -1
- package/dist-esm/src/operations/assessmentsMetadata.js +37 -14
- package/dist-esm/src/operations/assessmentsMetadata.js.map +1 -1
- package/dist-esm/src/operations/autoProvisioningSettings.d.ts.map +1 -1
- package/dist-esm/src/operations/autoProvisioningSettings.js +19 -7
- package/dist-esm/src/operations/autoProvisioningSettings.js.map +1 -1
- package/dist-esm/src/operations/automations.d.ts.map +1 -1
- package/dist-esm/src/operations/automations.js +37 -14
- package/dist-esm/src/operations/automations.js.map +1 -1
- package/dist-esm/src/operations/complianceResults.d.ts.map +1 -1
- package/dist-esm/src/operations/complianceResults.js +19 -7
- package/dist-esm/src/operations/complianceResults.js.map +1 -1
- package/dist-esm/src/operations/compliances.d.ts.map +1 -1
- package/dist-esm/src/operations/compliances.js +19 -7
- package/dist-esm/src/operations/compliances.js.map +1 -1
- package/dist-esm/src/operations/connectors.d.ts.map +1 -1
- package/dist-esm/src/operations/connectors.js +19 -7
- package/dist-esm/src/operations/connectors.js.map +1 -1
- package/dist-esm/src/operations/customAssessmentAutomations.d.ts.map +1 -1
- package/dist-esm/src/operations/customAssessmentAutomations.js +37 -14
- package/dist-esm/src/operations/customAssessmentAutomations.js.map +1 -1
- package/dist-esm/src/operations/customEntityStoreAssignments.d.ts.map +1 -1
- package/dist-esm/src/operations/customEntityStoreAssignments.js +37 -14
- package/dist-esm/src/operations/customEntityStoreAssignments.js.map +1 -1
- package/dist-esm/src/operations/deviceSecurityGroups.d.ts.map +1 -1
- package/dist-esm/src/operations/deviceSecurityGroups.js +19 -7
- package/dist-esm/src/operations/deviceSecurityGroups.js.map +1 -1
- package/dist-esm/src/operations/discoveredSecuritySolutions.d.ts.map +1 -1
- package/dist-esm/src/operations/discoveredSecuritySolutions.js +37 -14
- package/dist-esm/src/operations/discoveredSecuritySolutions.js.map +1 -1
- package/dist-esm/src/operations/externalSecuritySolutions.d.ts.map +1 -1
- package/dist-esm/src/operations/externalSecuritySolutions.js +37 -14
- package/dist-esm/src/operations/externalSecuritySolutions.js.map +1 -1
- package/dist-esm/src/operations/governanceAssignments.d.ts.map +1 -1
- package/dist-esm/src/operations/governanceAssignments.js +19 -7
- package/dist-esm/src/operations/governanceAssignments.js.map +1 -1
- package/dist-esm/src/operations/governanceRuleOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/governanceRuleOperations.js +19 -7
- package/dist-esm/src/operations/governanceRuleOperations.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +3 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +3 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/informationProtectionPolicies.d.ts.map +1 -1
- package/dist-esm/src/operations/informationProtectionPolicies.js +19 -7
- package/dist-esm/src/operations/informationProtectionPolicies.js.map +1 -1
- package/dist-esm/src/operations/ingestionSettings.d.ts.map +1 -1
- package/dist-esm/src/operations/ingestionSettings.js +19 -7
- package/dist-esm/src/operations/ingestionSettings.js.map +1 -1
- package/dist-esm/src/operations/iotSecuritySolution.d.ts.map +1 -1
- package/dist-esm/src/operations/iotSecuritySolution.js +37 -14
- package/dist-esm/src/operations/iotSecuritySolution.js.map +1 -1
- package/dist-esm/src/operations/iotSecuritySolutionsAnalyticsAggregatedAlert.d.ts.map +1 -1
- package/dist-esm/src/operations/iotSecuritySolutionsAnalyticsAggregatedAlert.js +19 -7
- package/dist-esm/src/operations/iotSecuritySolutionsAnalyticsAggregatedAlert.js.map +1 -1
- package/dist-esm/src/operations/iotSecuritySolutionsAnalyticsRecommendation.d.ts.map +1 -1
- package/dist-esm/src/operations/iotSecuritySolutionsAnalyticsRecommendation.js +19 -7
- package/dist-esm/src/operations/iotSecuritySolutionsAnalyticsRecommendation.js.map +1 -1
- package/dist-esm/src/operations/jitNetworkAccessPolicies.d.ts.map +1 -1
- package/dist-esm/src/operations/jitNetworkAccessPolicies.js +73 -28
- package/dist-esm/src/operations/jitNetworkAccessPolicies.js.map +1 -1
- package/dist-esm/src/operations/locations.d.ts.map +1 -1
- package/dist-esm/src/operations/locations.js +19 -7
- package/dist-esm/src/operations/locations.js.map +1 -1
- package/dist-esm/src/operations/operations.d.ts.map +1 -1
- package/dist-esm/src/operations/operations.js +19 -7
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/regulatoryComplianceAssessments.d.ts.map +1 -1
- package/dist-esm/src/operations/regulatoryComplianceAssessments.js +19 -7
- package/dist-esm/src/operations/regulatoryComplianceAssessments.js.map +1 -1
- package/dist-esm/src/operations/regulatoryComplianceControls.d.ts.map +1 -1
- package/dist-esm/src/operations/regulatoryComplianceControls.js +19 -7
- package/dist-esm/src/operations/regulatoryComplianceControls.js.map +1 -1
- package/dist-esm/src/operations/regulatoryComplianceStandards.d.ts.map +1 -1
- package/dist-esm/src/operations/regulatoryComplianceStandards.js +19 -7
- package/dist-esm/src/operations/regulatoryComplianceStandards.js.map +1 -1
- package/dist-esm/src/operations/secureScoreControlDefinitions.d.ts.map +1 -1
- package/dist-esm/src/operations/secureScoreControlDefinitions.js +37 -14
- package/dist-esm/src/operations/secureScoreControlDefinitions.js.map +1 -1
- package/dist-esm/src/operations/secureScoreControls.d.ts.map +1 -1
- package/dist-esm/src/operations/secureScoreControls.js +37 -14
- package/dist-esm/src/operations/secureScoreControls.js.map +1 -1
- package/dist-esm/src/operations/secureScores.d.ts.map +1 -1
- package/dist-esm/src/operations/secureScores.js +19 -7
- package/dist-esm/src/operations/secureScores.js.map +1 -1
- package/dist-esm/src/operations/securityConnectorApplications.d.ts.map +1 -1
- package/dist-esm/src/operations/securityConnectorApplications.js +19 -7
- package/dist-esm/src/operations/securityConnectorApplications.js.map +1 -1
- package/dist-esm/src/operations/securityConnectorGovernanceRule.d.ts.map +1 -1
- package/dist-esm/src/operations/securityConnectorGovernanceRule.js +19 -7
- package/dist-esm/src/operations/securityConnectorGovernanceRule.js.map +1 -1
- package/dist-esm/src/operations/securityConnectors.d.ts.map +1 -1
- package/dist-esm/src/operations/securityConnectors.js +37 -14
- package/dist-esm/src/operations/securityConnectors.js.map +1 -1
- package/dist-esm/src/operations/securityContacts.d.ts.map +1 -1
- package/dist-esm/src/operations/securityContacts.js +19 -7
- package/dist-esm/src/operations/securityContacts.js.map +1 -1
- package/dist-esm/src/operations/securitySolutions.d.ts.map +1 -1
- package/dist-esm/src/operations/securitySolutions.js +19 -7
- package/dist-esm/src/operations/securitySolutions.js.map +1 -1
- package/dist-esm/src/operations/settings.d.ts.map +1 -1
- package/dist-esm/src/operations/settings.js +19 -7
- package/dist-esm/src/operations/settings.js.map +1 -1
- package/dist-esm/src/operations/softwareInventories.d.ts.map +1 -1
- package/dist-esm/src/operations/softwareInventories.js +37 -14
- package/dist-esm/src/operations/softwareInventories.js.map +1 -1
- package/dist-esm/src/operations/subAssessments.d.ts.map +1 -1
- package/dist-esm/src/operations/subAssessments.js +37 -14
- package/dist-esm/src/operations/subAssessments.js.map +1 -1
- package/dist-esm/src/operations/tasks.d.ts.map +1 -1
- package/dist-esm/src/operations/tasks.js +55 -21
- package/dist-esm/src/operations/tasks.js.map +1 -1
- package/dist-esm/src/operations/topology.d.ts.map +1 -1
- package/dist-esm/src/operations/topology.js +37 -14
- package/dist-esm/src/operations/topology.js.map +1 -1
- package/dist-esm/src/operations/workspaceSettings.d.ts.map +1 -1
- package/dist-esm/src/operations/workspaceSettings.js +19 -7
- package/dist-esm/src/operations/workspaceSettings.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/aPICollection.d.ts +28 -0
- package/dist-esm/src/operationsInterfaces/aPICollection.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/aPICollection.js +9 -0
- package/dist-esm/src/operationsInterfaces/aPICollection.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/aPICollectionOffboarding.d.ts +15 -0
- package/dist-esm/src/operationsInterfaces/aPICollectionOffboarding.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/aPICollectionOffboarding.js +9 -0
- package/dist-esm/src/operationsInterfaces/aPICollectionOffboarding.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/aPICollectionOnboarding.d.ts +16 -0
- package/dist-esm/src/operationsInterfaces/aPICollectionOnboarding.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/aPICollectionOnboarding.js +9 -0
- package/dist-esm/src/operationsInterfaces/aPICollectionOnboarding.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +3 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +3 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/src/securityCenter.d.ts +4 -1
- package/dist-esm/src/securityCenter.d.ts.map +1 -1
- package/dist-esm/src/securityCenter.js +8 -8
- package/dist-esm/src/securityCenter.js.map +1 -1
- package/package.json +6 -5
- package/review/arm-security.api.md +139 -35
- package/src/index.ts +1 -0
- package/src/models/index.ts +171 -49
- package/src/models/mappers.ts +251 -117
- package/src/models/parameters.ts +59 -1
- package/src/operations/aPICollection.ts +249 -0
- package/src/operations/aPICollectionOffboarding.ts +73 -0
- package/src/operations/aPICollectionOnboarding.ts +78 -0
- package/src/operations/adaptiveNetworkHardenings.ts +28 -14
- package/src/operations/alerts.ts +91 -39
- package/src/operations/alertsSuppressionRules.ts +21 -8
- package/src/operations/allowedConnections.ts +41 -16
- package/src/operations/applications.ts +21 -8
- package/src/operations/assessments.ts +21 -8
- package/src/operations/assessmentsMetadata.ts +42 -17
- package/src/operations/autoProvisioningSettings.ts +21 -8
- package/src/operations/automations.ts +45 -16
- package/src/operations/complianceResults.ts +21 -8
- package/src/operations/compliances.ts +21 -8
- package/src/operations/connectors.ts +21 -8
- package/src/operations/customAssessmentAutomations.ts +46 -17
- package/src/operations/customEntityStoreAssignments.ts +46 -17
- package/src/operations/deviceSecurityGroups.ts +21 -8
- package/src/operations/discoveredSecuritySolutions.ts +41 -16
- package/src/operations/externalSecuritySolutions.ts +41 -16
- package/src/operations/governanceAssignments.ts +21 -8
- package/src/operations/governanceRuleOperations.ts +21 -8
- package/src/operations/index.ts +3 -0
- package/src/operations/informationProtectionPolicies.ts +22 -9
- package/src/operations/ingestionSettings.ts +21 -8
- package/src/operations/iotSecuritySolution.ts +45 -16
- package/src/operations/iotSecuritySolutionsAnalyticsAggregatedAlert.ts +26 -8
- package/src/operations/iotSecuritySolutionsAnalyticsRecommendation.ts +27 -9
- package/src/operations/jitNetworkAccessPolicies.ts +90 -36
- package/src/operations/locations.ts +21 -8
- package/src/operations/operations.ts +21 -8
- package/src/operations/regulatoryComplianceAssessments.ts +26 -12
- package/src/operations/regulatoryComplianceControls.ts +25 -8
- package/src/operations/regulatoryComplianceStandards.ts +21 -8
- package/src/operations/secureScoreControlDefinitions.ts +41 -16
- package/src/operations/secureScoreControls.ts +45 -16
- package/src/operations/secureScores.ts +21 -8
- package/src/operations/securityConnectorApplications.ts +26 -12
- package/src/operations/securityConnectorGovernanceRule.ts +26 -12
- package/src/operations/securityConnectors.ts +45 -16
- package/src/operations/securityContacts.ts +21 -8
- package/src/operations/securitySolutions.ts +21 -8
- package/src/operations/settings.ts +21 -8
- package/src/operations/softwareInventories.ts +48 -22
- package/src/operations/subAssessments.ts +41 -16
- package/src/operations/tasks.ts +67 -29
- package/src/operations/topology.ts +41 -16
- package/src/operations/workspaceSettings.ts +21 -8
- package/src/operationsInterfaces/aPICollection.ts +51 -0
- package/src/operationsInterfaces/aPICollectionOffboarding.ts +28 -0
- package/src/operationsInterfaces/aPICollectionOnboarding.ts +32 -0
- package/src/operationsInterfaces/index.ts +3 -0
- package/src/pagingHelper.ts +39 -0
- package/src/securityCenter.ts +19 -8
- package/types/arm-security.d.ts +238 -52
- package/types/tsdoc-metadata.json +1 -1
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import {
|
|
10
|
+
APICollectionOnboardingCreateOptionalParams,
|
|
11
|
+
APICollectionOnboardingCreateResponse
|
|
12
|
+
} from "../models";
|
|
13
|
+
|
|
14
|
+
/** Interface representing a APICollectionOnboarding. */
|
|
15
|
+
export interface APICollectionOnboarding {
|
|
16
|
+
/**
|
|
17
|
+
* Onboard an Azure API Management API to Defender for APIs. The system will start monitoring the
|
|
18
|
+
* operations within the Azure Management API for intrusive behaviors and provide alerts for attacks
|
|
19
|
+
* that have been detected.
|
|
20
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
21
|
+
* @param serviceName The name of the API Management service.
|
|
22
|
+
* @param apiCollectionId A string representing the apiCollections resource within the
|
|
23
|
+
* Microsoft.Security provider namespace. This string matches the Azure API Management API name.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
create(
|
|
27
|
+
resourceGroupName: string,
|
|
28
|
+
serviceName: string,
|
|
29
|
+
apiCollectionId: string,
|
|
30
|
+
options?: APICollectionOnboardingCreateOptionalParams
|
|
31
|
+
): Promise<APICollectionOnboardingCreateResponse>;
|
|
32
|
+
}
|
|
@@ -66,3 +66,6 @@ export * from "./applications";
|
|
|
66
66
|
export * from "./applicationOperations";
|
|
67
67
|
export * from "./securityConnectorApplications";
|
|
68
68
|
export * from "./securityConnectorApplication";
|
|
69
|
+
export * from "./aPICollection";
|
|
70
|
+
export * from "./aPICollectionOnboarding";
|
|
71
|
+
export * from "./aPICollectionOffboarding";
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
export interface PageInfo {
|
|
10
|
+
continuationToken?: string;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
const pageMap = new WeakMap<object, PageInfo>();
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Given a result page from a pageable operation, returns a
|
|
17
|
+
* continuation token that can be used to begin paging from
|
|
18
|
+
* that point later.
|
|
19
|
+
* @param page A result object from calling .byPage() on a paged operation.
|
|
20
|
+
* @returns The continuation token that can be passed into byPage().
|
|
21
|
+
*/
|
|
22
|
+
export function getContinuationToken(page: unknown): string | undefined {
|
|
23
|
+
if (typeof page !== "object" || page === null) {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
return pageMap.get(page)?.continuationToken;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export function setContinuationToken(
|
|
30
|
+
page: unknown,
|
|
31
|
+
continuationToken: string | undefined
|
|
32
|
+
): void {
|
|
33
|
+
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
const pageInfo = pageMap.get(page) ?? {};
|
|
37
|
+
pageInfo.continuationToken = continuationToken;
|
|
38
|
+
pageMap.set(page, pageInfo);
|
|
39
|
+
}
|
package/src/securityCenter.ts
CHANGED
|
@@ -69,7 +69,10 @@ import {
|
|
|
69
69
|
ApplicationsImpl,
|
|
70
70
|
ApplicationOperationsImpl,
|
|
71
71
|
SecurityConnectorApplicationsImpl,
|
|
72
|
-
SecurityConnectorApplicationImpl
|
|
72
|
+
SecurityConnectorApplicationImpl,
|
|
73
|
+
APICollectionImpl,
|
|
74
|
+
APICollectionOnboardingImpl,
|
|
75
|
+
APICollectionOffboardingImpl
|
|
73
76
|
} from "./operations";
|
|
74
77
|
import {
|
|
75
78
|
MdeOnboardings,
|
|
@@ -131,7 +134,10 @@ import {
|
|
|
131
134
|
Applications,
|
|
132
135
|
ApplicationOperations,
|
|
133
136
|
SecurityConnectorApplications,
|
|
134
|
-
SecurityConnectorApplication
|
|
137
|
+
SecurityConnectorApplication,
|
|
138
|
+
APICollection,
|
|
139
|
+
APICollectionOnboarding,
|
|
140
|
+
APICollectionOffboarding
|
|
135
141
|
} from "./operationsInterfaces";
|
|
136
142
|
import { SecurityCenterOptionalParams } from "./models";
|
|
137
143
|
|
|
@@ -166,22 +172,19 @@ export class SecurityCenter extends coreClient.ServiceClient {
|
|
|
166
172
|
credential: credentials
|
|
167
173
|
};
|
|
168
174
|
|
|
169
|
-
const packageDetails = `azsdk-js-arm-security/6.0.0-beta.
|
|
175
|
+
const packageDetails = `azsdk-js-arm-security/6.0.0-beta.2`;
|
|
170
176
|
const userAgentPrefix =
|
|
171
177
|
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
172
178
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
173
179
|
: `${packageDetails}`;
|
|
174
180
|
|
|
175
|
-
if (!options.credentialScopes) {
|
|
176
|
-
options.credentialScopes = ["https://management.azure.com/.default"];
|
|
177
|
-
}
|
|
178
181
|
const optionsWithDefaults = {
|
|
179
182
|
...defaults,
|
|
180
183
|
...options,
|
|
181
184
|
userAgentOptions: {
|
|
182
185
|
userAgentPrefix
|
|
183
186
|
},
|
|
184
|
-
|
|
187
|
+
endpoint:
|
|
185
188
|
options.endpoint ?? options.baseUri ?? "https://management.azure.com"
|
|
186
189
|
};
|
|
187
190
|
super(optionsWithDefaults);
|
|
@@ -207,7 +210,9 @@ export class SecurityCenter extends coreClient.ServiceClient {
|
|
|
207
210
|
this.pipeline.addPolicy(
|
|
208
211
|
coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
209
212
|
credential: credentials,
|
|
210
|
-
scopes:
|
|
213
|
+
scopes:
|
|
214
|
+
optionsWithDefaults.credentialScopes ??
|
|
215
|
+
`${optionsWithDefaults.endpoint}/.default`,
|
|
211
216
|
challengeCallbacks: {
|
|
212
217
|
authorizeRequestOnChallenge:
|
|
213
218
|
coreClient.authorizeRequestOnClaimChallenge
|
|
@@ -326,6 +331,9 @@ export class SecurityCenter extends coreClient.ServiceClient {
|
|
|
326
331
|
this.securityConnectorApplication = new SecurityConnectorApplicationImpl(
|
|
327
332
|
this
|
|
328
333
|
);
|
|
334
|
+
this.aPICollection = new APICollectionImpl(this);
|
|
335
|
+
this.aPICollectionOnboarding = new APICollectionOnboardingImpl(this);
|
|
336
|
+
this.aPICollectionOffboarding = new APICollectionOffboardingImpl(this);
|
|
329
337
|
}
|
|
330
338
|
|
|
331
339
|
mdeOnboardings: MdeOnboardings;
|
|
@@ -388,4 +396,7 @@ export class SecurityCenter extends coreClient.ServiceClient {
|
|
|
388
396
|
applicationOperations: ApplicationOperations;
|
|
389
397
|
securityConnectorApplications: SecurityConnectorApplications;
|
|
390
398
|
securityConnectorApplication: SecurityConnectorApplication;
|
|
399
|
+
aPICollection: APICollection;
|
|
400
|
+
aPICollectionOnboarding: APICollectionOnboarding;
|
|
401
|
+
aPICollectionOffboarding: APICollectionOffboarding;
|
|
391
402
|
}
|
package/types/arm-security.d.ts
CHANGED
|
@@ -935,7 +935,7 @@ export declare interface AllowedConnections {
|
|
|
935
935
|
* @param connectionType The type of allowed connections (Internal, External)
|
|
936
936
|
* @param options The options parameters.
|
|
937
937
|
*/
|
|
938
|
-
get(resourceGroupName: string, ascLocation: string, connectionType:
|
|
938
|
+
get(resourceGroupName: string, ascLocation: string, connectionType: ConnectionType, options?: AllowedConnectionsGetOptionalParams): Promise<AllowedConnectionsGetResponse>;
|
|
939
939
|
}
|
|
940
940
|
|
|
941
941
|
/** Optional parameters. */
|
|
@@ -1026,6 +1026,117 @@ export declare interface AmqpD2CMessagesNotInAllowedRange extends TimeWindowCust
|
|
|
1026
1026
|
ruleType: "AmqpD2CMessagesNotInAllowedRange";
|
|
1027
1027
|
}
|
|
1028
1028
|
|
|
1029
|
+
/** Interface representing a APICollection. */
|
|
1030
|
+
export declare interface APICollection {
|
|
1031
|
+
/**
|
|
1032
|
+
* Gets a list of Azure API Management APIs that have been onboarded to Defender for APIs. If an Azure
|
|
1033
|
+
* API Management API is onboarded to Defender for APIs, the system will monitor the operations within
|
|
1034
|
+
* the Azure API Management API for intrusive behaviors and provide alerts for attacks that have been
|
|
1035
|
+
* detected.
|
|
1036
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1037
|
+
* @param serviceName The name of the API Management service.
|
|
1038
|
+
* @param options The options parameters.
|
|
1039
|
+
*/
|
|
1040
|
+
list(resourceGroupName: string, serviceName: string, options?: APICollectionListOptionalParams): PagedAsyncIterableIterator<ApiCollectionResponse>;
|
|
1041
|
+
/**
|
|
1042
|
+
* Gets an Azure API Management API if it has been onboarded to Defender for APIs. If an Azure API
|
|
1043
|
+
* Management API is onboarded to Defender for APIs, the system will monitor the operations within the
|
|
1044
|
+
* Azure API Management API for intrusive behaviors and provide alerts for attacks that have been
|
|
1045
|
+
* detected.
|
|
1046
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1047
|
+
* @param serviceName The name of the API Management service.
|
|
1048
|
+
* @param apiCollectionId A string representing the apiCollections resource within the
|
|
1049
|
+
* Microsoft.Security provider namespace. This string matches the Azure API Management API name.
|
|
1050
|
+
* @param options The options parameters.
|
|
1051
|
+
*/
|
|
1052
|
+
get(resourceGroupName: string, serviceName: string, apiCollectionId: string, options?: APICollectionGetOptionalParams): Promise<APICollectionGetResponse>;
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
/** Optional parameters. */
|
|
1056
|
+
export declare interface APICollectionGetOptionalParams extends coreClient.OperationOptions {
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
/** Contains response data for the get operation. */
|
|
1060
|
+
export declare type APICollectionGetResponse = ApiCollectionResponse;
|
|
1061
|
+
|
|
1062
|
+
/** Optional parameters. */
|
|
1063
|
+
export declare interface APICollectionListNextOptionalParams extends coreClient.OperationOptions {
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
/** Contains response data for the listNext operation. */
|
|
1067
|
+
export declare type APICollectionListNextResponse = ApiCollectionResponseList;
|
|
1068
|
+
|
|
1069
|
+
/** Optional parameters. */
|
|
1070
|
+
export declare interface APICollectionListOptionalParams extends coreClient.OperationOptions {
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
/** Contains response data for the list operation. */
|
|
1074
|
+
export declare type APICollectionListResponse = ApiCollectionResponseList;
|
|
1075
|
+
|
|
1076
|
+
/** Interface representing a APICollectionOffboarding. */
|
|
1077
|
+
export declare interface APICollectionOffboarding {
|
|
1078
|
+
/**
|
|
1079
|
+
* Offboard an Azure API Management API from Defender for APIs. The system will stop monitoring the
|
|
1080
|
+
* operations within the Azure API Management API for intrusive behaviors.
|
|
1081
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1082
|
+
* @param serviceName The name of the API Management service.
|
|
1083
|
+
* @param apiCollectionId A string representing the apiCollections resource within the
|
|
1084
|
+
* Microsoft.Security provider namespace. This string matches the Azure API Management API name.
|
|
1085
|
+
* @param options The options parameters.
|
|
1086
|
+
*/
|
|
1087
|
+
delete(resourceGroupName: string, serviceName: string, apiCollectionId: string, options?: APICollectionOffboardingDeleteOptionalParams): Promise<void>;
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
/** Optional parameters. */
|
|
1091
|
+
export declare interface APICollectionOffboardingDeleteOptionalParams extends coreClient.OperationOptions {
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
/** Interface representing a APICollectionOnboarding. */
|
|
1095
|
+
export declare interface APICollectionOnboarding {
|
|
1096
|
+
/**
|
|
1097
|
+
* Onboard an Azure API Management API to Defender for APIs. The system will start monitoring the
|
|
1098
|
+
* operations within the Azure Management API for intrusive behaviors and provide alerts for attacks
|
|
1099
|
+
* that have been detected.
|
|
1100
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1101
|
+
* @param serviceName The name of the API Management service.
|
|
1102
|
+
* @param apiCollectionId A string representing the apiCollections resource within the
|
|
1103
|
+
* Microsoft.Security provider namespace. This string matches the Azure API Management API name.
|
|
1104
|
+
* @param options The options parameters.
|
|
1105
|
+
*/
|
|
1106
|
+
create(resourceGroupName: string, serviceName: string, apiCollectionId: string, options?: APICollectionOnboardingCreateOptionalParams): Promise<APICollectionOnboardingCreateResponse>;
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
/** Optional parameters. */
|
|
1110
|
+
export declare interface APICollectionOnboardingCreateOptionalParams extends coreClient.OperationOptions {
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
/** Contains response data for the create operation. */
|
|
1114
|
+
export declare type APICollectionOnboardingCreateResponse = ApiCollectionResponse;
|
|
1115
|
+
|
|
1116
|
+
/** An API collection as represented by Defender for APIs. */
|
|
1117
|
+
export declare interface ApiCollectionResponse extends Resource {
|
|
1118
|
+
/** The display name of the Azure API Management API. */
|
|
1119
|
+
displayName?: string;
|
|
1120
|
+
/** Additional data regarding the API collection. */
|
|
1121
|
+
additionalData?: {
|
|
1122
|
+
[propertyName: string]: string;
|
|
1123
|
+
};
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
/** Page of a list of API collections as represented by Defender for APIs. */
|
|
1127
|
+
export declare interface ApiCollectionResponseList {
|
|
1128
|
+
/**
|
|
1129
|
+
* API collections in this page.
|
|
1130
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1131
|
+
*/
|
|
1132
|
+
readonly value?: ApiCollectionResponse[];
|
|
1133
|
+
/**
|
|
1134
|
+
* The URI to fetch the next page.
|
|
1135
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1136
|
+
*/
|
|
1137
|
+
readonly nextLink?: string;
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1029
1140
|
/** Security Application over a given scope */
|
|
1030
1141
|
export declare interface Application extends Resource {
|
|
1031
1142
|
/** display name of the application */
|
|
@@ -1054,6 +1165,7 @@ export declare interface ApplicationCondition {
|
|
|
1054
1165
|
* this enum contains the known values that the service supports.
|
|
1055
1166
|
* ### Known values supported by the service
|
|
1056
1167
|
* **Contains**: Checks that the string value of the data defined in Property contains the given value \
|
|
1168
|
+
* **Equals**: Checks that the string value of the data defined in Property equals the given value \
|
|
1057
1169
|
* **In**: Checks that the string value of the data defined in Property equals any of the given values (exact fit)
|
|
1058
1170
|
*/
|
|
1059
1171
|
export declare type ApplicationConditionOperator = string;
|
|
@@ -1766,7 +1878,7 @@ export declare interface AwsCredsAuthenticationDetailsProperties extends Authent
|
|
|
1766
1878
|
}
|
|
1767
1879
|
|
|
1768
1880
|
/** The aws connector environment data */
|
|
1769
|
-
export declare interface
|
|
1881
|
+
export declare interface AwsEnvironmentData extends EnvironmentData {
|
|
1770
1882
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1771
1883
|
environmentType: "AwsAccount";
|
|
1772
1884
|
/** The AWS account's organizational data */
|
|
@@ -1987,7 +2099,7 @@ export declare type CloudName = string;
|
|
|
1987
2099
|
/** The security offering details */
|
|
1988
2100
|
export declare interface CloudOffering {
|
|
1989
2101
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1990
|
-
offeringType: "CspmMonitorAws" | "DefenderForContainersAws" | "DefenderForServersAws" | "DefenderForDatabasesAws" | "InformationProtectionAws" | "CspmMonitorGcp" | "DefenderForServersGcp" | "DefenderForDatabasesGcp" | "DefenderForContainersGcp" | "CspmMonitorGithub" | "CspmMonitorAzureDevOps";
|
|
2102
|
+
offeringType: "CspmMonitorAws" | "DefenderForContainersAws" | "DefenderForServersAws" | "DefenderForDatabasesAws" | "InformationProtectionAws" | "CspmMonitorGcp" | "DefenderForServersGcp" | "DefenderForDatabasesGcp" | "DefenderForContainersGcp" | "CspmMonitorGithub" | "CspmMonitorAzureDevOps" | "DefenderCspmAws" | "DefenderCspmGcp" | "DefenderForDevOpsGithub" | "DefenderForDevOpsAzureDevOps";
|
|
1991
2103
|
/**
|
|
1992
2104
|
* The offering description.
|
|
1993
2105
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -1995,7 +2107,7 @@ export declare interface CloudOffering {
|
|
|
1995
2107
|
readonly description?: string;
|
|
1996
2108
|
}
|
|
1997
2109
|
|
|
1998
|
-
export declare type CloudOfferingUnion = CloudOffering | CspmMonitorAwsOffering | DefenderForContainersAwsOffering | DefenderForServersAwsOffering | DefenderFoDatabasesAwsOffering | InformationProtectionAwsOffering | CspmMonitorGcpOffering | DefenderForServersGcpOffering | DefenderForDatabasesGcpOffering | DefenderForContainersGcpOffering | CspmMonitorGithubOffering | CspmMonitorAzureDevOpsOffering;
|
|
2110
|
+
export declare type CloudOfferingUnion = CloudOffering | CspmMonitorAwsOffering | DefenderForContainersAwsOffering | DefenderForServersAwsOffering | DefenderFoDatabasesAwsOffering | InformationProtectionAwsOffering | CspmMonitorGcpOffering | DefenderForServersGcpOffering | DefenderForDatabasesGcpOffering | DefenderForContainersGcpOffering | CspmMonitorGithubOffering | CspmMonitorAzureDevOpsOffering | DefenderCspmAwsOffering | DefenderCspmGcpOffering | DefenderForDevOpsGithubOffering | DefenderForDevOpsAzureDevOpsOffering;
|
|
1999
2111
|
|
|
2000
2112
|
/** Compliance of a scope */
|
|
2001
2113
|
export declare interface Compliance extends Resource {
|
|
@@ -2236,8 +2348,7 @@ export declare interface ConnectionToIpNotAllowed extends AllowlistCustomAlertRu
|
|
|
2236
2348
|
* **Internal** \
|
|
2237
2349
|
* **External**
|
|
2238
2350
|
*/
|
|
2239
|
-
declare type
|
|
2240
|
-
export { ConnectionType_2 as ConnectionType }
|
|
2351
|
+
export declare type ConnectionType = string;
|
|
2241
2352
|
|
|
2242
2353
|
/** Interface representing a Connectors. */
|
|
2243
2354
|
export declare interface Connectors {
|
|
@@ -2748,12 +2859,48 @@ export declare interface DataExportSettings extends Setting {
|
|
|
2748
2859
|
*/
|
|
2749
2860
|
export declare type DataSource = string;
|
|
2750
2861
|
|
|
2862
|
+
/** The CSPM P1 for Aws offering */
|
|
2863
|
+
export declare interface DefenderCspmAwsOffering extends CloudOffering {
|
|
2864
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2865
|
+
offeringType: "DefenderCspmAws";
|
|
2866
|
+
/** The Microsoft Defender for Server VM scanning configuration */
|
|
2867
|
+
vmScanners?: DefenderCspmAwsOfferingVmScanners;
|
|
2868
|
+
}
|
|
2869
|
+
|
|
2870
|
+
/** The Microsoft Defender for Server VM scanning configuration */
|
|
2871
|
+
export declare interface DefenderCspmAwsOfferingVmScanners {
|
|
2872
|
+
/** Is Microsoft Defender for Server VM scanning enabled */
|
|
2873
|
+
enabled?: boolean;
|
|
2874
|
+
/** configuration for Microsoft Defender for Server VM scanning */
|
|
2875
|
+
configuration?: DefenderCspmAwsOfferingVmScannersConfiguration;
|
|
2876
|
+
}
|
|
2877
|
+
|
|
2878
|
+
/** configuration for Microsoft Defender for Server VM scanning */
|
|
2879
|
+
export declare interface DefenderCspmAwsOfferingVmScannersConfiguration {
|
|
2880
|
+
/** The cloud role ARN in AWS for this feature */
|
|
2881
|
+
cloudRoleArn?: string;
|
|
2882
|
+
/** The scanning mode for the vm scan. */
|
|
2883
|
+
scanningMode?: ScanningMode;
|
|
2884
|
+
/** VM tags that indicates that VM should not be scanned */
|
|
2885
|
+
exclusionTags?: {
|
|
2886
|
+
[propertyName: string]: string;
|
|
2887
|
+
};
|
|
2888
|
+
}
|
|
2889
|
+
|
|
2890
|
+
/** The CSPM P1 for GCP offering */
|
|
2891
|
+
export declare interface DefenderCspmGcpOffering extends CloudOffering {
|
|
2892
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2893
|
+
offeringType: "DefenderCspmGcp";
|
|
2894
|
+
}
|
|
2895
|
+
|
|
2751
2896
|
/** The Defender for Databases AWS offering */
|
|
2752
2897
|
export declare interface DefenderFoDatabasesAwsOffering extends CloudOffering {
|
|
2753
2898
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2754
2899
|
offeringType: "DefenderForDatabasesAws";
|
|
2755
2900
|
/** The ARC autoprovisioning configuration */
|
|
2756
2901
|
arcAutoProvisioning?: DefenderFoDatabasesAwsOfferingArcAutoProvisioning;
|
|
2902
|
+
/** The RDS configuration */
|
|
2903
|
+
rds?: DefenderFoDatabasesAwsOfferingRds;
|
|
2757
2904
|
}
|
|
2758
2905
|
|
|
2759
2906
|
/** The ARC autoprovisioning configuration */
|
|
@@ -2762,18 +2909,14 @@ export declare interface DefenderFoDatabasesAwsOfferingArcAutoProvisioning {
|
|
|
2762
2909
|
enabled?: boolean;
|
|
2763
2910
|
/** The cloud role ARN in AWS for this feature */
|
|
2764
2911
|
cloudRoleArn?: string;
|
|
2765
|
-
/** Metadata of Service Principal secret for autoprovisioning */
|
|
2766
|
-
servicePrincipalSecretMetadata?: DefenderFoDatabasesAwsOfferingArcAutoProvisioningServicePrincipalSecretMetadata;
|
|
2767
2912
|
}
|
|
2768
2913
|
|
|
2769
|
-
/**
|
|
2770
|
-
export declare interface
|
|
2771
|
-
/**
|
|
2772
|
-
|
|
2773
|
-
/**
|
|
2774
|
-
|
|
2775
|
-
/** name of secret resource in parameter store */
|
|
2776
|
-
parameterNameInStore?: string;
|
|
2914
|
+
/** The RDS configuration */
|
|
2915
|
+
export declare interface DefenderFoDatabasesAwsOfferingRds {
|
|
2916
|
+
/** Is RDS protection enabled */
|
|
2917
|
+
enabled?: boolean;
|
|
2918
|
+
/** The cloud role ARN in AWS for this feature */
|
|
2919
|
+
cloudRoleArn?: string;
|
|
2777
2920
|
}
|
|
2778
2921
|
|
|
2779
2922
|
/** The Defender for Containers AWS offering */
|
|
@@ -2884,16 +3027,6 @@ export declare interface DefenderForDatabasesGcpOffering extends CloudOffering {
|
|
|
2884
3027
|
export declare interface DefenderForDatabasesGcpOfferingArcAutoProvisioning {
|
|
2885
3028
|
/** Is arc auto provisioning enabled */
|
|
2886
3029
|
enabled?: boolean;
|
|
2887
|
-
/** Configuration for ARC autoprovisioning */
|
|
2888
|
-
configuration?: DefenderForDatabasesGcpOfferingArcAutoProvisioningConfiguration;
|
|
2889
|
-
}
|
|
2890
|
-
|
|
2891
|
-
/** Configuration for ARC autoprovisioning */
|
|
2892
|
-
export declare interface DefenderForDatabasesGcpOfferingArcAutoProvisioningConfiguration {
|
|
2893
|
-
/** The Azure service principal client id for agent onboarding */
|
|
2894
|
-
clientId?: string;
|
|
2895
|
-
/** The agent onboarding service account numeric id */
|
|
2896
|
-
agentOnboardingServiceAccountNumericId?: string;
|
|
2897
3030
|
}
|
|
2898
3031
|
|
|
2899
3032
|
/** The native cloud connection configuration */
|
|
@@ -2904,6 +3037,18 @@ export declare interface DefenderForDatabasesGcpOfferingDefenderForDatabasesArcA
|
|
|
2904
3037
|
workloadIdentityProviderId?: string;
|
|
2905
3038
|
}
|
|
2906
3039
|
|
|
3040
|
+
/** The Defender for DevOps for Azure DevOps offering */
|
|
3041
|
+
export declare interface DefenderForDevOpsAzureDevOpsOffering extends CloudOffering {
|
|
3042
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
3043
|
+
offeringType: "DefenderForDevOpsAzureDevOps";
|
|
3044
|
+
}
|
|
3045
|
+
|
|
3046
|
+
/** The Defender for DevOps for Github offering */
|
|
3047
|
+
export declare interface DefenderForDevOpsGithubOffering extends CloudOffering {
|
|
3048
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
3049
|
+
offeringType: "DefenderForDevOpsGithub";
|
|
3050
|
+
}
|
|
3051
|
+
|
|
2907
3052
|
/** The Defender for Servers AWS offering */
|
|
2908
3053
|
export declare interface DefenderForServersAwsOffering extends CloudOffering {
|
|
2909
3054
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
@@ -2928,18 +3073,6 @@ export declare interface DefenderForServersAwsOfferingArcAutoProvisioning {
|
|
|
2928
3073
|
enabled?: boolean;
|
|
2929
3074
|
/** The cloud role ARN in AWS for this feature */
|
|
2930
3075
|
cloudRoleArn?: string;
|
|
2931
|
-
/** Metadata of Service Principal secret for autoprovisioning */
|
|
2932
|
-
servicePrincipalSecretMetadata?: DefenderForServersAwsOfferingArcAutoProvisioningServicePrincipalSecretMetadata;
|
|
2933
|
-
}
|
|
2934
|
-
|
|
2935
|
-
/** Metadata of Service Principal secret for autoprovisioning */
|
|
2936
|
-
export declare interface DefenderForServersAwsOfferingArcAutoProvisioningServicePrincipalSecretMetadata {
|
|
2937
|
-
/** expiration date of service principal secret */
|
|
2938
|
-
expiryDate?: string;
|
|
2939
|
-
/** region of parameter store where secret is kept */
|
|
2940
|
-
parameterStoreRegion?: string;
|
|
2941
|
-
/** name of secret resource in parameter store */
|
|
2942
|
-
parameterNameInStore?: string;
|
|
2943
3076
|
}
|
|
2944
3077
|
|
|
2945
3078
|
/** The Defender for servers connection configuration */
|
|
@@ -2991,7 +3124,9 @@ export declare interface DefenderForServersAwsOfferingVmScannersConfiguration {
|
|
|
2991
3124
|
/** The scanning mode for the vm scan. */
|
|
2992
3125
|
scanningMode?: ScanningMode;
|
|
2993
3126
|
/** VM tags that indicates that VM should not be scanned */
|
|
2994
|
-
exclusionTags?:
|
|
3127
|
+
exclusionTags?: {
|
|
3128
|
+
[propertyName: string]: string;
|
|
3129
|
+
};
|
|
2995
3130
|
}
|
|
2996
3131
|
|
|
2997
3132
|
/** The Defender for Servers GCP offering configurations */
|
|
@@ -3014,16 +3149,6 @@ export declare interface DefenderForServersGcpOffering extends CloudOffering {
|
|
|
3014
3149
|
export declare interface DefenderForServersGcpOfferingArcAutoProvisioning {
|
|
3015
3150
|
/** Is arc auto provisioning enabled */
|
|
3016
3151
|
enabled?: boolean;
|
|
3017
|
-
/** Configuration for ARC autoprovisioning */
|
|
3018
|
-
configuration?: DefenderForServersGcpOfferingArcAutoProvisioningConfiguration;
|
|
3019
|
-
}
|
|
3020
|
-
|
|
3021
|
-
/** Configuration for ARC autoprovisioning */
|
|
3022
|
-
export declare interface DefenderForServersGcpOfferingArcAutoProvisioningConfiguration {
|
|
3023
|
-
/** The Azure service principal client id for agent onboarding */
|
|
3024
|
-
clientId?: string;
|
|
3025
|
-
/** The agent onboarding service account numeric id */
|
|
3026
|
-
agentOnboardingServiceAccountNumericId?: string;
|
|
3027
3152
|
}
|
|
3028
3153
|
|
|
3029
3154
|
/** The Defender for servers connection configuration */
|
|
@@ -3306,7 +3431,7 @@ export declare interface EnvironmentData {
|
|
|
3306
3431
|
environmentType: "AwsAccount" | "GcpProject" | "GithubScope" | "AzureDevOpsScope";
|
|
3307
3432
|
}
|
|
3308
3433
|
|
|
3309
|
-
export declare type EnvironmentDataUnion = EnvironmentData |
|
|
3434
|
+
export declare type EnvironmentDataUnion = EnvironmentData | AwsEnvironmentData | GcpProjectEnvironmentData | GithubScopeEnvironmentData | AzureDevOpsScopeEnvironmentData;
|
|
3310
3435
|
|
|
3311
3436
|
/**
|
|
3312
3437
|
* Defines values for EnvironmentType. \
|
|
@@ -3334,6 +3459,41 @@ export declare interface ErrorAdditionalInfo {
|
|
|
3334
3459
|
readonly info?: Record<string, unknown>;
|
|
3335
3460
|
}
|
|
3336
3461
|
|
|
3462
|
+
/** The error detail. */
|
|
3463
|
+
export declare interface ErrorDetail {
|
|
3464
|
+
/**
|
|
3465
|
+
* The error code.
|
|
3466
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3467
|
+
*/
|
|
3468
|
+
readonly code?: string;
|
|
3469
|
+
/**
|
|
3470
|
+
* The error message.
|
|
3471
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3472
|
+
*/
|
|
3473
|
+
readonly message?: string;
|
|
3474
|
+
/**
|
|
3475
|
+
* The error target.
|
|
3476
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3477
|
+
*/
|
|
3478
|
+
readonly target?: string;
|
|
3479
|
+
/**
|
|
3480
|
+
* The error details.
|
|
3481
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3482
|
+
*/
|
|
3483
|
+
readonly details?: ErrorDetail[];
|
|
3484
|
+
/**
|
|
3485
|
+
* The error additional info.
|
|
3486
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3487
|
+
*/
|
|
3488
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
3489
|
+
}
|
|
3490
|
+
|
|
3491
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
|
|
3492
|
+
export declare interface ErrorResponse {
|
|
3493
|
+
/** The error object. */
|
|
3494
|
+
error?: ErrorDetail;
|
|
3495
|
+
}
|
|
3496
|
+
|
|
3337
3497
|
/** Entity tag is used for comparing two or more entities from the same requested resource. */
|
|
3338
3498
|
export declare interface ETag {
|
|
3339
3499
|
/** Entity tag is used for comparing two or more entities from the same requested resource. */
|
|
@@ -3611,6 +3771,15 @@ export declare interface GcpProjectEnvironmentData extends EnvironmentData {
|
|
|
3611
3771
|
projectDetails?: GcpProjectDetails;
|
|
3612
3772
|
}
|
|
3613
3773
|
|
|
3774
|
+
/**
|
|
3775
|
+
* Given a result page from a pageable operation, returns a
|
|
3776
|
+
* continuation token that can be used to begin paging from
|
|
3777
|
+
* that point later.
|
|
3778
|
+
* @param page A result object from calling .byPage() on a paged operation.
|
|
3779
|
+
* @returns The continuation token that can be passed into byPage().
|
|
3780
|
+
*/
|
|
3781
|
+
export declare function getContinuationToken(page: unknown): string | undefined;
|
|
3782
|
+
|
|
3614
3783
|
/** The github scope connector's environment data */
|
|
3615
3784
|
export declare interface GithubScopeEnvironmentData extends EnvironmentData {
|
|
3616
3785
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
@@ -5242,6 +5411,8 @@ export declare enum KnownAlertStatus {
|
|
|
5242
5411
|
export declare enum KnownApplicationConditionOperator {
|
|
5243
5412
|
/** Checks that the string value of the data defined in Property contains the given value */
|
|
5244
5413
|
Contains = "Contains",
|
|
5414
|
+
/** Checks that the string value of the data defined in Property equals the given value */
|
|
5415
|
+
Equals = "Equals",
|
|
5245
5416
|
/** Checks that the string value of the data defined in Property equals any of the given values (exact fit) */
|
|
5246
5417
|
In = "In"
|
|
5247
5418
|
}
|
|
@@ -5671,7 +5842,15 @@ export declare enum KnownOfferingType {
|
|
|
5671
5842
|
/** DefenderForContainersGcp */
|
|
5672
5843
|
DefenderForContainersGcp = "DefenderForContainersGcp",
|
|
5673
5844
|
/** DefenderForDatabasesGcp */
|
|
5674
|
-
DefenderForDatabasesGcp = "DefenderForDatabasesGcp"
|
|
5845
|
+
DefenderForDatabasesGcp = "DefenderForDatabasesGcp",
|
|
5846
|
+
/** DefenderCspmAws */
|
|
5847
|
+
DefenderCspmAws = "DefenderCspmAws",
|
|
5848
|
+
/** DefenderCspmGcp */
|
|
5849
|
+
DefenderCspmGcp = "DefenderCspmGcp",
|
|
5850
|
+
/** DefenderForDevOpsGithub */
|
|
5851
|
+
DefenderForDevOpsGithub = "DefenderForDevOpsGithub",
|
|
5852
|
+
/** DefenderForDevOpsAzureDevOps */
|
|
5853
|
+
DefenderForDevOpsAzureDevOps = "DefenderForDevOpsAzureDevOps"
|
|
5675
5854
|
}
|
|
5676
5855
|
|
|
5677
5856
|
/** Known values of {@link Operator} that the service accepts. */
|
|
@@ -6586,7 +6765,11 @@ export declare interface MqttD2CMessagesNotInAllowedRange extends TimeWindowCust
|
|
|
6586
6765
|
* **CspmMonitorAzureDevOps** \
|
|
6587
6766
|
* **DefenderForServersGcp** \
|
|
6588
6767
|
* **DefenderForContainersGcp** \
|
|
6589
|
-
* **DefenderForDatabasesGcp**
|
|
6768
|
+
* **DefenderForDatabasesGcp** \
|
|
6769
|
+
* **DefenderCspmAws** \
|
|
6770
|
+
* **DefenderCspmGcp** \
|
|
6771
|
+
* **DefenderForDevOpsGithub** \
|
|
6772
|
+
* **DefenderForDevOpsAzureDevOps**
|
|
6590
6773
|
*/
|
|
6591
6774
|
export declare type OfferingType = string;
|
|
6592
6775
|
|
|
@@ -8157,6 +8340,9 @@ export declare class SecurityCenter extends coreClient.ServiceClient {
|
|
|
8157
8340
|
applicationOperations: ApplicationOperations;
|
|
8158
8341
|
securityConnectorApplications: SecurityConnectorApplications;
|
|
8159
8342
|
securityConnectorApplication: SecurityConnectorApplication;
|
|
8343
|
+
aPICollection: APICollection;
|
|
8344
|
+
aPICollectionOnboarding: APICollectionOnboarding;
|
|
8345
|
+
aPICollectionOffboarding: APICollectionOffboarding;
|
|
8160
8346
|
}
|
|
8161
8347
|
|
|
8162
8348
|
/** Optional parameters. */
|