This is the AutoRest configuration file for Security.
To build the SDK for Security, simply Install AutoRest and in this folder, run:
autorest
To see additional help and options, run:
autorest --help
directive:
- suppress: ValidFormats
from: securityContacts.json
where: $.definitions.SecurityContactProperties.properties.email.format
reason: email format is allowed
- suppress: ValidFormats
from: automations.json
where: $.definitions.AutomationActionLogicApp.properties.uri.format
reason: uri format is allowed
- suppress: PageableOperation
from: iotSecuritySolutionAnalytics.json
where: '$.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels"].get'
reason: The list returns limited number of items
- suppress: SECRET_PROPERTY
from: ingestionSettings.json
where: $.definitions.IngestionSettingToken.properties.token
reason: Secrets are OK to return in a POST response.
- suppress: SECRET_PROPERTY
from: ingestionSettings.json
where: $.definitions.IngestionConnectionString.properties.value
reason: Secrets are OK to return in a POST response.
- suppress: OperationsAPIImplementation
where: $.paths
from: settings.json
reason: Operations API has nothing to do with current additions.
- suppress: OperationsAPIImplementation
where: $.paths
from: assignments.json
reason: Suppression of OperationsAPI as it doesn't apply to this specific file.
- suppress: OperationsAPIImplementation
where: $.paths
from: standards.json
reason: Suppression of OperationsAPI as it doesn't apply to this specific file.
- suppress: OperationsAPIImplementation
where: $.paths
from: scanners.json
reason: Suppression of OperationsAPI as it doesn't apply to this specific file.
These are the global settings for the Security API.
title: SecurityCenter
description: API spec for Microsoft.Security (Azure Security Center) resource provider
openapi-type: arm
tag: package-composite-v3
The following packages may be composed from multiple api-versions.
These settings apply only when --tag=package-preview-2021-08
is specified on the command line.
input-file:
- Microsoft.Security/preview/2021-08-01-preview/standards.json
- Microsoft.Security/preview/2021-08-01-preview/assignments.json
override-info:
title: SecurityCenter
These settings apply only when --tag=package-preview-2021-12
is specified on the command line.
input-file:
- Microsoft.Security/preview/2021-12-01-preview/scanners.json
override-info:
title: SecurityCenter
These settings apply only when --tag=package-composite-v1
is specified on the command line.
input-file:
- Microsoft.Security/preview/2021-07-01-preview/securityConnectors.json
- Microsoft.Security/preview/2021-10-01-preview/mdeOnboardings.json
- Microsoft.Security/preview/2021-07-01-preview/customAssessmentAutomation.json
- Microsoft.Security/preview/2021-07-01-preview/customEntityStoreAssignment.json
- Microsoft.Security/preview/2021-05-01-preview/softwareInventories.json
- Microsoft.Security/preview/2020-07-01-preview/sqlVulnerabilityAssessmentsScanOperations.json
- Microsoft.Security/preview/2020-07-01-preview/sqlVulnerabilityAssessmentsScanResultsOperations.json
- Microsoft.Security/preview/2020-07-01-preview/sqlVulnerabilityAssessmentsBaselineRuleOperations.json
- Microsoft.Security/preview/2020-01-01-preview/secureScore.json
- Microsoft.Security/preview/2020-01-01-preview/connectors.json
- Microsoft.Security/preview/2019-01-01-preview/automations.json
- Microsoft.Security/preview/2019-01-01-preview/subAssessments.json
- Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json
- Microsoft.Security/preview/2017-08-01-preview/pricings.json
- Microsoft.Security/preview/2017-08-01-preview/securityContacts.json
- Microsoft.Security/preview/2017-08-01-preview/workspaceSettings.json
- Microsoft.Security/preview/2017-08-01-preview/autoProvisioningSettings.json
- Microsoft.Security/preview/2017-08-01-preview/compliances.json
- Microsoft.Security/preview/2017-08-01-preview/advancedThreatProtectionSettings.json
- Microsoft.Security/preview/2017-08-01-preview/deviceSecurityGroups.json
- Microsoft.Security/preview/2017-08-01-preview/settings.json
- Microsoft.Security/preview/2017-08-01-preview/informationProtectionPolicies.json
- Microsoft.Security/preview/2015-06-01-preview/operations.json
- Microsoft.Security/preview/2015-06-01-preview/locations.json
- Microsoft.Security/preview/2015-06-01-preview/tasks.json
- Microsoft.Security/preview/2015-06-01-preview/alerts.json
- Microsoft.Security/preview/2015-06-01-preview/discoveredSecuritySolutions.json
- Microsoft.Security/preview/2015-06-01-preview/jitNetworkAccessPolicies.json
- Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json
- Microsoft.Security/preview/2015-06-01-preview/externalSecuritySolutions.json
- Microsoft.Security/preview/2015-06-01-preview/topologies.json
- Microsoft.Security/preview/2015-06-01-preview/allowedConnections.json
- Microsoft.Security/preview/2015-06-01-preview/adaptiveNetworkHardenings.json
- Microsoft.Security/preview/2019-01-01-preview/alertsSuppressionRules.json
- Microsoft.Security/preview/2021-01-15-preview/ingestionSettings.json
# Needed when there is more than one input file
override-info:
title: SecurityCenter
These settings apply only when --tag=package-composite-v2
is specified on the command line.
input-file:
- Microsoft.Security/preview/2021-07-01-preview/securityConnectors.json
- Microsoft.Security/preview/2021-10-01-preview/mdeOnboardings.json
- Microsoft.Security/preview/2021-07-01-preview/customAssessmentAutomation.json
- Microsoft.Security/preview/2021-07-01-preview/customEntityStoreAssignment.json
- Microsoft.Security/preview/2021-05-01-preview/softwareInventories.json
- Microsoft.Security/preview/2020-07-01-preview/sqlVulnerabilityAssessmentsScanOperations.json
- Microsoft.Security/preview/2020-07-01-preview/sqlVulnerabilityAssessmentsScanResultsOperations.json
- Microsoft.Security/preview/2020-07-01-preview/sqlVulnerabilityAssessmentsBaselineRuleOperations.json
- Microsoft.Security/preview/2020-01-01-preview/secureScore.json
- Microsoft.Security/preview/2020-01-01-preview/connectors.json
- Microsoft.Security/preview/2019-01-01-preview/automations.json
- Microsoft.Security/preview/2019-01-01-preview/subAssessments.json
- Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json
- Microsoft.Security/stable/2018-06-01/pricings.json
- Microsoft.Security/preview/2017-08-01-preview/securityContacts.json
- Microsoft.Security/preview/2017-08-01-preview/workspaceSettings.json
- Microsoft.Security/preview/2017-08-01-preview/autoProvisioningSettings.json
- Microsoft.Security/preview/2017-08-01-preview/compliances.json
- Microsoft.Security/preview/2017-08-01-preview/advancedThreatProtectionSettings.json
- Microsoft.Security/preview/2017-08-01-preview/deviceSecurityGroups.json
- Microsoft.Security/preview/2017-08-01-preview/settings.json
- Microsoft.Security/preview/2017-08-01-preview/informationProtectionPolicies.json
- Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json
- Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutionAnalytics.json
- Microsoft.Security/preview/2015-06-01-preview/operations.json
- Microsoft.Security/preview/2015-06-01-preview/locations.json
- Microsoft.Security/preview/2015-06-01-preview/tasks.json
- Microsoft.Security/stable/2019-01-01/alerts.json
- Microsoft.Security/preview/2015-06-01-preview/discoveredSecuritySolutions.json
- Microsoft.Security/preview/2015-06-01-preview/jitNetworkAccessPolicies.json
- Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json
- Microsoft.Security/preview/2015-06-01-preview/externalSecuritySolutions.json
- Microsoft.Security/preview/2015-06-01-preview/topologies.json
- Microsoft.Security/preview/2015-06-01-preview/allowedConnections.json
- Microsoft.Security/preview/2015-06-01-preview/adaptiveNetworkHardenings.json
- Microsoft.Security/preview/2019-01-01-preview/alertsSuppressionRules.json
- Microsoft.Security/preview/2021-01-15-preview/ingestionSettings.json
# Needed when there is more than one input file
override-info:
title: SecurityCenter
These settings apply only when --tag=package-composite-v3
is specified on the command line.
input-file:
- Microsoft.Security/preview/2021-10-01-preview/mdeOnboardings.json
- Microsoft.Security/preview/2021-07-01-preview/customAssessmentAutomation.json
- Microsoft.Security/preview/2021-07-01-preview/customEntityStoreAssignment.json
- Microsoft.Security/stable/2017-08-01/complianceResults.json
- Microsoft.Security/stable/2018-06-01/pricings.json
- Microsoft.Security/stable/2019-01-01/advancedThreatProtectionSettings.json
- Microsoft.Security/stable/2019-08-01/deviceSecurityGroups.json
- Microsoft.Security/stable/2019-08-01/iotSecuritySolutions.json
- Microsoft.Security/stable/2019-08-01/iotSecuritySolutionAnalytics.json
- Microsoft.Security/preview/2015-06-01-preview/locations.json
- Microsoft.Security/preview/2015-06-01-preview/operations.json
- Microsoft.Security/preview/2015-06-01-preview/tasks.json
- Microsoft.Security/preview/2017-08-01-preview/autoProvisioningSettings.json
- Microsoft.Security/preview/2017-08-01-preview/compliances.json
- Microsoft.Security/preview/2017-08-01-preview/informationProtectionPolicies.json
- Microsoft.Security/preview/2017-08-01-preview/securityContacts.json
- Microsoft.Security/preview/2017-08-01-preview/workspaceSettings.json
- Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json
- Microsoft.Security/preview/2019-01-01-preview/subAssessments.json
- Microsoft.Security/preview/2019-01-01-preview/automations.json
- Microsoft.Security/preview/2019-01-01-preview/alertsSuppressionRules.json
- Microsoft.Security/stable/2020-01-01/serverVulnerabilityAssessments.json
- Microsoft.Security/stable/2021-06-01/assessmentMetadata.json
- Microsoft.Security/stable/2021-06-01/assessments.json
- Microsoft.Security/stable/2020-01-01/applicationWhitelistings.json
- Microsoft.Security/stable/2020-01-01/adaptiveNetworkHardenings.json
- Microsoft.Security/stable/2020-01-01/allowedConnections.json
- Microsoft.Security/stable/2020-01-01/topologies.json
- Microsoft.Security/stable/2020-01-01/jitNetworkAccessPolicies.json
- Microsoft.Security/stable/2020-01-01/discoveredSecuritySolutions.json
- Microsoft.Security/stable/2020-01-01/securitySolutionsReferenceData.json
- Microsoft.Security/stable/2020-01-01/externalSecuritySolutions.json
- Microsoft.Security/stable/2020-01-01/secureScore.json
- Microsoft.Security/stable/2020-01-01/SecuritySolutions.json
- Microsoft.Security/preview/2020-01-01-preview/connectors.json
- Microsoft.Security/preview/2020-07-01-preview/sqlVulnerabilityAssessmentsScanOperations.json
- Microsoft.Security/preview/2020-07-01-preview/sqlVulnerabilityAssessmentsScanResultsOperations.json
- Microsoft.Security/preview/2020-07-01-preview/sqlVulnerabilityAssessmentsBaselineRuleOperations.json
- Microsoft.Security/stable/2021-01-01/alerts.json
- Microsoft.Security/stable/2021-07-01/settings.json
- Microsoft.Security/preview/2021-01-15-preview/ingestionSettings.json
- Microsoft.Security/preview/2021-05-01-preview/softwareInventories.json
- Microsoft.Security/preview/2021-07-01-preview/securityConnectors.json
# Needed when there is more than one input file
override-info:
title: SecurityCenter
These settings apply only when --tag=package-2015-06-preview-only
is specified on the command line. This tag is used for Ruby SDK.
input-file:
- Microsoft.Security/preview/2015-06-01-preview/adaptiveNetworkHardenings.json
- Microsoft.Security/preview/2015-06-01-preview/alerts.json
- Microsoft.Security/preview/2015-06-01-preview/allowedConnections.json
- Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json
- Microsoft.Security/preview/2015-06-01-preview/discoveredSecuritySolutions.json
- Microsoft.Security/preview/2015-06-01-preview/externalSecuritySolutions.json
- Microsoft.Security/preview/2015-06-01-preview/jitNetworkAccessPolicies.json
- Microsoft.Security/preview/2015-06-01-preview/locations.json
- Microsoft.Security/preview/2015-06-01-preview/operations.json
- Microsoft.Security/preview/2015-06-01-preview/tasks.json
- Microsoft.Security/preview/2015-06-01-preview/topologies.json
# Needed when there is more than one input file
override-info:
title: SecurityCenter
These settings apply only when --tag=package-2017-08-preview-only
is specified on the command line. This tag is used for Ruby SDK.
input-file:
- Microsoft.Security/preview/2017-08-01-preview/advancedThreatProtectionSettings.json
- Microsoft.Security/preview/2017-08-01-preview/autoProvisioningSettings.json
- Microsoft.Security/preview/2017-08-01-preview/compliances.json
- Microsoft.Security/preview/2017-08-01-preview/deviceSecurityGroups.json
- Microsoft.Security/preview/2017-08-01-preview/informationProtectionPolicies.json
- Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutionAnalytics.json
- Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json
- Microsoft.Security/preview/2017-08-01-preview/pricings.json
- Microsoft.Security/preview/2017-08-01-preview/securityContacts.json
- Microsoft.Security/preview/2017-08-01-preview/settings.json
- Microsoft.Security/preview/2017-08-01-preview/workspaceSettings.json
# Needed when there is more than one input file
override-info:
title: SecurityCenter
These settings apply only when --tag=package-2019-01-preview-only
is specified on the command line. This tag is used for Ruby SDK.
input-file:
- Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json
- Microsoft.Security/preview/2019-01-01-preview/alertsSuppressionRules.json
- Microsoft.Security/preview/2019-01-01-preview/assessmentMetadata.json
- Microsoft.Security/preview/2019-01-01-preview/assessments.json
# Needed when there is more than one input file
override-info:
title: SecurityCenter
These settings apply only when --tag=package-2020-01-preview-only
is specified on the command line. This tag is used for Ruby SDK.
input-file:
- Microsoft.Security/preview/2020-01-01-preview/secureScore.json
- Microsoft.Security/preview/2020-01-01-preview/connectors.json
# Needed when there is more than one input file
override-info:
title: SecurityCenter
These settings apply only when --tag=package-2017-08-only
is specified on the command line. This tag is used for Ruby SDK.
input-file:
- Microsoft.Security/stable/2017-08-01/complianceResults.json
# Needed when there is more than one input file
override-info:
title: SecurityCenter
These settings apply only when --tag=package-2018-06-only
is specified on the command line. This tag is used for Ruby SDK.
input-file:
- Microsoft.Security/stable/2018-06-01/pricings.json
# Needed when there is more than one input file
override-info:
title: SecurityCenter
These settings apply only when --tag=package-2019-01-only
is specified on the command line. This tag is used for Ruby SDK.
input-file:
- Microsoft.Security/stable/2019-01-01/alerts.json
- Microsoft.Security/stable/2019-01-01/settings.json
# Needed when there is more than one input file
override-info:
title: SecurityCenter
These settings apply only when --tag=package-2019-08-only
is specified on the command line. This tag is used for Ruby SDK.
input-file:
- Microsoft.Security/stable/2019-08-01/iotSecuritySolutionAnalytics.json
- Microsoft.Security/stable/2019-08-01/iotSecuritySolutions.json
- Microsoft.Security/stable/2019-08-01/iotAlertTypes.json
- Microsoft.Security/stable/2019-08-01/iotAlerts.json
- Microsoft.Security/stable/2019-08-01/iotRecommendationTypes.json
- Microsoft.Security/stable/2019-08-01/iotRecommendations.json
# Needed when there is more than one input file
override-info:
title: SecurityCenter
These settings apply only when --tag=package-2020-01-preview-only
is specified on the command line. This tag is used for Ruby SDK.
input-file:
- Microsoft.Security/preview/2020-01-01-preview/secureScore.json
# Needed when there is more than one input file
override-info:
title: SecurityCenter
These settings apply only when --tag=package-2020-01-only
is specified on the command line. This tag is used for Ruby SDK.
input-file:
- Microsoft.Security/stable/2020-01-01/adaptiveNetworkHardenings.json
- Microsoft.Security/stable/2020-01-01/allowedConnections.json
- Microsoft.Security/stable/2020-01-01/applicationWhitelistings.json
- Microsoft.Security/stable/2020-01-01/assessmentMetadata.json
- Microsoft.Security/stable/2020-01-01/assessments.json
- Microsoft.Security/stable/2020-01-01/discoveredSecuritySolutions.json
- Microsoft.Security/stable/2020-01-01/SecuritySolutions.json
- Microsoft.Security/stable/2020-01-01/securitySolutionsReferenceData.json
- Microsoft.Security/stable/2020-01-01/externalSecuritySolutions.json
- Microsoft.Security/stable/2020-01-01/jitNetworkAccessPolicies.json
- Microsoft.Security/stable/2020-01-01/serverVulnerabilityAssessments.json
- Microsoft.Security/stable/2020-01-01/topologies.json
- Microsoft.Security/stable/2020-01-01/secureScore.json
- Microsoft.Security/stable/2020-01-01/alerts.json
# Needed when there is more than one input file
override-info:
title: SecurityCenter
These settings apply only when --tag=package-2020-07-preview-only
is specified on the command line. This tag is used for Ruby SDK.
input-file:
- Microsoft.Security/preview/2020-07-01-preview/sqlVulnerabilityAssessmentsScanOperations.json
- Microsoft.Security/preview/2020-07-01-preview/sqlVulnerabilityAssessmentsScanResultsOperations.json
- Microsoft.Security/preview/2020-07-01-preview/sqlVulnerabilityAssessmentsBaselineRuleOperations.json
# Needed when there is more than one input file
override-info:
title: SecurityCenter
These settings apply only when --tag=package-2021-01-preview-only
is specified on the command line. This tag is used for Ruby SDK.
input-file:
- Microsoft.Security/preview/2021-01-15-preview/ingestionSettings.json
# Needed when there is more than one input file
override-info:
title: SecurityCenter
These settings apply only when --tag=package-2021-05-preview-only
is specified on the command line. This tag is used for Ruby SDK.
input-file:
- Microsoft.Security/preview/2021-05-01-preview/softwareInventories.json
# Needed when there is more than one input file
override-info:
title: SecurityCenter
These settings apply only when --tag=package-2021-07-preview-only
is specified on the command line.
input-file:
- Microsoft.Security/preview/2021-07-01-preview/customAssessmentAutomation.json
- Microsoft.Security/preview/2021-07-01-preview/customEntityStoreAssignment.json
These settings apply only when --tag=package-2021-10-preview-only
is specified on the command line.
input-file:
- Microsoft.Security/preview/2021-10-01-preview/mdeOnboardings.json
override-info: title: SecurityCenter
### Tag: package-2021-06-only
These settings apply only when `--tag=package-2021-06-only` is specified on the command line. This tag is used for Ruby SDK.
``` yaml $(tag) == 'package-2021-06-only'
input-file:
- Microsoft.Security/stable/2021-06-01/settings.json
- Microsoft.Security/stable/2021-06-01/assessmentMetadata.json
- Microsoft.Security/stable/2021-06-01/assessments.json
# Needed when there is more than one input file
override-info:
title: SecurityCenter
These settings apply only when --tag=package-preview-2021-07-preview-only
is specified on the command line.
input-file:
- Microsoft.Security/preview/2021-07-01-preview/securityConnectors.json
# Needed when there is more than one input file
override-info:
title: SecurityCenter
This section describes what SDK should be generated by the automatic system. This is not used by Autorest itself.
swagger-to-sdk:
- repo: azure-sdk-for-net
- repo: azure-sdk-for-go
- repo: azure-sdk-for-go-track2
- repo: azure-sdk-for-python-track2
- repo: azure-sdk-for-js
- repo: azure-sdk-for-node
- repo: azure-sdk-for-java
- repo: azure-resource-manager-schemas
See configuration in readme.csharp.md
See configuration in readme.go.md
See configuration in readme.python.md
See configuration in readme.nodejs.md
See configuration in readme.typescript.md
See configuration in readme.ruby.md
See configuration in readme.java.md