@azure/arm-security 6.0.0-alpha.20250925.1 → 6.0.0-alpha.20250929.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # Release History
2
2
 
3
- ## 6.0.0-beta.6 (Unreleased)
3
+ ## 6.0.0-beta.7 (Unreleased)
4
4
 
5
5
  ### Features Added
6
6
 
@@ -10,6 +10,12 @@
10
10
 
11
11
  ### Other Changes
12
12
 
13
+ ## 6.0.0-beta.6 (2025-08-22)
14
+
15
+ ### Other Changes
16
+
17
+ - Other fixes
18
+
13
19
  ## 6.0.0-beta.5 (2024-05-16)
14
20
  Compared with version 5.0.0
15
21
 
@@ -32,7 +32,7 @@ export class SecurityCenter extends coreClient.ServiceClient {
32
32
  requestContentType: "application/json; charset=utf-8",
33
33
  credential: credentials,
34
34
  };
35
- const packageDetails = `azsdk-js-arm-security/6.0.0-beta.6`;
35
+ const packageDetails = `azsdk-js-arm-security/6.0.0-beta.7`;
36
36
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
37
37
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
38
38
  : `${packageDetails}`;
@@ -1 +1 @@
1
- {"version":3,"file":"securityCenter.js","sourceRoot":"","sources":["../../src/securityCenter.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAE9D,OAAO,EACL,aAAa,EACb,cAAc,EACd,SAAS,EACT,4BAA4B,EAC5B,eAAe,EACf,iCAAiC,EACjC,qBAAqB,EACrB,0BAA0B,EAC1B,eAAe,EACf,iCAAiC,EACjC,gCAAgC,EAChC,mCAAmC,EACnC,kBAAkB,EAClB,cAAc,EACd,oBAAoB,EACpB,uBAAuB,EACvB,+BAA+B,EAC/B,gCAAgC,EAChC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ACvE,IAAI,EAAE,2DAA2D;IACjE,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,8BAA8B;SACnD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,WAAW,EAAE,UAAU,CAAC,mBAAmB;IAC3C,eAAe,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC;IAC1C,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,2DAA2D;IACjE,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,8BAA8B;SACnD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC;IAC1C,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n LocationsImpl,\n OperationsImpl,\n TasksImpl,\n AutoProvisioningSettingsImpl,\n CompliancesImpl,\n InformationProtectionPoliciesImpl,\n WorkspaceSettingsImpl,\n AlertsSuppressionRulesImpl,\n AutomationsImpl,\n RegulatoryComplianceStandardsImpl,\n RegulatoryComplianceControlsImpl,\n RegulatoryComplianceAssessmentsImpl,\n SubAssessmentsImpl,\n ConnectorsImpl,\n SecurityContactsImpl,\n SoftwareInventoriesImpl,\n CustomAssessmentAutomationsImpl,\n CustomEntityStoreAssignmentsImpl,\n MdeOnboardingsImpl,\n GovernanceAssignmentsImpl,\n GovernanceRulesImpl,\n ApplicationsImpl,\n ApplicationOperationsImpl,\n SecurityConnectorApplicationsImpl,\n SecurityConnectorApplicationImpl,\n DefenderForStorageImpl,\n SecurityOperatorsImpl,\n SqlVulnerabilityAssessmentBaselineRulesImpl,\n SqlVulnerabilityAssessmentScansImpl,\n SqlVulnerabilityAssessmentScanResultsImpl,\n SensitivitySettingsImpl,\n HealthReportsImpl,\n AzureDevOpsOrgsImpl,\n AzureDevOpsProjectsImpl,\n AzureDevOpsReposImpl,\n DevOpsConfigurationsImpl,\n GitHubOwnersImpl,\n GitHubReposImpl,\n GitLabGroupsImpl,\n GitLabSubgroupsImpl,\n GitLabProjectsImpl,\n DevOpsOperationResultsImpl,\n SecurityConnectorsImpl,\n ComplianceResultsImpl,\n AdvancedThreatProtectionImpl,\n DeviceSecurityGroupsImpl,\n IotSecuritySolutionAnalyticsImpl,\n IotSecuritySolutionsAnalyticsAggregatedAlertImpl,\n IotSecuritySolutionsAnalyticsRecommendationImpl,\n IotSecuritySolutionImpl,\n AdaptiveNetworkHardeningsImpl,\n AllowedConnectionsImpl,\n AdaptiveApplicationControlsImpl,\n DiscoveredSecuritySolutionsImpl,\n ExternalSecuritySolutionsImpl,\n JitNetworkAccessPoliciesImpl,\n SecureScoresImpl,\n SecureScoreControlsImpl,\n SecureScoreControlDefinitionsImpl,\n SecuritySolutionsImpl,\n SecuritySolutionsReferenceDataOperationsImpl,\n ServerVulnerabilityAssessmentOperationsImpl,\n TopologyImpl,\n AssessmentsMetadataImpl,\n AssessmentsImpl,\n AlertsImpl,\n SettingsImpl,\n ServerVulnerabilityAssessmentsSettingsImpl,\n APICollectionsImpl,\n PricingsImpl,\n} from \"./operations/index.js\";\nimport {\n Locations,\n Operations,\n Tasks,\n AutoProvisioningSettings,\n Compliances,\n InformationProtectionPolicies,\n WorkspaceSettings,\n AlertsSuppressionRules,\n Automations,\n RegulatoryComplianceStandards,\n RegulatoryComplianceControls,\n RegulatoryComplianceAssessments,\n SubAssessments,\n Connectors,\n SecurityContacts,\n SoftwareInventories,\n CustomAssessmentAutomations,\n CustomEntityStoreAssignments,\n MdeOnboardings,\n GovernanceAssignments,\n GovernanceRules,\n Applications,\n ApplicationOperations,\n SecurityConnectorApplications,\n SecurityConnectorApplication,\n DefenderForStorage,\n SecurityOperators,\n SqlVulnerabilityAssessmentBaselineRules,\n SqlVulnerabilityAssessmentScans,\n SqlVulnerabilityAssessmentScanResults,\n SensitivitySettings,\n HealthReports,\n AzureDevOpsOrgs,\n AzureDevOpsProjects,\n AzureDevOpsRepos,\n DevOpsConfigurations,\n GitHubOwners,\n GitHubRepos,\n GitLabGroups,\n GitLabSubgroups,\n GitLabProjects,\n DevOpsOperationResults,\n SecurityConnectors,\n ComplianceResults,\n AdvancedThreatProtection,\n DeviceSecurityGroups,\n IotSecuritySolutionAnalytics,\n IotSecuritySolutionsAnalyticsAggregatedAlert,\n IotSecuritySolutionsAnalyticsRecommendation,\n IotSecuritySolution,\n AdaptiveNetworkHardenings,\n AllowedConnections,\n AdaptiveApplicationControls,\n DiscoveredSecuritySolutions,\n ExternalSecuritySolutions,\n JitNetworkAccessPolicies,\n SecureScores,\n SecureScoreControls,\n SecureScoreControlDefinitions,\n SecuritySolutions,\n SecuritySolutionsReferenceDataOperations,\n ServerVulnerabilityAssessmentOperations,\n Topology,\n AssessmentsMetadata,\n Assessments,\n Alerts,\n Settings,\n ServerVulnerabilityAssessmentsSettings,\n APICollections,\n Pricings,\n} from \"./operationsInterfaces/index.js\";\nimport * as Parameters from \"./models/parameters.js\";\nimport * as Mappers from \"./models/mappers.js\";\nimport {\n SecurityCenterOptionalParams,\n UpdateSensitivitySettingsRequest,\n UpdateSensitivitySettingsOptionalParams,\n UpdateSensitivitySettingsResponse,\n GetSensitivitySettingsOptionalParams,\n GetSensitivitySettingsOperationResponse,\n} from \"./models/index.js\";\n\nexport class SecurityCenter extends coreClient.ServiceClient {\n $host: string;\n subscriptionId?: string;\n\n /**\n * Initializes a new instance of the SecurityCenter class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId Azure subscription ID\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: SecurityCenterOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n options?: SecurityCenterOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionIdOrOptions?: SecurityCenterOptionalParams | string,\n options?: SecurityCenterOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n\n let subscriptionId: string | undefined;\n\n if (typeof subscriptionIdOrOptions === \"string\") {\n subscriptionId = subscriptionIdOrOptions;\n } else if (typeof subscriptionIdOrOptions === \"object\") {\n options = subscriptionIdOrOptions;\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: SecurityCenterOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-security/6.0.0-beta.6`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.locations = new LocationsImpl(this);\n this.operations = new OperationsImpl(this);\n this.tasks = new TasksImpl(this);\n this.autoProvisioningSettings = new AutoProvisioningSettingsImpl(this);\n this.compliances = new CompliancesImpl(this);\n this.informationProtectionPolicies = new InformationProtectionPoliciesImpl(\n this,\n );\n this.workspaceSettings = new WorkspaceSettingsImpl(this);\n this.alertsSuppressionRules = new AlertsSuppressionRulesImpl(this);\n this.automations = new AutomationsImpl(this);\n this.regulatoryComplianceStandards = new RegulatoryComplianceStandardsImpl(\n this,\n );\n this.regulatoryComplianceControls = new RegulatoryComplianceControlsImpl(\n this,\n );\n this.regulatoryComplianceAssessments =\n new RegulatoryComplianceAssessmentsImpl(this);\n this.subAssessments = new SubAssessmentsImpl(this);\n this.connectors = new ConnectorsImpl(this);\n this.securityContacts = new SecurityContactsImpl(this);\n this.softwareInventories = new SoftwareInventoriesImpl(this);\n this.customAssessmentAutomations = new CustomAssessmentAutomationsImpl(\n this,\n );\n this.customEntityStoreAssignments = new CustomEntityStoreAssignmentsImpl(\n this,\n );\n this.mdeOnboardings = new MdeOnboardingsImpl(this);\n this.governanceAssignments = new GovernanceAssignmentsImpl(this);\n this.governanceRules = new GovernanceRulesImpl(this);\n this.applications = new ApplicationsImpl(this);\n this.applicationOperations = new ApplicationOperationsImpl(this);\n this.securityConnectorApplications = new SecurityConnectorApplicationsImpl(\n this,\n );\n this.securityConnectorApplication = new SecurityConnectorApplicationImpl(\n this,\n );\n this.defenderForStorage = new DefenderForStorageImpl(this);\n this.securityOperators = new SecurityOperatorsImpl(this);\n this.sqlVulnerabilityAssessmentBaselineRules =\n new SqlVulnerabilityAssessmentBaselineRulesImpl(this);\n this.sqlVulnerabilityAssessmentScans =\n new SqlVulnerabilityAssessmentScansImpl(this);\n this.sqlVulnerabilityAssessmentScanResults =\n new SqlVulnerabilityAssessmentScanResultsImpl(this);\n this.sensitivitySettings = new SensitivitySettingsImpl(this);\n this.healthReports = new HealthReportsImpl(this);\n this.azureDevOpsOrgs = new AzureDevOpsOrgsImpl(this);\n this.azureDevOpsProjects = new AzureDevOpsProjectsImpl(this);\n this.azureDevOpsRepos = new AzureDevOpsReposImpl(this);\n this.devOpsConfigurations = new DevOpsConfigurationsImpl(this);\n this.gitHubOwners = new GitHubOwnersImpl(this);\n this.gitHubRepos = new GitHubReposImpl(this);\n this.gitLabGroups = new GitLabGroupsImpl(this);\n this.gitLabSubgroups = new GitLabSubgroupsImpl(this);\n this.gitLabProjects = new GitLabProjectsImpl(this);\n this.devOpsOperationResults = new DevOpsOperationResultsImpl(this);\n this.securityConnectors = new SecurityConnectorsImpl(this);\n this.complianceResults = new ComplianceResultsImpl(this);\n this.advancedThreatProtection = new AdvancedThreatProtectionImpl(this);\n this.deviceSecurityGroups = new DeviceSecurityGroupsImpl(this);\n this.iotSecuritySolutionAnalytics = new IotSecuritySolutionAnalyticsImpl(\n this,\n );\n this.iotSecuritySolutionsAnalyticsAggregatedAlert =\n new IotSecuritySolutionsAnalyticsAggregatedAlertImpl(this);\n this.iotSecuritySolutionsAnalyticsRecommendation =\n new IotSecuritySolutionsAnalyticsRecommendationImpl(this);\n this.iotSecuritySolution = new IotSecuritySolutionImpl(this);\n this.adaptiveNetworkHardenings = new AdaptiveNetworkHardeningsImpl(this);\n this.allowedConnections = new AllowedConnectionsImpl(this);\n this.adaptiveApplicationControls = new AdaptiveApplicationControlsImpl(\n this,\n );\n this.discoveredSecuritySolutions = new DiscoveredSecuritySolutionsImpl(\n this,\n );\n this.externalSecuritySolutions = new ExternalSecuritySolutionsImpl(this);\n this.jitNetworkAccessPolicies = new JitNetworkAccessPoliciesImpl(this);\n this.secureScores = new SecureScoresImpl(this);\n this.secureScoreControls = new SecureScoreControlsImpl(this);\n this.secureScoreControlDefinitions = new SecureScoreControlDefinitionsImpl(\n this,\n );\n this.securitySolutions = new SecuritySolutionsImpl(this);\n this.securitySolutionsReferenceDataOperations =\n new SecuritySolutionsReferenceDataOperationsImpl(this);\n this.serverVulnerabilityAssessmentOperations =\n new ServerVulnerabilityAssessmentOperationsImpl(this);\n this.topology = new TopologyImpl(this);\n this.assessmentsMetadata = new AssessmentsMetadataImpl(this);\n this.assessments = new AssessmentsImpl(this);\n this.alerts = new AlertsImpl(this);\n this.settings = new SettingsImpl(this);\n this.serverVulnerabilityAssessmentsSettings =\n new ServerVulnerabilityAssessmentsSettingsImpl(this);\n this.aPICollections = new APICollectionsImpl(this);\n this.pricings = new PricingsImpl(this);\n }\n\n /**\n * Updates data sensitivity settings for sensitive data discovery\n * @param sensitivitySettings The data sensitivity settings to update\n * @param options The options parameters.\n */\n updateSensitivitySettings(\n sensitivitySettings: UpdateSensitivitySettingsRequest,\n options?: UpdateSensitivitySettingsOptionalParams,\n ): Promise<UpdateSensitivitySettingsResponse> {\n return this.sendOperationRequest(\n { sensitivitySettings, options },\n updateSensitivitySettingsOperationSpec,\n );\n }\n\n /**\n * Gets data sensitivity settings for sensitive data discovery\n * @param options The options parameters.\n */\n getSensitivitySettings(\n options?: GetSensitivitySettingsOptionalParams,\n ): Promise<GetSensitivitySettingsOperationResponse> {\n return this.sendOperationRequest(\n { options },\n getSensitivitySettingsOperationSpec,\n );\n }\n\n locations: Locations;\n operations: Operations;\n tasks: Tasks;\n autoProvisioningSettings: AutoProvisioningSettings;\n compliances: Compliances;\n informationProtectionPolicies: InformationProtectionPolicies;\n workspaceSettings: WorkspaceSettings;\n alertsSuppressionRules: AlertsSuppressionRules;\n automations: Automations;\n regulatoryComplianceStandards: RegulatoryComplianceStandards;\n regulatoryComplianceControls: RegulatoryComplianceControls;\n regulatoryComplianceAssessments: RegulatoryComplianceAssessments;\n subAssessments: SubAssessments;\n connectors: Connectors;\n securityContacts: SecurityContacts;\n softwareInventories: SoftwareInventories;\n customAssessmentAutomations: CustomAssessmentAutomations;\n customEntityStoreAssignments: CustomEntityStoreAssignments;\n mdeOnboardings: MdeOnboardings;\n governanceAssignments: GovernanceAssignments;\n governanceRules: GovernanceRules;\n applications: Applications;\n applicationOperations: ApplicationOperations;\n securityConnectorApplications: SecurityConnectorApplications;\n securityConnectorApplication: SecurityConnectorApplication;\n defenderForStorage: DefenderForStorage;\n securityOperators: SecurityOperators;\n sqlVulnerabilityAssessmentBaselineRules: SqlVulnerabilityAssessmentBaselineRules;\n sqlVulnerabilityAssessmentScans: SqlVulnerabilityAssessmentScans;\n sqlVulnerabilityAssessmentScanResults: SqlVulnerabilityAssessmentScanResults;\n sensitivitySettings: SensitivitySettings;\n healthReports: HealthReports;\n azureDevOpsOrgs: AzureDevOpsOrgs;\n azureDevOpsProjects: AzureDevOpsProjects;\n azureDevOpsRepos: AzureDevOpsRepos;\n devOpsConfigurations: DevOpsConfigurations;\n gitHubOwners: GitHubOwners;\n gitHubRepos: GitHubRepos;\n gitLabGroups: GitLabGroups;\n gitLabSubgroups: GitLabSubgroups;\n gitLabProjects: GitLabProjects;\n devOpsOperationResults: DevOpsOperationResults;\n securityConnectors: SecurityConnectors;\n complianceResults: ComplianceResults;\n advancedThreatProtection: AdvancedThreatProtection;\n deviceSecurityGroups: DeviceSecurityGroups;\n iotSecuritySolutionAnalytics: IotSecuritySolutionAnalytics;\n iotSecuritySolutionsAnalyticsAggregatedAlert: IotSecuritySolutionsAnalyticsAggregatedAlert;\n iotSecuritySolutionsAnalyticsRecommendation: IotSecuritySolutionsAnalyticsRecommendation;\n iotSecuritySolution: IotSecuritySolution;\n adaptiveNetworkHardenings: AdaptiveNetworkHardenings;\n allowedConnections: AllowedConnections;\n adaptiveApplicationControls: AdaptiveApplicationControls;\n discoveredSecuritySolutions: DiscoveredSecuritySolutions;\n externalSecuritySolutions: ExternalSecuritySolutions;\n jitNetworkAccessPolicies: JitNetworkAccessPolicies;\n secureScores: SecureScores;\n secureScoreControls: SecureScoreControls;\n secureScoreControlDefinitions: SecureScoreControlDefinitions;\n securitySolutions: SecuritySolutions;\n securitySolutionsReferenceDataOperations: SecuritySolutionsReferenceDataOperations;\n serverVulnerabilityAssessmentOperations: ServerVulnerabilityAssessmentOperations;\n topology: Topology;\n assessmentsMetadata: AssessmentsMetadata;\n assessments: Assessments;\n alerts: Alerts;\n settings: Settings;\n serverVulnerabilityAssessmentsSettings: ServerVulnerabilityAssessmentsSettings;\n aPICollections: APICollections;\n pricings: Pricings;\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst updateSensitivitySettingsOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Security/sensitivitySettings/current\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.GetSensitivitySettingsResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.sensitivitySettings,\n queryParameters: [Parameters.apiVersion13],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getSensitivitySettingsOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Security/sensitivitySettings/current\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GetSensitivitySettingsResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion13],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"securityCenter.js","sourceRoot":"","sources":["../../src/securityCenter.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAE9D,OAAO,EACL,aAAa,EACb,cAAc,EACd,SAAS,EACT,4BAA4B,EAC5B,eAAe,EACf,iCAAiC,EACjC,qBAAqB,EACrB,0BAA0B,EAC1B,eAAe,EACf,iCAAiC,EACjC,gCAAgC,EAChC,mCAAmC,EACnC,kBAAkB,EAClB,cAAc,EACd,oBAAoB,EACpB,uBAAuB,EACvB,+BAA+B,EAC/B,gCAAgC,EAChC,kBAAkB,EAClB,yBAAyB,EACzB,mBAAmB,EACnB,gBAAgB,EAChB,yBAAyB,EACzB,iCAAiC,EACjC,gCAAgC,EAChC,sBAAsB,EACtB,qBAAqB,EACrB,2CAA2C,EAC3C,mCAAmC,EACnC,yCAAyC,EACzC,uBAAuB,EACvB,iBAAiB,EACjB,mBAAmB,EACnB,uBAAuB,EACvB,oBAAoB,EACpB,wBAAwB,EACxB,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EAClB,0BAA0B,EAC1B,sBAAsB,EACtB,qBAAqB,EACrB,4BAA4B,EAC5B,wBAAwB,EACxB,gCAAgC,EAChC,gDAAgD,EAChD,+CAA+C,EAC/C,uBAAuB,EACvB,6BAA6B,EAC7B,sBAAsB,EACtB,+BAA+B,EAC/B,+BAA+B,EAC/B,6BAA6B,EAC7B,4BAA4B,EAC5B,gBAAgB,EAChB,uBAAuB,EACvB,iCAAiC,EACjC,qBAAqB,EACrB,4CAA4C,EAC5C,2CAA2C,EAC3C,YAAY,EACZ,uBAAuB,EACvB,eAAe,EACf,UAAU,EACV,YAAY,EAC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,YAAY,CAAC;IAC1C,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n LocationsImpl,\n OperationsImpl,\n TasksImpl,\n AutoProvisioningSettingsImpl,\n CompliancesImpl,\n InformationProtectionPoliciesImpl,\n WorkspaceSettingsImpl,\n AlertsSuppressionRulesImpl,\n AutomationsImpl,\n RegulatoryComplianceStandardsImpl,\n RegulatoryComplianceControlsImpl,\n RegulatoryComplianceAssessmentsImpl,\n SubAssessmentsImpl,\n ConnectorsImpl,\n SecurityContactsImpl,\n SoftwareInventoriesImpl,\n CustomAssessmentAutomationsImpl,\n CustomEntityStoreAssignmentsImpl,\n MdeOnboardingsImpl,\n GovernanceAssignmentsImpl,\n GovernanceRulesImpl,\n ApplicationsImpl,\n ApplicationOperationsImpl,\n SecurityConnectorApplicationsImpl,\n SecurityConnectorApplicationImpl,\n DefenderForStorageImpl,\n SecurityOperatorsImpl,\n SqlVulnerabilityAssessmentBaselineRulesImpl,\n SqlVulnerabilityAssessmentScansImpl,\n SqlVulnerabilityAssessmentScanResultsImpl,\n SensitivitySettingsImpl,\n HealthReportsImpl,\n AzureDevOpsOrgsImpl,\n AzureDevOpsProjectsImpl,\n AzureDevOpsReposImpl,\n DevOpsConfigurationsImpl,\n GitHubOwnersImpl,\n GitHubReposImpl,\n GitLabGroupsImpl,\n GitLabSubgroupsImpl,\n GitLabProjectsImpl,\n DevOpsOperationResultsImpl,\n SecurityConnectorsImpl,\n ComplianceResultsImpl,\n AdvancedThreatProtectionImpl,\n DeviceSecurityGroupsImpl,\n IotSecuritySolutionAnalyticsImpl,\n IotSecuritySolutionsAnalyticsAggregatedAlertImpl,\n IotSecuritySolutionsAnalyticsRecommendationImpl,\n IotSecuritySolutionImpl,\n AdaptiveNetworkHardeningsImpl,\n AllowedConnectionsImpl,\n AdaptiveApplicationControlsImpl,\n DiscoveredSecuritySolutionsImpl,\n ExternalSecuritySolutionsImpl,\n JitNetworkAccessPoliciesImpl,\n SecureScoresImpl,\n SecureScoreControlsImpl,\n SecureScoreControlDefinitionsImpl,\n SecuritySolutionsImpl,\n SecuritySolutionsReferenceDataOperationsImpl,\n ServerVulnerabilityAssessmentOperationsImpl,\n TopologyImpl,\n AssessmentsMetadataImpl,\n AssessmentsImpl,\n AlertsImpl,\n SettingsImpl,\n ServerVulnerabilityAssessmentsSettingsImpl,\n APICollectionsImpl,\n PricingsImpl,\n} from \"./operations/index.js\";\nimport {\n Locations,\n Operations,\n Tasks,\n AutoProvisioningSettings,\n Compliances,\n InformationProtectionPolicies,\n WorkspaceSettings,\n AlertsSuppressionRules,\n Automations,\n RegulatoryComplianceStandards,\n RegulatoryComplianceControls,\n RegulatoryComplianceAssessments,\n SubAssessments,\n Connectors,\n SecurityContacts,\n SoftwareInventories,\n CustomAssessmentAutomations,\n CustomEntityStoreAssignments,\n MdeOnboardings,\n GovernanceAssignments,\n GovernanceRules,\n Applications,\n ApplicationOperations,\n SecurityConnectorApplications,\n SecurityConnectorApplication,\n DefenderForStorage,\n SecurityOperators,\n SqlVulnerabilityAssessmentBaselineRules,\n SqlVulnerabilityAssessmentScans,\n SqlVulnerabilityAssessmentScanResults,\n SensitivitySettings,\n HealthReports,\n AzureDevOpsOrgs,\n AzureDevOpsProjects,\n AzureDevOpsRepos,\n DevOpsConfigurations,\n GitHubOwners,\n GitHubRepos,\n GitLabGroups,\n GitLabSubgroups,\n GitLabProjects,\n DevOpsOperationResults,\n SecurityConnectors,\n ComplianceResults,\n AdvancedThreatProtection,\n DeviceSecurityGroups,\n IotSecuritySolutionAnalytics,\n IotSecuritySolutionsAnalyticsAggregatedAlert,\n IotSecuritySolutionsAnalyticsRecommendation,\n IotSecuritySolution,\n AdaptiveNetworkHardenings,\n AllowedConnections,\n AdaptiveApplicationControls,\n DiscoveredSecuritySolutions,\n ExternalSecuritySolutions,\n JitNetworkAccessPolicies,\n SecureScores,\n SecureScoreControls,\n SecureScoreControlDefinitions,\n SecuritySolutions,\n SecuritySolutionsReferenceDataOperations,\n ServerVulnerabilityAssessmentOperations,\n Topology,\n AssessmentsMetadata,\n Assessments,\n Alerts,\n Settings,\n ServerVulnerabilityAssessmentsSettings,\n APICollections,\n Pricings,\n} from \"./operationsInterfaces/index.js\";\nimport * as Parameters from \"./models/parameters.js\";\nimport * as Mappers from \"./models/mappers.js\";\nimport {\n SecurityCenterOptionalParams,\n UpdateSensitivitySettingsRequest,\n UpdateSensitivitySettingsOptionalParams,\n UpdateSensitivitySettingsResponse,\n GetSensitivitySettingsOptionalParams,\n GetSensitivitySettingsOperationResponse,\n} from \"./models/index.js\";\n\nexport class SecurityCenter extends coreClient.ServiceClient {\n $host: string;\n subscriptionId?: string;\n\n /**\n * Initializes a new instance of the SecurityCenter class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId Azure subscription ID\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: SecurityCenterOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n options?: SecurityCenterOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionIdOrOptions?: SecurityCenterOptionalParams | string,\n options?: SecurityCenterOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n\n let subscriptionId: string | undefined;\n\n if (typeof subscriptionIdOrOptions === \"string\") {\n subscriptionId = subscriptionIdOrOptions;\n } else if (typeof subscriptionIdOrOptions === \"object\") {\n options = subscriptionIdOrOptions;\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: SecurityCenterOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-security/6.0.0-beta.7`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.locations = new LocationsImpl(this);\n this.operations = new OperationsImpl(this);\n this.tasks = new TasksImpl(this);\n this.autoProvisioningSettings = new AutoProvisioningSettingsImpl(this);\n this.compliances = new CompliancesImpl(this);\n this.informationProtectionPolicies = new InformationProtectionPoliciesImpl(\n this,\n );\n this.workspaceSettings = new WorkspaceSettingsImpl(this);\n this.alertsSuppressionRules = new AlertsSuppressionRulesImpl(this);\n this.automations = new AutomationsImpl(this);\n this.regulatoryComplianceStandards = new RegulatoryComplianceStandardsImpl(\n this,\n );\n this.regulatoryComplianceControls = new RegulatoryComplianceControlsImpl(\n this,\n );\n this.regulatoryComplianceAssessments =\n new RegulatoryComplianceAssessmentsImpl(this);\n this.subAssessments = new SubAssessmentsImpl(this);\n this.connectors = new ConnectorsImpl(this);\n this.securityContacts = new SecurityContactsImpl(this);\n this.softwareInventories = new SoftwareInventoriesImpl(this);\n this.customAssessmentAutomations = new CustomAssessmentAutomationsImpl(\n this,\n );\n this.customEntityStoreAssignments = new CustomEntityStoreAssignmentsImpl(\n this,\n );\n this.mdeOnboardings = new MdeOnboardingsImpl(this);\n this.governanceAssignments = new GovernanceAssignmentsImpl(this);\n this.governanceRules = new GovernanceRulesImpl(this);\n this.applications = new ApplicationsImpl(this);\n this.applicationOperations = new ApplicationOperationsImpl(this);\n this.securityConnectorApplications = new SecurityConnectorApplicationsImpl(\n this,\n );\n this.securityConnectorApplication = new SecurityConnectorApplicationImpl(\n this,\n );\n this.defenderForStorage = new DefenderForStorageImpl(this);\n this.securityOperators = new SecurityOperatorsImpl(this);\n this.sqlVulnerabilityAssessmentBaselineRules =\n new SqlVulnerabilityAssessmentBaselineRulesImpl(this);\n this.sqlVulnerabilityAssessmentScans =\n new SqlVulnerabilityAssessmentScansImpl(this);\n this.sqlVulnerabilityAssessmentScanResults =\n new SqlVulnerabilityAssessmentScanResultsImpl(this);\n this.sensitivitySettings = new SensitivitySettingsImpl(this);\n this.healthReports = new HealthReportsImpl(this);\n this.azureDevOpsOrgs = new AzureDevOpsOrgsImpl(this);\n this.azureDevOpsProjects = new AzureDevOpsProjectsImpl(this);\n this.azureDevOpsRepos = new AzureDevOpsReposImpl(this);\n this.devOpsConfigurations = new DevOpsConfigurationsImpl(this);\n this.gitHubOwners = new GitHubOwnersImpl(this);\n this.gitHubRepos = new GitHubReposImpl(this);\n this.gitLabGroups = new GitLabGroupsImpl(this);\n this.gitLabSubgroups = new GitLabSubgroupsImpl(this);\n this.gitLabProjects = new GitLabProjectsImpl(this);\n this.devOpsOperationResults = new DevOpsOperationResultsImpl(this);\n this.securityConnectors = new SecurityConnectorsImpl(this);\n this.complianceResults = new ComplianceResultsImpl(this);\n this.advancedThreatProtection = new AdvancedThreatProtectionImpl(this);\n this.deviceSecurityGroups = new DeviceSecurityGroupsImpl(this);\n this.iotSecuritySolutionAnalytics = new IotSecuritySolutionAnalyticsImpl(\n this,\n );\n this.iotSecuritySolutionsAnalyticsAggregatedAlert =\n new IotSecuritySolutionsAnalyticsAggregatedAlertImpl(this);\n this.iotSecuritySolutionsAnalyticsRecommendation =\n new IotSecuritySolutionsAnalyticsRecommendationImpl(this);\n this.iotSecuritySolution = new IotSecuritySolutionImpl(this);\n this.adaptiveNetworkHardenings = new AdaptiveNetworkHardeningsImpl(this);\n this.allowedConnections = new AllowedConnectionsImpl(this);\n this.adaptiveApplicationControls = new AdaptiveApplicationControlsImpl(\n this,\n );\n this.discoveredSecuritySolutions = new DiscoveredSecuritySolutionsImpl(\n this,\n );\n this.externalSecuritySolutions = new ExternalSecuritySolutionsImpl(this);\n this.jitNetworkAccessPolicies = new JitNetworkAccessPoliciesImpl(this);\n this.secureScores = new SecureScoresImpl(this);\n this.secureScoreControls = new SecureScoreControlsImpl(this);\n this.secureScoreControlDefinitions = new SecureScoreControlDefinitionsImpl(\n this,\n );\n this.securitySolutions = new SecuritySolutionsImpl(this);\n this.securitySolutionsReferenceDataOperations =\n new SecuritySolutionsReferenceDataOperationsImpl(this);\n this.serverVulnerabilityAssessmentOperations =\n new ServerVulnerabilityAssessmentOperationsImpl(this);\n this.topology = new TopologyImpl(this);\n this.assessmentsMetadata = new AssessmentsMetadataImpl(this);\n this.assessments = new AssessmentsImpl(this);\n this.alerts = new AlertsImpl(this);\n this.settings = new SettingsImpl(this);\n this.serverVulnerabilityAssessmentsSettings =\n new ServerVulnerabilityAssessmentsSettingsImpl(this);\n this.aPICollections = new APICollectionsImpl(this);\n this.pricings = new PricingsImpl(this);\n }\n\n /**\n * Updates data sensitivity settings for sensitive data discovery\n * @param sensitivitySettings The data sensitivity settings to update\n * @param options The options parameters.\n */\n updateSensitivitySettings(\n sensitivitySettings: UpdateSensitivitySettingsRequest,\n options?: UpdateSensitivitySettingsOptionalParams,\n ): Promise<UpdateSensitivitySettingsResponse> {\n return this.sendOperationRequest(\n { sensitivitySettings, options },\n updateSensitivitySettingsOperationSpec,\n );\n }\n\n /**\n * Gets data sensitivity settings for sensitive data discovery\n * @param options The options parameters.\n */\n getSensitivitySettings(\n options?: GetSensitivitySettingsOptionalParams,\n ): Promise<GetSensitivitySettingsOperationResponse> {\n return this.sendOperationRequest(\n { options },\n getSensitivitySettingsOperationSpec,\n );\n }\n\n locations: Locations;\n operations: Operations;\n tasks: Tasks;\n autoProvisioningSettings: AutoProvisioningSettings;\n compliances: Compliances;\n informationProtectionPolicies: InformationProtectionPolicies;\n workspaceSettings: WorkspaceSettings;\n alertsSuppressionRules: AlertsSuppressionRules;\n automations: Automations;\n regulatoryComplianceStandards: RegulatoryComplianceStandards;\n regulatoryComplianceControls: RegulatoryComplianceControls;\n regulatoryComplianceAssessments: RegulatoryComplianceAssessments;\n subAssessments: SubAssessments;\n connectors: Connectors;\n securityContacts: SecurityContacts;\n softwareInventories: SoftwareInventories;\n customAssessmentAutomations: CustomAssessmentAutomations;\n customEntityStoreAssignments: CustomEntityStoreAssignments;\n mdeOnboardings: MdeOnboardings;\n governanceAssignments: GovernanceAssignments;\n governanceRules: GovernanceRules;\n applications: Applications;\n applicationOperations: ApplicationOperations;\n securityConnectorApplications: SecurityConnectorApplications;\n securityConnectorApplication: SecurityConnectorApplication;\n defenderForStorage: DefenderForStorage;\n securityOperators: SecurityOperators;\n sqlVulnerabilityAssessmentBaselineRules: SqlVulnerabilityAssessmentBaselineRules;\n sqlVulnerabilityAssessmentScans: SqlVulnerabilityAssessmentScans;\n sqlVulnerabilityAssessmentScanResults: SqlVulnerabilityAssessmentScanResults;\n sensitivitySettings: SensitivitySettings;\n healthReports: HealthReports;\n azureDevOpsOrgs: AzureDevOpsOrgs;\n azureDevOpsProjects: AzureDevOpsProjects;\n azureDevOpsRepos: AzureDevOpsRepos;\n devOpsConfigurations: DevOpsConfigurations;\n gitHubOwners: GitHubOwners;\n gitHubRepos: GitHubRepos;\n gitLabGroups: GitLabGroups;\n gitLabSubgroups: GitLabSubgroups;\n gitLabProjects: GitLabProjects;\n devOpsOperationResults: DevOpsOperationResults;\n securityConnectors: SecurityConnectors;\n complianceResults: ComplianceResults;\n advancedThreatProtection: AdvancedThreatProtection;\n deviceSecurityGroups: DeviceSecurityGroups;\n iotSecuritySolutionAnalytics: IotSecuritySolutionAnalytics;\n iotSecuritySolutionsAnalyticsAggregatedAlert: IotSecuritySolutionsAnalyticsAggregatedAlert;\n iotSecuritySolutionsAnalyticsRecommendation: IotSecuritySolutionsAnalyticsRecommendation;\n iotSecuritySolution: IotSecuritySolution;\n adaptiveNetworkHardenings: AdaptiveNetworkHardenings;\n allowedConnections: AllowedConnections;\n adaptiveApplicationControls: AdaptiveApplicationControls;\n discoveredSecuritySolutions: DiscoveredSecuritySolutions;\n externalSecuritySolutions: ExternalSecuritySolutions;\n jitNetworkAccessPolicies: JitNetworkAccessPolicies;\n secureScores: SecureScores;\n secureScoreControls: SecureScoreControls;\n secureScoreControlDefinitions: SecureScoreControlDefinitions;\n securitySolutions: SecuritySolutions;\n securitySolutionsReferenceDataOperations: SecuritySolutionsReferenceDataOperations;\n serverVulnerabilityAssessmentOperations: ServerVulnerabilityAssessmentOperations;\n topology: Topology;\n assessmentsMetadata: AssessmentsMetadata;\n assessments: Assessments;\n alerts: Alerts;\n settings: Settings;\n serverVulnerabilityAssessmentsSettings: ServerVulnerabilityAssessmentsSettings;\n aPICollections: APICollections;\n pricings: Pricings;\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst updateSensitivitySettingsOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Security/sensitivitySettings/current\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.GetSensitivitySettingsResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.sensitivitySettings,\n queryParameters: [Parameters.apiVersion13],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getSensitivitySettingsOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Security/sensitivitySettings/current\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GetSensitivitySettingsResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion13],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -36,7 +36,7 @@ class SecurityCenter extends coreClient.ServiceClient {
36
36
  requestContentType: "application/json; charset=utf-8",
37
37
  credential: credentials,
38
38
  };
39
- const packageDetails = `azsdk-js-arm-security/6.0.0-beta.6`;
39
+ const packageDetails = `azsdk-js-arm-security/6.0.0-beta.7`;
40
40
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
41
41
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
42
42
  : `${packageDetails}`;
@@ -1 +1 @@
1
- {"version":3,"file":"securityCenter.js","sourceRoot":"","sources":["../../src/securityCenter.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,uEAAiD;AACjD,oFAA8D;AAE9D,oDAuE+B;AAyE/B,2EAAqD;AACrD,qEAA+C;AAU/C,MAAa,cAAe,SAAQ,UAAU,CAAC,aAAa;IAC1D,KAAK,CAAS;IACd,cAAc,CAAU;IAiBxB,YACE,WAAqC,EACrC,uBAA+D,EAC/D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IACzC,WAAW,CAAc;IACzB,MAAM,CAAS;IACf,QAAQ,CAAW;IACnB,sCAAsC,CAAyC;IAC/E,cAAc,CAAiB;IAC/B,QAAQ,CAAW;CACpB;AA5SD,wCA4SC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,sCAAsC,GAA6B;IACvE,IAAI,EAAE,2DAA2D;IACjE,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,8BAA8B;SACnD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,WAAW,EAAE,UAAU,CAAC,mBAAmB;IAC3C,eAAe,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC;IAC1C,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,2DAA2D;IACjE,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,8BAA8B;SACnD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC;IAC1C,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n LocationsImpl,\n OperationsImpl,\n TasksImpl,\n AutoProvisioningSettingsImpl,\n CompliancesImpl,\n InformationProtectionPoliciesImpl,\n WorkspaceSettingsImpl,\n AlertsSuppressionRulesImpl,\n AutomationsImpl,\n RegulatoryComplianceStandardsImpl,\n RegulatoryComplianceControlsImpl,\n RegulatoryComplianceAssessmentsImpl,\n SubAssessmentsImpl,\n ConnectorsImpl,\n SecurityContactsImpl,\n SoftwareInventoriesImpl,\n CustomAssessmentAutomationsImpl,\n CustomEntityStoreAssignmentsImpl,\n MdeOnboardingsImpl,\n GovernanceAssignmentsImpl,\n GovernanceRulesImpl,\n ApplicationsImpl,\n ApplicationOperationsImpl,\n SecurityConnectorApplicationsImpl,\n SecurityConnectorApplicationImpl,\n DefenderForStorageImpl,\n SecurityOperatorsImpl,\n SqlVulnerabilityAssessmentBaselineRulesImpl,\n SqlVulnerabilityAssessmentScansImpl,\n SqlVulnerabilityAssessmentScanResultsImpl,\n SensitivitySettingsImpl,\n HealthReportsImpl,\n AzureDevOpsOrgsImpl,\n AzureDevOpsProjectsImpl,\n AzureDevOpsReposImpl,\n DevOpsConfigurationsImpl,\n GitHubOwnersImpl,\n GitHubReposImpl,\n GitLabGroupsImpl,\n GitLabSubgroupsImpl,\n GitLabProjectsImpl,\n DevOpsOperationResultsImpl,\n SecurityConnectorsImpl,\n ComplianceResultsImpl,\n AdvancedThreatProtectionImpl,\n DeviceSecurityGroupsImpl,\n IotSecuritySolutionAnalyticsImpl,\n IotSecuritySolutionsAnalyticsAggregatedAlertImpl,\n IotSecuritySolutionsAnalyticsRecommendationImpl,\n IotSecuritySolutionImpl,\n AdaptiveNetworkHardeningsImpl,\n AllowedConnectionsImpl,\n AdaptiveApplicationControlsImpl,\n DiscoveredSecuritySolutionsImpl,\n ExternalSecuritySolutionsImpl,\n JitNetworkAccessPoliciesImpl,\n SecureScoresImpl,\n SecureScoreControlsImpl,\n SecureScoreControlDefinitionsImpl,\n SecuritySolutionsImpl,\n SecuritySolutionsReferenceDataOperationsImpl,\n ServerVulnerabilityAssessmentOperationsImpl,\n TopologyImpl,\n AssessmentsMetadataImpl,\n AssessmentsImpl,\n AlertsImpl,\n SettingsImpl,\n ServerVulnerabilityAssessmentsSettingsImpl,\n APICollectionsImpl,\n PricingsImpl,\n} from \"./operations/index.js\";\nimport {\n Locations,\n Operations,\n Tasks,\n AutoProvisioningSettings,\n Compliances,\n InformationProtectionPolicies,\n WorkspaceSettings,\n AlertsSuppressionRules,\n Automations,\n RegulatoryComplianceStandards,\n RegulatoryComplianceControls,\n RegulatoryComplianceAssessments,\n SubAssessments,\n Connectors,\n SecurityContacts,\n SoftwareInventories,\n CustomAssessmentAutomations,\n CustomEntityStoreAssignments,\n MdeOnboardings,\n GovernanceAssignments,\n GovernanceRules,\n Applications,\n ApplicationOperations,\n SecurityConnectorApplications,\n SecurityConnectorApplication,\n DefenderForStorage,\n SecurityOperators,\n SqlVulnerabilityAssessmentBaselineRules,\n SqlVulnerabilityAssessmentScans,\n SqlVulnerabilityAssessmentScanResults,\n SensitivitySettings,\n HealthReports,\n AzureDevOpsOrgs,\n AzureDevOpsProjects,\n AzureDevOpsRepos,\n DevOpsConfigurations,\n GitHubOwners,\n GitHubRepos,\n GitLabGroups,\n GitLabSubgroups,\n GitLabProjects,\n DevOpsOperationResults,\n SecurityConnectors,\n ComplianceResults,\n AdvancedThreatProtection,\n DeviceSecurityGroups,\n IotSecuritySolutionAnalytics,\n IotSecuritySolutionsAnalyticsAggregatedAlert,\n IotSecuritySolutionsAnalyticsRecommendation,\n IotSecuritySolution,\n AdaptiveNetworkHardenings,\n AllowedConnections,\n AdaptiveApplicationControls,\n DiscoveredSecuritySolutions,\n ExternalSecuritySolutions,\n JitNetworkAccessPolicies,\n SecureScores,\n SecureScoreControls,\n SecureScoreControlDefinitions,\n SecuritySolutions,\n SecuritySolutionsReferenceDataOperations,\n ServerVulnerabilityAssessmentOperations,\n Topology,\n AssessmentsMetadata,\n Assessments,\n Alerts,\n Settings,\n ServerVulnerabilityAssessmentsSettings,\n APICollections,\n Pricings,\n} from \"./operationsInterfaces/index.js\";\nimport * as Parameters from \"./models/parameters.js\";\nimport * as Mappers from \"./models/mappers.js\";\nimport {\n SecurityCenterOptionalParams,\n UpdateSensitivitySettingsRequest,\n UpdateSensitivitySettingsOptionalParams,\n UpdateSensitivitySettingsResponse,\n GetSensitivitySettingsOptionalParams,\n GetSensitivitySettingsOperationResponse,\n} from \"./models/index.js\";\n\nexport class SecurityCenter extends coreClient.ServiceClient {\n $host: string;\n subscriptionId?: string;\n\n /**\n * Initializes a new instance of the SecurityCenter class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId Azure subscription ID\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: SecurityCenterOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n options?: SecurityCenterOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionIdOrOptions?: SecurityCenterOptionalParams | string,\n options?: SecurityCenterOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n\n let subscriptionId: string | undefined;\n\n if (typeof subscriptionIdOrOptions === \"string\") {\n subscriptionId = subscriptionIdOrOptions;\n } else if (typeof subscriptionIdOrOptions === \"object\") {\n options = subscriptionIdOrOptions;\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: SecurityCenterOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-security/6.0.0-beta.6`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.locations = new LocationsImpl(this);\n this.operations = new OperationsImpl(this);\n this.tasks = new TasksImpl(this);\n this.autoProvisioningSettings = new AutoProvisioningSettingsImpl(this);\n this.compliances = new CompliancesImpl(this);\n this.informationProtectionPolicies = new InformationProtectionPoliciesImpl(\n this,\n );\n this.workspaceSettings = new WorkspaceSettingsImpl(this);\n this.alertsSuppressionRules = new AlertsSuppressionRulesImpl(this);\n this.automations = new AutomationsImpl(this);\n this.regulatoryComplianceStandards = new RegulatoryComplianceStandardsImpl(\n this,\n );\n this.regulatoryComplianceControls = new RegulatoryComplianceControlsImpl(\n this,\n );\n this.regulatoryComplianceAssessments =\n new RegulatoryComplianceAssessmentsImpl(this);\n this.subAssessments = new SubAssessmentsImpl(this);\n this.connectors = new ConnectorsImpl(this);\n this.securityContacts = new SecurityContactsImpl(this);\n this.softwareInventories = new SoftwareInventoriesImpl(this);\n this.customAssessmentAutomations = new CustomAssessmentAutomationsImpl(\n this,\n );\n this.customEntityStoreAssignments = new CustomEntityStoreAssignmentsImpl(\n this,\n );\n this.mdeOnboardings = new MdeOnboardingsImpl(this);\n this.governanceAssignments = new GovernanceAssignmentsImpl(this);\n this.governanceRules = new GovernanceRulesImpl(this);\n this.applications = new ApplicationsImpl(this);\n this.applicationOperations = new ApplicationOperationsImpl(this);\n this.securityConnectorApplications = new SecurityConnectorApplicationsImpl(\n this,\n );\n this.securityConnectorApplication = new SecurityConnectorApplicationImpl(\n this,\n );\n this.defenderForStorage = new DefenderForStorageImpl(this);\n this.securityOperators = new SecurityOperatorsImpl(this);\n this.sqlVulnerabilityAssessmentBaselineRules =\n new SqlVulnerabilityAssessmentBaselineRulesImpl(this);\n this.sqlVulnerabilityAssessmentScans =\n new SqlVulnerabilityAssessmentScansImpl(this);\n this.sqlVulnerabilityAssessmentScanResults =\n new SqlVulnerabilityAssessmentScanResultsImpl(this);\n this.sensitivitySettings = new SensitivitySettingsImpl(this);\n this.healthReports = new HealthReportsImpl(this);\n this.azureDevOpsOrgs = new AzureDevOpsOrgsImpl(this);\n this.azureDevOpsProjects = new AzureDevOpsProjectsImpl(this);\n this.azureDevOpsRepos = new AzureDevOpsReposImpl(this);\n this.devOpsConfigurations = new DevOpsConfigurationsImpl(this);\n this.gitHubOwners = new GitHubOwnersImpl(this);\n this.gitHubRepos = new GitHubReposImpl(this);\n this.gitLabGroups = new GitLabGroupsImpl(this);\n this.gitLabSubgroups = new GitLabSubgroupsImpl(this);\n this.gitLabProjects = new GitLabProjectsImpl(this);\n this.devOpsOperationResults = new DevOpsOperationResultsImpl(this);\n this.securityConnectors = new SecurityConnectorsImpl(this);\n this.complianceResults = new ComplianceResultsImpl(this);\n this.advancedThreatProtection = new AdvancedThreatProtectionImpl(this);\n this.deviceSecurityGroups = new DeviceSecurityGroupsImpl(this);\n this.iotSecuritySolutionAnalytics = new IotSecuritySolutionAnalyticsImpl(\n this,\n );\n this.iotSecuritySolutionsAnalyticsAggregatedAlert =\n new IotSecuritySolutionsAnalyticsAggregatedAlertImpl(this);\n this.iotSecuritySolutionsAnalyticsRecommendation =\n new IotSecuritySolutionsAnalyticsRecommendationImpl(this);\n this.iotSecuritySolution = new IotSecuritySolutionImpl(this);\n this.adaptiveNetworkHardenings = new AdaptiveNetworkHardeningsImpl(this);\n this.allowedConnections = new AllowedConnectionsImpl(this);\n this.adaptiveApplicationControls = new AdaptiveApplicationControlsImpl(\n this,\n );\n this.discoveredSecuritySolutions = new DiscoveredSecuritySolutionsImpl(\n this,\n );\n this.externalSecuritySolutions = new ExternalSecuritySolutionsImpl(this);\n this.jitNetworkAccessPolicies = new JitNetworkAccessPoliciesImpl(this);\n this.secureScores = new SecureScoresImpl(this);\n this.secureScoreControls = new SecureScoreControlsImpl(this);\n this.secureScoreControlDefinitions = new SecureScoreControlDefinitionsImpl(\n this,\n );\n this.securitySolutions = new SecuritySolutionsImpl(this);\n this.securitySolutionsReferenceDataOperations =\n new SecuritySolutionsReferenceDataOperationsImpl(this);\n this.serverVulnerabilityAssessmentOperations =\n new ServerVulnerabilityAssessmentOperationsImpl(this);\n this.topology = new TopologyImpl(this);\n this.assessmentsMetadata = new AssessmentsMetadataImpl(this);\n this.assessments = new AssessmentsImpl(this);\n this.alerts = new AlertsImpl(this);\n this.settings = new SettingsImpl(this);\n this.serverVulnerabilityAssessmentsSettings =\n new ServerVulnerabilityAssessmentsSettingsImpl(this);\n this.aPICollections = new APICollectionsImpl(this);\n this.pricings = new PricingsImpl(this);\n }\n\n /**\n * Updates data sensitivity settings for sensitive data discovery\n * @param sensitivitySettings The data sensitivity settings to update\n * @param options The options parameters.\n */\n updateSensitivitySettings(\n sensitivitySettings: UpdateSensitivitySettingsRequest,\n options?: UpdateSensitivitySettingsOptionalParams,\n ): Promise<UpdateSensitivitySettingsResponse> {\n return this.sendOperationRequest(\n { sensitivitySettings, options },\n updateSensitivitySettingsOperationSpec,\n );\n }\n\n /**\n * Gets data sensitivity settings for sensitive data discovery\n * @param options The options parameters.\n */\n getSensitivitySettings(\n options?: GetSensitivitySettingsOptionalParams,\n ): Promise<GetSensitivitySettingsOperationResponse> {\n return this.sendOperationRequest(\n { options },\n getSensitivitySettingsOperationSpec,\n );\n }\n\n locations: Locations;\n operations: Operations;\n tasks: Tasks;\n autoProvisioningSettings: AutoProvisioningSettings;\n compliances: Compliances;\n informationProtectionPolicies: InformationProtectionPolicies;\n workspaceSettings: WorkspaceSettings;\n alertsSuppressionRules: AlertsSuppressionRules;\n automations: Automations;\n regulatoryComplianceStandards: RegulatoryComplianceStandards;\n regulatoryComplianceControls: RegulatoryComplianceControls;\n regulatoryComplianceAssessments: RegulatoryComplianceAssessments;\n subAssessments: SubAssessments;\n connectors: Connectors;\n securityContacts: SecurityContacts;\n softwareInventories: SoftwareInventories;\n customAssessmentAutomations: CustomAssessmentAutomations;\n customEntityStoreAssignments: CustomEntityStoreAssignments;\n mdeOnboardings: MdeOnboardings;\n governanceAssignments: GovernanceAssignments;\n governanceRules: GovernanceRules;\n applications: Applications;\n applicationOperations: ApplicationOperations;\n securityConnectorApplications: SecurityConnectorApplications;\n securityConnectorApplication: SecurityConnectorApplication;\n defenderForStorage: DefenderForStorage;\n securityOperators: SecurityOperators;\n sqlVulnerabilityAssessmentBaselineRules: SqlVulnerabilityAssessmentBaselineRules;\n sqlVulnerabilityAssessmentScans: SqlVulnerabilityAssessmentScans;\n sqlVulnerabilityAssessmentScanResults: SqlVulnerabilityAssessmentScanResults;\n sensitivitySettings: SensitivitySettings;\n healthReports: HealthReports;\n azureDevOpsOrgs: AzureDevOpsOrgs;\n azureDevOpsProjects: AzureDevOpsProjects;\n azureDevOpsRepos: AzureDevOpsRepos;\n devOpsConfigurations: DevOpsConfigurations;\n gitHubOwners: GitHubOwners;\n gitHubRepos: GitHubRepos;\n gitLabGroups: GitLabGroups;\n gitLabSubgroups: GitLabSubgroups;\n gitLabProjects: GitLabProjects;\n devOpsOperationResults: DevOpsOperationResults;\n securityConnectors: SecurityConnectors;\n complianceResults: ComplianceResults;\n advancedThreatProtection: AdvancedThreatProtection;\n deviceSecurityGroups: DeviceSecurityGroups;\n iotSecuritySolutionAnalytics: IotSecuritySolutionAnalytics;\n iotSecuritySolutionsAnalyticsAggregatedAlert: IotSecuritySolutionsAnalyticsAggregatedAlert;\n iotSecuritySolutionsAnalyticsRecommendation: IotSecuritySolutionsAnalyticsRecommendation;\n iotSecuritySolution: IotSecuritySolution;\n adaptiveNetworkHardenings: AdaptiveNetworkHardenings;\n allowedConnections: AllowedConnections;\n adaptiveApplicationControls: AdaptiveApplicationControls;\n discoveredSecuritySolutions: DiscoveredSecuritySolutions;\n externalSecuritySolutions: ExternalSecuritySolutions;\n jitNetworkAccessPolicies: JitNetworkAccessPolicies;\n secureScores: SecureScores;\n secureScoreControls: SecureScoreControls;\n secureScoreControlDefinitions: SecureScoreControlDefinitions;\n securitySolutions: SecuritySolutions;\n securitySolutionsReferenceDataOperations: SecuritySolutionsReferenceDataOperations;\n serverVulnerabilityAssessmentOperations: ServerVulnerabilityAssessmentOperations;\n topology: Topology;\n assessmentsMetadata: AssessmentsMetadata;\n assessments: Assessments;\n alerts: Alerts;\n settings: Settings;\n serverVulnerabilityAssessmentsSettings: ServerVulnerabilityAssessmentsSettings;\n aPICollections: APICollections;\n pricings: Pricings;\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst updateSensitivitySettingsOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Security/sensitivitySettings/current\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.GetSensitivitySettingsResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.sensitivitySettings,\n queryParameters: [Parameters.apiVersion13],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getSensitivitySettingsOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Security/sensitivitySettings/current\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GetSensitivitySettingsResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion13],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"securityCenter.js","sourceRoot":"","sources":["../../src/securityCenter.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,uEAAiD;AACjD,oFAA8D;AAE9D,oDAuE+B;AAyE/B,2EAAqD;AACrD,qEAA+C;AAU/C,MAAa,cAAe,SAAQ,UAAU,CAAC,aAAa;IAC1D,KAAK,CAAS;IACd,cAAc,CAAU;IAiBxB,YACE,WAAqC,EACrC,uBAA+D,EAC/D,OAAsC;QAEtC,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QAED,IAAI,cAAkC,CAAC;QAEvC,IAAI,OAAO,uBAAuB,KAAK,QAAQ,EAAE,CAAC;YAChD,cAAc,GAAG,uBAAuB,CAAC;QAC3C,CAAC;aAAM,IAAI,OAAO,uBAAuB,KAAK,QAAQ,EAAE,CAAC;YACvD,OAAO,GAAG,uBAAuB,CAAC;QACpC,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAiC;YAC7C,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,oCAAoC,CAAC;QAC5D,MAAM,eAAe,G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AC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,2DAA2D;IACjE,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,8BAA8B;SACnD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC;IAC1C,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n LocationsImpl,\n OperationsImpl,\n TasksImpl,\n AutoProvisioningSettingsImpl,\n CompliancesImpl,\n InformationProtectionPoliciesImpl,\n WorkspaceSettingsImpl,\n AlertsSuppressionRulesImpl,\n AutomationsImpl,\n RegulatoryComplianceStandardsImpl,\n RegulatoryComplianceControlsImpl,\n RegulatoryComplianceAssessmentsImpl,\n SubAssessmentsImpl,\n ConnectorsImpl,\n SecurityContactsImpl,\n SoftwareInventoriesImpl,\n CustomAssessmentAutomationsImpl,\n CustomEntityStoreAssignmentsImpl,\n MdeOnboardingsImpl,\n GovernanceAssignmentsImpl,\n GovernanceRulesImpl,\n ApplicationsImpl,\n ApplicationOperationsImpl,\n SecurityConnectorApplicationsImpl,\n SecurityConnectorApplicationImpl,\n DefenderForStorageImpl,\n SecurityOperatorsImpl,\n SqlVulnerabilityAssessmentBaselineRulesImpl,\n SqlVulnerabilityAssessmentScansImpl,\n SqlVulnerabilityAssessmentScanResultsImpl,\n SensitivitySettingsImpl,\n HealthReportsImpl,\n AzureDevOpsOrgsImpl,\n AzureDevOpsProjectsImpl,\n AzureDevOpsReposImpl,\n DevOpsConfigurationsImpl,\n GitHubOwnersImpl,\n GitHubReposImpl,\n GitLabGroupsImpl,\n GitLabSubgroupsImpl,\n GitLabProjectsImpl,\n DevOpsOperationResultsImpl,\n SecurityConnectorsImpl,\n ComplianceResultsImpl,\n AdvancedThreatProtectionImpl,\n DeviceSecurityGroupsImpl,\n IotSecuritySolutionAnalyticsImpl,\n IotSecuritySolutionsAnalyticsAggregatedAlertImpl,\n IotSecuritySolutionsAnalyticsRecommendationImpl,\n IotSecuritySolutionImpl,\n AdaptiveNetworkHardeningsImpl,\n AllowedConnectionsImpl,\n AdaptiveApplicationControlsImpl,\n DiscoveredSecuritySolutionsImpl,\n ExternalSecuritySolutionsImpl,\n JitNetworkAccessPoliciesImpl,\n SecureScoresImpl,\n SecureScoreControlsImpl,\n SecureScoreControlDefinitionsImpl,\n SecuritySolutionsImpl,\n SecuritySolutionsReferenceDataOperationsImpl,\n ServerVulnerabilityAssessmentOperationsImpl,\n TopologyImpl,\n AssessmentsMetadataImpl,\n AssessmentsImpl,\n AlertsImpl,\n SettingsImpl,\n ServerVulnerabilityAssessmentsSettingsImpl,\n APICollectionsImpl,\n PricingsImpl,\n} from \"./operations/index.js\";\nimport {\n Locations,\n Operations,\n Tasks,\n AutoProvisioningSettings,\n Compliances,\n InformationProtectionPolicies,\n WorkspaceSettings,\n AlertsSuppressionRules,\n Automations,\n RegulatoryComplianceStandards,\n RegulatoryComplianceControls,\n RegulatoryComplianceAssessments,\n SubAssessments,\n Connectors,\n SecurityContacts,\n SoftwareInventories,\n CustomAssessmentAutomations,\n CustomEntityStoreAssignments,\n MdeOnboardings,\n GovernanceAssignments,\n GovernanceRules,\n Applications,\n ApplicationOperations,\n SecurityConnectorApplications,\n SecurityConnectorApplication,\n DefenderForStorage,\n SecurityOperators,\n SqlVulnerabilityAssessmentBaselineRules,\n SqlVulnerabilityAssessmentScans,\n SqlVulnerabilityAssessmentScanResults,\n SensitivitySettings,\n HealthReports,\n AzureDevOpsOrgs,\n AzureDevOpsProjects,\n AzureDevOpsRepos,\n DevOpsConfigurations,\n GitHubOwners,\n GitHubRepos,\n GitLabGroups,\n GitLabSubgroups,\n GitLabProjects,\n DevOpsOperationResults,\n SecurityConnectors,\n ComplianceResults,\n AdvancedThreatProtection,\n DeviceSecurityGroups,\n IotSecuritySolutionAnalytics,\n IotSecuritySolutionsAnalyticsAggregatedAlert,\n IotSecuritySolutionsAnalyticsRecommendation,\n IotSecuritySolution,\n AdaptiveNetworkHardenings,\n AllowedConnections,\n AdaptiveApplicationControls,\n DiscoveredSecuritySolutions,\n ExternalSecuritySolutions,\n JitNetworkAccessPolicies,\n SecureScores,\n SecureScoreControls,\n SecureScoreControlDefinitions,\n SecuritySolutions,\n SecuritySolutionsReferenceDataOperations,\n ServerVulnerabilityAssessmentOperations,\n Topology,\n AssessmentsMetadata,\n Assessments,\n Alerts,\n Settings,\n ServerVulnerabilityAssessmentsSettings,\n APICollections,\n Pricings,\n} from \"./operationsInterfaces/index.js\";\nimport * as Parameters from \"./models/parameters.js\";\nimport * as Mappers from \"./models/mappers.js\";\nimport {\n SecurityCenterOptionalParams,\n UpdateSensitivitySettingsRequest,\n UpdateSensitivitySettingsOptionalParams,\n UpdateSensitivitySettingsResponse,\n GetSensitivitySettingsOptionalParams,\n GetSensitivitySettingsOperationResponse,\n} from \"./models/index.js\";\n\nexport class SecurityCenter extends coreClient.ServiceClient {\n $host: string;\n subscriptionId?: string;\n\n /**\n * Initializes a new instance of the SecurityCenter class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId Azure subscription ID\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: SecurityCenterOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n options?: SecurityCenterOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionIdOrOptions?: SecurityCenterOptionalParams | string,\n options?: SecurityCenterOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n\n let subscriptionId: string | undefined;\n\n if (typeof subscriptionIdOrOptions === \"string\") {\n subscriptionId = subscriptionIdOrOptions;\n } else if (typeof subscriptionIdOrOptions === \"object\") {\n options = subscriptionIdOrOptions;\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: SecurityCenterOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-security/6.0.0-beta.7`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.locations = new LocationsImpl(this);\n this.operations = new OperationsImpl(this);\n this.tasks = new TasksImpl(this);\n this.autoProvisioningSettings = new AutoProvisioningSettingsImpl(this);\n this.compliances = new CompliancesImpl(this);\n this.informationProtectionPolicies = new InformationProtectionPoliciesImpl(\n this,\n );\n this.workspaceSettings = new WorkspaceSettingsImpl(this);\n this.alertsSuppressionRules = new AlertsSuppressionRulesImpl(this);\n this.automations = new AutomationsImpl(this);\n this.regulatoryComplianceStandards = new RegulatoryComplianceStandardsImpl(\n this,\n );\n this.regulatoryComplianceControls = new RegulatoryComplianceControlsImpl(\n this,\n );\n this.regulatoryComplianceAssessments =\n new RegulatoryComplianceAssessmentsImpl(this);\n this.subAssessments = new SubAssessmentsImpl(this);\n this.connectors = new ConnectorsImpl(this);\n this.securityContacts = new SecurityContactsImpl(this);\n this.softwareInventories = new SoftwareInventoriesImpl(this);\n this.customAssessmentAutomations = new CustomAssessmentAutomationsImpl(\n this,\n );\n this.customEntityStoreAssignments = new CustomEntityStoreAssignmentsImpl(\n this,\n );\n this.mdeOnboardings = new MdeOnboardingsImpl(this);\n this.governanceAssignments = new GovernanceAssignmentsImpl(this);\n this.governanceRules = new GovernanceRulesImpl(this);\n this.applications = new ApplicationsImpl(this);\n this.applicationOperations = new ApplicationOperationsImpl(this);\n this.securityConnectorApplications = new SecurityConnectorApplicationsImpl(\n this,\n );\n this.securityConnectorApplication = new SecurityConnectorApplicationImpl(\n this,\n );\n this.defenderForStorage = new DefenderForStorageImpl(this);\n this.securityOperators = new SecurityOperatorsImpl(this);\n this.sqlVulnerabilityAssessmentBaselineRules =\n new SqlVulnerabilityAssessmentBaselineRulesImpl(this);\n this.sqlVulnerabilityAssessmentScans =\n new SqlVulnerabilityAssessmentScansImpl(this);\n this.sqlVulnerabilityAssessmentScanResults =\n new SqlVulnerabilityAssessmentScanResultsImpl(this);\n this.sensitivitySettings = new SensitivitySettingsImpl(this);\n this.healthReports = new HealthReportsImpl(this);\n this.azureDevOpsOrgs = new AzureDevOpsOrgsImpl(this);\n this.azureDevOpsProjects = new AzureDevOpsProjectsImpl(this);\n this.azureDevOpsRepos = new AzureDevOpsReposImpl(this);\n this.devOpsConfigurations = new DevOpsConfigurationsImpl(this);\n this.gitHubOwners = new GitHubOwnersImpl(this);\n this.gitHubRepos = new GitHubReposImpl(this);\n this.gitLabGroups = new GitLabGroupsImpl(this);\n this.gitLabSubgroups = new GitLabSubgroupsImpl(this);\n this.gitLabProjects = new GitLabProjectsImpl(this);\n this.devOpsOperationResults = new DevOpsOperationResultsImpl(this);\n this.securityConnectors = new SecurityConnectorsImpl(this);\n this.complianceResults = new ComplianceResultsImpl(this);\n this.advancedThreatProtection = new AdvancedThreatProtectionImpl(this);\n this.deviceSecurityGroups = new DeviceSecurityGroupsImpl(this);\n this.iotSecuritySolutionAnalytics = new IotSecuritySolutionAnalyticsImpl(\n this,\n );\n this.iotSecuritySolutionsAnalyticsAggregatedAlert =\n new IotSecuritySolutionsAnalyticsAggregatedAlertImpl(this);\n this.iotSecuritySolutionsAnalyticsRecommendation =\n new IotSecuritySolutionsAnalyticsRecommendationImpl(this);\n this.iotSecuritySolution = new IotSecuritySolutionImpl(this);\n this.adaptiveNetworkHardenings = new AdaptiveNetworkHardeningsImpl(this);\n this.allowedConnections = new AllowedConnectionsImpl(this);\n this.adaptiveApplicationControls = new AdaptiveApplicationControlsImpl(\n this,\n );\n this.discoveredSecuritySolutions = new DiscoveredSecuritySolutionsImpl(\n this,\n );\n this.externalSecuritySolutions = new ExternalSecuritySolutionsImpl(this);\n this.jitNetworkAccessPolicies = new JitNetworkAccessPoliciesImpl(this);\n this.secureScores = new SecureScoresImpl(this);\n this.secureScoreControls = new SecureScoreControlsImpl(this);\n this.secureScoreControlDefinitions = new SecureScoreControlDefinitionsImpl(\n this,\n );\n this.securitySolutions = new SecuritySolutionsImpl(this);\n this.securitySolutionsReferenceDataOperations =\n new SecuritySolutionsReferenceDataOperationsImpl(this);\n this.serverVulnerabilityAssessmentOperations =\n new ServerVulnerabilityAssessmentOperationsImpl(this);\n this.topology = new TopologyImpl(this);\n this.assessmentsMetadata = new AssessmentsMetadataImpl(this);\n this.assessments = new AssessmentsImpl(this);\n this.alerts = new AlertsImpl(this);\n this.settings = new SettingsImpl(this);\n this.serverVulnerabilityAssessmentsSettings =\n new ServerVulnerabilityAssessmentsSettingsImpl(this);\n this.aPICollections = new APICollectionsImpl(this);\n this.pricings = new PricingsImpl(this);\n }\n\n /**\n * Updates data sensitivity settings for sensitive data discovery\n * @param sensitivitySettings The data sensitivity settings to update\n * @param options The options parameters.\n */\n updateSensitivitySettings(\n sensitivitySettings: UpdateSensitivitySettingsRequest,\n options?: UpdateSensitivitySettingsOptionalParams,\n ): Promise<UpdateSensitivitySettingsResponse> {\n return this.sendOperationRequest(\n { sensitivitySettings, options },\n updateSensitivitySettingsOperationSpec,\n );\n }\n\n /**\n * Gets data sensitivity settings for sensitive data discovery\n * @param options The options parameters.\n */\n getSensitivitySettings(\n options?: GetSensitivitySettingsOptionalParams,\n ): Promise<GetSensitivitySettingsOperationResponse> {\n return this.sendOperationRequest(\n { options },\n getSensitivitySettingsOperationSpec,\n );\n }\n\n locations: Locations;\n operations: Operations;\n tasks: Tasks;\n autoProvisioningSettings: AutoProvisioningSettings;\n compliances: Compliances;\n informationProtectionPolicies: InformationProtectionPolicies;\n workspaceSettings: WorkspaceSettings;\n alertsSuppressionRules: AlertsSuppressionRules;\n automations: Automations;\n regulatoryComplianceStandards: RegulatoryComplianceStandards;\n regulatoryComplianceControls: RegulatoryComplianceControls;\n regulatoryComplianceAssessments: RegulatoryComplianceAssessments;\n subAssessments: SubAssessments;\n connectors: Connectors;\n securityContacts: SecurityContacts;\n softwareInventories: SoftwareInventories;\n customAssessmentAutomations: CustomAssessmentAutomations;\n customEntityStoreAssignments: CustomEntityStoreAssignments;\n mdeOnboardings: MdeOnboardings;\n governanceAssignments: GovernanceAssignments;\n governanceRules: GovernanceRules;\n applications: Applications;\n applicationOperations: ApplicationOperations;\n securityConnectorApplications: SecurityConnectorApplications;\n securityConnectorApplication: SecurityConnectorApplication;\n defenderForStorage: DefenderForStorage;\n securityOperators: SecurityOperators;\n sqlVulnerabilityAssessmentBaselineRules: SqlVulnerabilityAssessmentBaselineRules;\n sqlVulnerabilityAssessmentScans: SqlVulnerabilityAssessmentScans;\n sqlVulnerabilityAssessmentScanResults: SqlVulnerabilityAssessmentScanResults;\n sensitivitySettings: SensitivitySettings;\n healthReports: HealthReports;\n azureDevOpsOrgs: AzureDevOpsOrgs;\n azureDevOpsProjects: AzureDevOpsProjects;\n azureDevOpsRepos: AzureDevOpsRepos;\n devOpsConfigurations: DevOpsConfigurations;\n gitHubOwners: GitHubOwners;\n gitHubRepos: GitHubRepos;\n gitLabGroups: GitLabGroups;\n gitLabSubgroups: GitLabSubgroups;\n gitLabProjects: GitLabProjects;\n devOpsOperationResults: DevOpsOperationResults;\n securityConnectors: SecurityConnectors;\n complianceResults: ComplianceResults;\n advancedThreatProtection: AdvancedThreatProtection;\n deviceSecurityGroups: DeviceSecurityGroups;\n iotSecuritySolutionAnalytics: IotSecuritySolutionAnalytics;\n iotSecuritySolutionsAnalyticsAggregatedAlert: IotSecuritySolutionsAnalyticsAggregatedAlert;\n iotSecuritySolutionsAnalyticsRecommendation: IotSecuritySolutionsAnalyticsRecommendation;\n iotSecuritySolution: IotSecuritySolution;\n adaptiveNetworkHardenings: AdaptiveNetworkHardenings;\n allowedConnections: AllowedConnections;\n adaptiveApplicationControls: AdaptiveApplicationControls;\n discoveredSecuritySolutions: DiscoveredSecuritySolutions;\n externalSecuritySolutions: ExternalSecuritySolutions;\n jitNetworkAccessPolicies: JitNetworkAccessPolicies;\n secureScores: SecureScores;\n secureScoreControls: SecureScoreControls;\n secureScoreControlDefinitions: SecureScoreControlDefinitions;\n securitySolutions: SecuritySolutions;\n securitySolutionsReferenceDataOperations: SecuritySolutionsReferenceDataOperations;\n serverVulnerabilityAssessmentOperations: ServerVulnerabilityAssessmentOperations;\n topology: Topology;\n assessmentsMetadata: AssessmentsMetadata;\n assessments: Assessments;\n alerts: Alerts;\n settings: Settings;\n serverVulnerabilityAssessmentsSettings: ServerVulnerabilityAssessmentsSettings;\n aPICollections: APICollections;\n pricings: Pricings;\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst updateSensitivitySettingsOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Security/sensitivitySettings/current\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.GetSensitivitySettingsResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.sensitivitySettings,\n queryParameters: [Parameters.apiVersion13],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getSensitivitySettingsOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Security/sensitivitySettings/current\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GetSensitivitySettingsResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion13],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -32,7 +32,7 @@ export class SecurityCenter extends coreClient.ServiceClient {
32
32
  requestContentType: "application/json; charset=utf-8",
33
33
  credential: credentials,
34
34
  };
35
- const packageDetails = `azsdk-js-arm-security/6.0.0-beta.6`;
35
+ const packageDetails = `azsdk-js-arm-security/6.0.0-beta.7`;
36
36
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
37
37
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
38
38
  : `${packageDetails}`;
@@ -1 +1 @@
1
- {"version":3,"file":"securityCenter.js","sourceRoot":"","sources":["../../src/securityCenter.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAE9D,OAAO,EACL,aAAa,EACb,cAAc,EACd,SAAS,EACT,4BAA4B,EAC5B,eAAe,EACf,iCAAiC,EACjC,qBAAqB,EACrB,0BAA0B,EAC1B,eAAe,EACf,iCAAiC,EACjC,gCAAgC,EAChC,mCAAmC,EACnC,kBAAkB,EAClB,cAAc,EACd,oBAAoB,EACpB,uBAAuB,EACvB,+BAA+B,EAC/B,gCAAgC,EAChC,kBAAkB,EAClB,yBAAyB,EACzB,mBAAmB,EACnB,gBAAgB,EAChB,yBAAyB,EACzB,iCAAiC,EACjC,gCAAgC,EAChC,sBAAsB,EACtB,qBAAqB,EACrB,2CAA2C,EAC3C,mCAAmC,EACnC,yCAAyC,EACzC,uBAAuB,EACvB,iBAAiB,EACjB,mBAAmB,EACnB,uBAAuB,EACvB,oBAAoB,EACpB,wBAAwB,EACxB,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EAClB,0BAA0B,EAC1B,sBAAsB,EACtB,qBAAqB,EACrB,4BAA4B,EAC5B,wBAAwB,EACxB,gCAAgC,EAChC,gDAAgD,EAChD,+CAA+C,EAC/C,uBAAuB,EACvB,6BAA6B,EAC7B,sBAAsB,EACtB,+BAA+B,EAC/B,+BAA+B,EAC/B,6BAA6B,EAC7B,4BAA4B,EAC5B,gBAAgB,EAChB,uBAAuB,EACvB,iCAAiC,EACjC,qBAAqB,EACrB,4CAA4C,EAC5C,2CAA2C,EAC3C,YAAY,EACZ,uBAAuB,EACvB,eAAe,E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EAAE,CAAC,UAAU,CAAC,YAAY,CAAC;IAC1C,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n LocationsImpl,\n OperationsImpl,\n TasksImpl,\n AutoProvisioningSettingsImpl,\n CompliancesImpl,\n InformationProtectionPoliciesImpl,\n WorkspaceSettingsImpl,\n AlertsSuppressionRulesImpl,\n AutomationsImpl,\n RegulatoryComplianceStandardsImpl,\n RegulatoryComplianceControlsImpl,\n RegulatoryComplianceAssessmentsImpl,\n SubAssessmentsImpl,\n ConnectorsImpl,\n SecurityContactsImpl,\n SoftwareInventoriesImpl,\n CustomAssessmentAutomationsImpl,\n CustomEntityStoreAssignmentsImpl,\n MdeOnboardingsImpl,\n GovernanceAssignmentsImpl,\n GovernanceRulesImpl,\n ApplicationsImpl,\n ApplicationOperationsImpl,\n SecurityConnectorApplicationsImpl,\n SecurityConnectorApplicationImpl,\n DefenderForStorageImpl,\n SecurityOperatorsImpl,\n SqlVulnerabilityAssessmentBaselineRulesImpl,\n SqlVulnerabilityAssessmentScansImpl,\n SqlVulnerabilityAssessmentScanResultsImpl,\n SensitivitySettingsImpl,\n HealthReportsImpl,\n AzureDevOpsOrgsImpl,\n AzureDevOpsProjectsImpl,\n AzureDevOpsReposImpl,\n DevOpsConfigurationsImpl,\n GitHubOwnersImpl,\n GitHubReposImpl,\n GitLabGroupsImpl,\n GitLabSubgroupsImpl,\n GitLabProjectsImpl,\n DevOpsOperationResultsImpl,\n SecurityConnectorsImpl,\n ComplianceResultsImpl,\n AdvancedThreatProtectionImpl,\n DeviceSecurityGroupsImpl,\n IotSecuritySolutionAnalyticsImpl,\n IotSecuritySolutionsAnalyticsAggregatedAlertImpl,\n IotSecuritySolutionsAnalyticsRecommendationImpl,\n IotSecuritySolutionImpl,\n AdaptiveNetworkHardeningsImpl,\n AllowedConnectionsImpl,\n AdaptiveApplicationControlsImpl,\n DiscoveredSecuritySolutionsImpl,\n ExternalSecuritySolutionsImpl,\n JitNetworkAccessPoliciesImpl,\n SecureScoresImpl,\n SecureScoreControlsImpl,\n SecureScoreControlDefinitionsImpl,\n SecuritySolutionsImpl,\n SecuritySolutionsReferenceDataOperationsImpl,\n ServerVulnerabilityAssessmentOperationsImpl,\n TopologyImpl,\n AssessmentsMetadataImpl,\n AssessmentsImpl,\n AlertsImpl,\n SettingsImpl,\n ServerVulnerabilityAssessmentsSettingsImpl,\n APICollectionsImpl,\n PricingsImpl,\n} from \"./operations/index.js\";\nimport {\n Locations,\n Operations,\n Tasks,\n AutoProvisioningSettings,\n Compliances,\n InformationProtectionPolicies,\n WorkspaceSettings,\n AlertsSuppressionRules,\n Automations,\n RegulatoryComplianceStandards,\n RegulatoryComplianceControls,\n RegulatoryComplianceAssessments,\n SubAssessments,\n Connectors,\n SecurityContacts,\n SoftwareInventories,\n CustomAssessmentAutomations,\n CustomEntityStoreAssignments,\n MdeOnboardings,\n GovernanceAssignments,\n GovernanceRules,\n Applications,\n ApplicationOperations,\n SecurityConnectorApplications,\n SecurityConnectorApplication,\n DefenderForStorage,\n SecurityOperators,\n SqlVulnerabilityAssessmentBaselineRules,\n SqlVulnerabilityAssessmentScans,\n SqlVulnerabilityAssessmentScanResults,\n SensitivitySettings,\n HealthReports,\n AzureDevOpsOrgs,\n AzureDevOpsProjects,\n AzureDevOpsRepos,\n DevOpsConfigurations,\n GitHubOwners,\n GitHubRepos,\n GitLabGroups,\n GitLabSubgroups,\n GitLabProjects,\n DevOpsOperationResults,\n SecurityConnectors,\n ComplianceResults,\n AdvancedThreatProtection,\n DeviceSecurityGroups,\n IotSecuritySolutionAnalytics,\n IotSecuritySolutionsAnalyticsAggregatedAlert,\n IotSecuritySolutionsAnalyticsRecommendation,\n IotSecuritySolution,\n AdaptiveNetworkHardenings,\n AllowedConnections,\n AdaptiveApplicationControls,\n DiscoveredSecuritySolutions,\n ExternalSecuritySolutions,\n JitNetworkAccessPolicies,\n SecureScores,\n SecureScoreControls,\n SecureScoreControlDefinitions,\n SecuritySolutions,\n SecuritySolutionsReferenceDataOperations,\n ServerVulnerabilityAssessmentOperations,\n Topology,\n AssessmentsMetadata,\n Assessments,\n Alerts,\n Settings,\n ServerVulnerabilityAssessmentsSettings,\n APICollections,\n Pricings,\n} from \"./operationsInterfaces/index.js\";\nimport * as Parameters from \"./models/parameters.js\";\nimport * as Mappers from \"./models/mappers.js\";\nimport {\n SecurityCenterOptionalParams,\n UpdateSensitivitySettingsRequest,\n UpdateSensitivitySettingsOptionalParams,\n UpdateSensitivitySettingsResponse,\n GetSensitivitySettingsOptionalParams,\n GetSensitivitySettingsOperationResponse,\n} from \"./models/index.js\";\n\nexport class SecurityCenter extends coreClient.ServiceClient {\n $host: string;\n subscriptionId?: string;\n\n /**\n * Initializes a new instance of the SecurityCenter class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId Azure subscription ID\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: SecurityCenterOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n options?: SecurityCenterOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionIdOrOptions?: SecurityCenterOptionalParams | string,\n options?: SecurityCenterOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n\n let subscriptionId: string | undefined;\n\n if (typeof subscriptionIdOrOptions === \"string\") {\n subscriptionId = subscriptionIdOrOptions;\n } else if (typeof subscriptionIdOrOptions === \"object\") {\n options = subscriptionIdOrOptions;\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: SecurityCenterOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-security/6.0.0-beta.6`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.locations = new LocationsImpl(this);\n this.operations = new OperationsImpl(this);\n this.tasks = new TasksImpl(this);\n this.autoProvisioningSettings = new AutoProvisioningSettingsImpl(this);\n this.compliances = new CompliancesImpl(this);\n this.informationProtectionPolicies = new InformationProtectionPoliciesImpl(\n this,\n );\n this.workspaceSettings = new WorkspaceSettingsImpl(this);\n this.alertsSuppressionRules = new AlertsSuppressionRulesImpl(this);\n this.automations = new AutomationsImpl(this);\n this.regulatoryComplianceStandards = new RegulatoryComplianceStandardsImpl(\n this,\n );\n this.regulatoryComplianceControls = new RegulatoryComplianceControlsImpl(\n this,\n );\n this.regulatoryComplianceAssessments =\n new RegulatoryComplianceAssessmentsImpl(this);\n this.subAssessments = new SubAssessmentsImpl(this);\n this.connectors = new ConnectorsImpl(this);\n this.securityContacts = new SecurityContactsImpl(this);\n this.softwareInventories = new SoftwareInventoriesImpl(this);\n this.customAssessmentAutomations = new CustomAssessmentAutomationsImpl(\n this,\n );\n this.customEntityStoreAssignments = new CustomEntityStoreAssignmentsImpl(\n this,\n );\n this.mdeOnboardings = new MdeOnboardingsImpl(this);\n this.governanceAssignments = new GovernanceAssignmentsImpl(this);\n this.governanceRules = new GovernanceRulesImpl(this);\n this.applications = new ApplicationsImpl(this);\n this.applicationOperations = new ApplicationOperationsImpl(this);\n this.securityConnectorApplications = new SecurityConnectorApplicationsImpl(\n this,\n );\n this.securityConnectorApplication = new SecurityConnectorApplicationImpl(\n this,\n );\n this.defenderForStorage = new DefenderForStorageImpl(this);\n this.securityOperators = new SecurityOperatorsImpl(this);\n this.sqlVulnerabilityAssessmentBaselineRules =\n new SqlVulnerabilityAssessmentBaselineRulesImpl(this);\n this.sqlVulnerabilityAssessmentScans =\n new SqlVulnerabilityAssessmentScansImpl(this);\n this.sqlVulnerabilityAssessmentScanResults =\n new SqlVulnerabilityAssessmentScanResultsImpl(this);\n this.sensitivitySettings = new SensitivitySettingsImpl(this);\n this.healthReports = new HealthReportsImpl(this);\n this.azureDevOpsOrgs = new AzureDevOpsOrgsImpl(this);\n this.azureDevOpsProjects = new AzureDevOpsProjectsImpl(this);\n this.azureDevOpsRepos = new AzureDevOpsReposImpl(this);\n this.devOpsConfigurations = new DevOpsConfigurationsImpl(this);\n this.gitHubOwners = new GitHubOwnersImpl(this);\n this.gitHubRepos = new GitHubReposImpl(this);\n this.gitLabGroups = new GitLabGroupsImpl(this);\n this.gitLabSubgroups = new GitLabSubgroupsImpl(this);\n this.gitLabProjects = new GitLabProjectsImpl(this);\n this.devOpsOperationResults = new DevOpsOperationResultsImpl(this);\n this.securityConnectors = new SecurityConnectorsImpl(this);\n this.complianceResults = new ComplianceResultsImpl(this);\n this.advancedThreatProtection = new AdvancedThreatProtectionImpl(this);\n this.deviceSecurityGroups = new DeviceSecurityGroupsImpl(this);\n this.iotSecuritySolutionAnalytics = new IotSecuritySolutionAnalyticsImpl(\n this,\n );\n this.iotSecuritySolutionsAnalyticsAggregatedAlert =\n new IotSecuritySolutionsAnalyticsAggregatedAlertImpl(this);\n this.iotSecuritySolutionsAnalyticsRecommendation =\n new IotSecuritySolutionsAnalyticsRecommendationImpl(this);\n this.iotSecuritySolution = new IotSecuritySolutionImpl(this);\n this.adaptiveNetworkHardenings = new AdaptiveNetworkHardeningsImpl(this);\n this.allowedConnections = new AllowedConnectionsImpl(this);\n this.adaptiveApplicationControls = new AdaptiveApplicationControlsImpl(\n this,\n );\n this.discoveredSecuritySolutions = new DiscoveredSecuritySolutionsImpl(\n this,\n );\n this.externalSecuritySolutions = new ExternalSecuritySolutionsImpl(this);\n this.jitNetworkAccessPolicies = new JitNetworkAccessPoliciesImpl(this);\n this.secureScores = new SecureScoresImpl(this);\n this.secureScoreControls = new SecureScoreControlsImpl(this);\n this.secureScoreControlDefinitions = new SecureScoreControlDefinitionsImpl(\n this,\n );\n this.securitySolutions = new SecuritySolutionsImpl(this);\n this.securitySolutionsReferenceDataOperations =\n new SecuritySolutionsReferenceDataOperationsImpl(this);\n this.serverVulnerabilityAssessmentOperations =\n new ServerVulnerabilityAssessmentOperationsImpl(this);\n this.topology = new TopologyImpl(this);\n this.assessmentsMetadata = new AssessmentsMetadataImpl(this);\n this.assessments = new AssessmentsImpl(this);\n this.alerts = new AlertsImpl(this);\n this.settings = new SettingsImpl(this);\n this.serverVulnerabilityAssessmentsSettings =\n new ServerVulnerabilityAssessmentsSettingsImpl(this);\n this.aPICollections = new APICollectionsImpl(this);\n this.pricings = new PricingsImpl(this);\n }\n\n /**\n * Updates data sensitivity settings for sensitive data discovery\n * @param sensitivitySettings The data sensitivity settings to update\n * @param options The options parameters.\n */\n updateSensitivitySettings(\n sensitivitySettings: UpdateSensitivitySettingsRequest,\n options?: UpdateSensitivitySettingsOptionalParams,\n ): Promise<UpdateSensitivitySettingsResponse> {\n return this.sendOperationRequest(\n { sensitivitySettings, options },\n updateSensitivitySettingsOperationSpec,\n );\n }\n\n /**\n * Gets data sensitivity settings for sensitive data discovery\n * @param options The options parameters.\n */\n getSensitivitySettings(\n options?: GetSensitivitySettingsOptionalParams,\n ): Promise<GetSensitivitySettingsOperationResponse> {\n return this.sendOperationRequest(\n { options },\n getSensitivitySettingsOperationSpec,\n );\n }\n\n locations: Locations;\n operations: Operations;\n tasks: Tasks;\n autoProvisioningSettings: AutoProvisioningSettings;\n compliances: Compliances;\n informationProtectionPolicies: InformationProtectionPolicies;\n workspaceSettings: WorkspaceSettings;\n alertsSuppressionRules: AlertsSuppressionRules;\n automations: Automations;\n regulatoryComplianceStandards: RegulatoryComplianceStandards;\n regulatoryComplianceControls: RegulatoryComplianceControls;\n regulatoryComplianceAssessments: RegulatoryComplianceAssessments;\n subAssessments: SubAssessments;\n connectors: Connectors;\n securityContacts: SecurityContacts;\n softwareInventories: SoftwareInventories;\n customAssessmentAutomations: CustomAssessmentAutomations;\n customEntityStoreAssignments: CustomEntityStoreAssignments;\n mdeOnboardings: MdeOnboardings;\n governanceAssignments: GovernanceAssignments;\n governanceRules: GovernanceRules;\n applications: Applications;\n applicationOperations: ApplicationOperations;\n securityConnectorApplications: SecurityConnectorApplications;\n securityConnectorApplication: SecurityConnectorApplication;\n defenderForStorage: DefenderForStorage;\n securityOperators: SecurityOperators;\n sqlVulnerabilityAssessmentBaselineRules: SqlVulnerabilityAssessmentBaselineRules;\n sqlVulnerabilityAssessmentScans: SqlVulnerabilityAssessmentScans;\n sqlVulnerabilityAssessmentScanResults: SqlVulnerabilityAssessmentScanResults;\n sensitivitySettings: SensitivitySettings;\n healthReports: HealthReports;\n azureDevOpsOrgs: AzureDevOpsOrgs;\n azureDevOpsProjects: AzureDevOpsProjects;\n azureDevOpsRepos: AzureDevOpsRepos;\n devOpsConfigurations: DevOpsConfigurations;\n gitHubOwners: GitHubOwners;\n gitHubRepos: GitHubRepos;\n gitLabGroups: GitLabGroups;\n gitLabSubgroups: GitLabSubgroups;\n gitLabProjects: GitLabProjects;\n devOpsOperationResults: DevOpsOperationResults;\n securityConnectors: SecurityConnectors;\n complianceResults: ComplianceResults;\n advancedThreatProtection: AdvancedThreatProtection;\n deviceSecurityGroups: DeviceSecurityGroups;\n iotSecuritySolutionAnalytics: IotSecuritySolutionAnalytics;\n iotSecuritySolutionsAnalyticsAggregatedAlert: IotSecuritySolutionsAnalyticsAggregatedAlert;\n iotSecuritySolutionsAnalyticsRecommendation: IotSecuritySolutionsAnalyticsRecommendation;\n iotSecuritySolution: IotSecuritySolution;\n adaptiveNetworkHardenings: AdaptiveNetworkHardenings;\n allowedConnections: AllowedConnections;\n adaptiveApplicationControls: AdaptiveApplicationControls;\n discoveredSecuritySolutions: DiscoveredSecuritySolutions;\n externalSecuritySolutions: ExternalSecuritySolutions;\n jitNetworkAccessPolicies: JitNetworkAccessPolicies;\n secureScores: SecureScores;\n secureScoreControls: SecureScoreControls;\n secureScoreControlDefinitions: SecureScoreControlDefinitions;\n securitySolutions: SecuritySolutions;\n securitySolutionsReferenceDataOperations: SecuritySolutionsReferenceDataOperations;\n serverVulnerabilityAssessmentOperations: ServerVulnerabilityAssessmentOperations;\n topology: Topology;\n assessmentsMetadata: AssessmentsMetadata;\n assessments: Assessments;\n alerts: Alerts;\n settings: Settings;\n serverVulnerabilityAssessmentsSettings: ServerVulnerabilityAssessmentsSettings;\n aPICollections: APICollections;\n pricings: Pricings;\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst updateSensitivitySettingsOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Security/sensitivitySettings/current\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.GetSensitivitySettingsResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.sensitivitySettings,\n queryParameters: [Parameters.apiVersion13],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getSensitivitySettingsOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Security/sensitivitySettings/current\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GetSensitivitySettingsResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion13],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"securityCenter.js","sourceRoot":"","sources":["../../src/securityCenter.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAE9D,OAAO,EACL,aAAa,EACb,cAAc,EACd,SAAS,EACT,4BAA4B,EAC5B,eAAe,EACf,iCAAiC,EACjC,qBAAqB,EACrB,0BAA0B,EAC1B,eAAe,EACf,iCAAiC,EACjC,gCAAgC,EAChC,mCAAmC,EACnC,kBAAkB,EAClB,cAAc,EACd,oBAAoB,EACpB,uBAAuB,EACvB,+BAA+B,EAC/B,gCAAgC,EAChC,kBAAkB,EAClB,yBAAyB,EACzB,mBAAmB,EACnB,gBAAgB,EAChB,yBAAyB,EACzB,iCAAiC,EACjC,gCAAgC,EAChC,sBAAsB,EACtB,qBAAqB,EACrB,2CAA2C,EAC3C,mCA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AAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,WAAW,EAAE,UAAU,CAAC,mBAAmB;IAC3C,eAAe,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC;IAC1C,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,2DAA2D;IACjE,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,8BAA8B;SACnD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC;IAC1C,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n LocationsImpl,\n OperationsImpl,\n TasksImpl,\n AutoProvisioningSettingsImpl,\n CompliancesImpl,\n InformationProtectionPoliciesImpl,\n WorkspaceSettingsImpl,\n AlertsSuppressionRulesImpl,\n AutomationsImpl,\n RegulatoryComplianceStandardsImpl,\n RegulatoryComplianceControlsImpl,\n RegulatoryComplianceAssessmentsImpl,\n SubAssessmentsImpl,\n ConnectorsImpl,\n SecurityContactsImpl,\n SoftwareInventoriesImpl,\n CustomAssessmentAutomationsImpl,\n CustomEntityStoreAssignmentsImpl,\n MdeOnboardingsImpl,\n GovernanceAssignmentsImpl,\n GovernanceRulesImpl,\n ApplicationsImpl,\n ApplicationOperationsImpl,\n SecurityConnectorApplicationsImpl,\n SecurityConnectorApplicationImpl,\n DefenderForStorageImpl,\n SecurityOperatorsImpl,\n SqlVulnerabilityAssessmentBaselineRulesImpl,\n SqlVulnerabilityAssessmentScansImpl,\n SqlVulnerabilityAssessmentScanResultsImpl,\n SensitivitySettingsImpl,\n HealthReportsImpl,\n AzureDevOpsOrgsImpl,\n AzureDevOpsProjectsImpl,\n AzureDevOpsReposImpl,\n DevOpsConfigurationsImpl,\n GitHubOwnersImpl,\n GitHubReposImpl,\n GitLabGroupsImpl,\n GitLabSubgroupsImpl,\n GitLabProjectsImpl,\n DevOpsOperationResultsImpl,\n SecurityConnectorsImpl,\n ComplianceResultsImpl,\n AdvancedThreatProtectionImpl,\n DeviceSecurityGroupsImpl,\n IotSecuritySolutionAnalyticsImpl,\n IotSecuritySolutionsAnalyticsAggregatedAlertImpl,\n IotSecuritySolutionsAnalyticsRecommendationImpl,\n IotSecuritySolutionImpl,\n AdaptiveNetworkHardeningsImpl,\n AllowedConnectionsImpl,\n AdaptiveApplicationControlsImpl,\n DiscoveredSecuritySolutionsImpl,\n ExternalSecuritySolutionsImpl,\n JitNetworkAccessPoliciesImpl,\n SecureScoresImpl,\n SecureScoreControlsImpl,\n SecureScoreControlDefinitionsImpl,\n SecuritySolutionsImpl,\n SecuritySolutionsReferenceDataOperationsImpl,\n ServerVulnerabilityAssessmentOperationsImpl,\n TopologyImpl,\n AssessmentsMetadataImpl,\n AssessmentsImpl,\n AlertsImpl,\n SettingsImpl,\n ServerVulnerabilityAssessmentsSettingsImpl,\n APICollectionsImpl,\n PricingsImpl,\n} from \"./operations/index.js\";\nimport {\n Locations,\n Operations,\n Tasks,\n AutoProvisioningSettings,\n Compliances,\n InformationProtectionPolicies,\n WorkspaceSettings,\n AlertsSuppressionRules,\n Automations,\n RegulatoryComplianceStandards,\n RegulatoryComplianceControls,\n RegulatoryComplianceAssessments,\n SubAssessments,\n Connectors,\n SecurityContacts,\n SoftwareInventories,\n CustomAssessmentAutomations,\n CustomEntityStoreAssignments,\n MdeOnboardings,\n GovernanceAssignments,\n GovernanceRules,\n Applications,\n ApplicationOperations,\n SecurityConnectorApplications,\n SecurityConnectorApplication,\n DefenderForStorage,\n SecurityOperators,\n SqlVulnerabilityAssessmentBaselineRules,\n SqlVulnerabilityAssessmentScans,\n SqlVulnerabilityAssessmentScanResults,\n SensitivitySettings,\n HealthReports,\n AzureDevOpsOrgs,\n AzureDevOpsProjects,\n AzureDevOpsRepos,\n DevOpsConfigurations,\n GitHubOwners,\n GitHubRepos,\n GitLabGroups,\n GitLabSubgroups,\n GitLabProjects,\n DevOpsOperationResults,\n SecurityConnectors,\n ComplianceResults,\n AdvancedThreatProtection,\n DeviceSecurityGroups,\n IotSecuritySolutionAnalytics,\n IotSecuritySolutionsAnalyticsAggregatedAlert,\n IotSecuritySolutionsAnalyticsRecommendation,\n IotSecuritySolution,\n AdaptiveNetworkHardenings,\n AllowedConnections,\n AdaptiveApplicationControls,\n DiscoveredSecuritySolutions,\n ExternalSecuritySolutions,\n JitNetworkAccessPolicies,\n SecureScores,\n SecureScoreControls,\n SecureScoreControlDefinitions,\n SecuritySolutions,\n SecuritySolutionsReferenceDataOperations,\n ServerVulnerabilityAssessmentOperations,\n Topology,\n AssessmentsMetadata,\n Assessments,\n Alerts,\n Settings,\n ServerVulnerabilityAssessmentsSettings,\n APICollections,\n Pricings,\n} from \"./operationsInterfaces/index.js\";\nimport * as Parameters from \"./models/parameters.js\";\nimport * as Mappers from \"./models/mappers.js\";\nimport {\n SecurityCenterOptionalParams,\n UpdateSensitivitySettingsRequest,\n UpdateSensitivitySettingsOptionalParams,\n UpdateSensitivitySettingsResponse,\n GetSensitivitySettingsOptionalParams,\n GetSensitivitySettingsOperationResponse,\n} from \"./models/index.js\";\n\nexport class SecurityCenter extends coreClient.ServiceClient {\n $host: string;\n subscriptionId?: string;\n\n /**\n * Initializes a new instance of the SecurityCenter class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId Azure subscription ID\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: SecurityCenterOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n options?: SecurityCenterOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionIdOrOptions?: SecurityCenterOptionalParams | string,\n options?: SecurityCenterOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n\n let subscriptionId: string | undefined;\n\n if (typeof subscriptionIdOrOptions === \"string\") {\n subscriptionId = subscriptionIdOrOptions;\n } else if (typeof subscriptionIdOrOptions === \"object\") {\n options = subscriptionIdOrOptions;\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: SecurityCenterOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-security/6.0.0-beta.7`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.locations = new LocationsImpl(this);\n this.operations = new OperationsImpl(this);\n this.tasks = new TasksImpl(this);\n this.autoProvisioningSettings = new AutoProvisioningSettingsImpl(this);\n this.compliances = new CompliancesImpl(this);\n this.informationProtectionPolicies = new InformationProtectionPoliciesImpl(\n this,\n );\n this.workspaceSettings = new WorkspaceSettingsImpl(this);\n this.alertsSuppressionRules = new AlertsSuppressionRulesImpl(this);\n this.automations = new AutomationsImpl(this);\n this.regulatoryComplianceStandards = new RegulatoryComplianceStandardsImpl(\n this,\n );\n this.regulatoryComplianceControls = new RegulatoryComplianceControlsImpl(\n this,\n );\n this.regulatoryComplianceAssessments =\n new RegulatoryComplianceAssessmentsImpl(this);\n this.subAssessments = new SubAssessmentsImpl(this);\n this.connectors = new ConnectorsImpl(this);\n this.securityContacts = new SecurityContactsImpl(this);\n this.softwareInventories = new SoftwareInventoriesImpl(this);\n this.customAssessmentAutomations = new CustomAssessmentAutomationsImpl(\n this,\n );\n this.customEntityStoreAssignments = new CustomEntityStoreAssignmentsImpl(\n this,\n );\n this.mdeOnboardings = new MdeOnboardingsImpl(this);\n this.governanceAssignments = new GovernanceAssignmentsImpl(this);\n this.governanceRules = new GovernanceRulesImpl(this);\n this.applications = new ApplicationsImpl(this);\n this.applicationOperations = new ApplicationOperationsImpl(this);\n this.securityConnectorApplications = new SecurityConnectorApplicationsImpl(\n this,\n );\n this.securityConnectorApplication = new SecurityConnectorApplicationImpl(\n this,\n );\n this.defenderForStorage = new DefenderForStorageImpl(this);\n this.securityOperators = new SecurityOperatorsImpl(this);\n this.sqlVulnerabilityAssessmentBaselineRules =\n new SqlVulnerabilityAssessmentBaselineRulesImpl(this);\n this.sqlVulnerabilityAssessmentScans =\n new SqlVulnerabilityAssessmentScansImpl(this);\n this.sqlVulnerabilityAssessmentScanResults =\n new SqlVulnerabilityAssessmentScanResultsImpl(this);\n this.sensitivitySettings = new SensitivitySettingsImpl(this);\n this.healthReports = new HealthReportsImpl(this);\n this.azureDevOpsOrgs = new AzureDevOpsOrgsImpl(this);\n this.azureDevOpsProjects = new AzureDevOpsProjectsImpl(this);\n this.azureDevOpsRepos = new AzureDevOpsReposImpl(this);\n this.devOpsConfigurations = new DevOpsConfigurationsImpl(this);\n this.gitHubOwners = new GitHubOwnersImpl(this);\n this.gitHubRepos = new GitHubReposImpl(this);\n this.gitLabGroups = new GitLabGroupsImpl(this);\n this.gitLabSubgroups = new GitLabSubgroupsImpl(this);\n this.gitLabProjects = new GitLabProjectsImpl(this);\n this.devOpsOperationResults = new DevOpsOperationResultsImpl(this);\n this.securityConnectors = new SecurityConnectorsImpl(this);\n this.complianceResults = new ComplianceResultsImpl(this);\n this.advancedThreatProtection = new AdvancedThreatProtectionImpl(this);\n this.deviceSecurityGroups = new DeviceSecurityGroupsImpl(this);\n this.iotSecuritySolutionAnalytics = new IotSecuritySolutionAnalyticsImpl(\n this,\n );\n this.iotSecuritySolutionsAnalyticsAggregatedAlert =\n new IotSecuritySolutionsAnalyticsAggregatedAlertImpl(this);\n this.iotSecuritySolutionsAnalyticsRecommendation =\n new IotSecuritySolutionsAnalyticsRecommendationImpl(this);\n this.iotSecuritySolution = new IotSecuritySolutionImpl(this);\n this.adaptiveNetworkHardenings = new AdaptiveNetworkHardeningsImpl(this);\n this.allowedConnections = new AllowedConnectionsImpl(this);\n this.adaptiveApplicationControls = new AdaptiveApplicationControlsImpl(\n this,\n );\n this.discoveredSecuritySolutions = new DiscoveredSecuritySolutionsImpl(\n this,\n );\n this.externalSecuritySolutions = new ExternalSecuritySolutionsImpl(this);\n this.jitNetworkAccessPolicies = new JitNetworkAccessPoliciesImpl(this);\n this.secureScores = new SecureScoresImpl(this);\n this.secureScoreControls = new SecureScoreControlsImpl(this);\n this.secureScoreControlDefinitions = new SecureScoreControlDefinitionsImpl(\n this,\n );\n this.securitySolutions = new SecuritySolutionsImpl(this);\n this.securitySolutionsReferenceDataOperations =\n new SecuritySolutionsReferenceDataOperationsImpl(this);\n this.serverVulnerabilityAssessmentOperations =\n new ServerVulnerabilityAssessmentOperationsImpl(this);\n this.topology = new TopologyImpl(this);\n this.assessmentsMetadata = new AssessmentsMetadataImpl(this);\n this.assessments = new AssessmentsImpl(this);\n this.alerts = new AlertsImpl(this);\n this.settings = new SettingsImpl(this);\n this.serverVulnerabilityAssessmentsSettings =\n new ServerVulnerabilityAssessmentsSettingsImpl(this);\n this.aPICollections = new APICollectionsImpl(this);\n this.pricings = new PricingsImpl(this);\n }\n\n /**\n * Updates data sensitivity settings for sensitive data discovery\n * @param sensitivitySettings The data sensitivity settings to update\n * @param options The options parameters.\n */\n updateSensitivitySettings(\n sensitivitySettings: UpdateSensitivitySettingsRequest,\n options?: UpdateSensitivitySettingsOptionalParams,\n ): Promise<UpdateSensitivitySettingsResponse> {\n return this.sendOperationRequest(\n { sensitivitySettings, options },\n updateSensitivitySettingsOperationSpec,\n );\n }\n\n /**\n * Gets data sensitivity settings for sensitive data discovery\n * @param options The options parameters.\n */\n getSensitivitySettings(\n options?: GetSensitivitySettingsOptionalParams,\n ): Promise<GetSensitivitySettingsOperationResponse> {\n return this.sendOperationRequest(\n { options },\n getSensitivitySettingsOperationSpec,\n );\n }\n\n locations: Locations;\n operations: Operations;\n tasks: Tasks;\n autoProvisioningSettings: AutoProvisioningSettings;\n compliances: Compliances;\n informationProtectionPolicies: InformationProtectionPolicies;\n workspaceSettings: WorkspaceSettings;\n alertsSuppressionRules: AlertsSuppressionRules;\n automations: Automations;\n regulatoryComplianceStandards: RegulatoryComplianceStandards;\n regulatoryComplianceControls: RegulatoryComplianceControls;\n regulatoryComplianceAssessments: RegulatoryComplianceAssessments;\n subAssessments: SubAssessments;\n connectors: Connectors;\n securityContacts: SecurityContacts;\n softwareInventories: SoftwareInventories;\n customAssessmentAutomations: CustomAssessmentAutomations;\n customEntityStoreAssignments: CustomEntityStoreAssignments;\n mdeOnboardings: MdeOnboardings;\n governanceAssignments: GovernanceAssignments;\n governanceRules: GovernanceRules;\n applications: Applications;\n applicationOperations: ApplicationOperations;\n securityConnectorApplications: SecurityConnectorApplications;\n securityConnectorApplication: SecurityConnectorApplication;\n defenderForStorage: DefenderForStorage;\n securityOperators: SecurityOperators;\n sqlVulnerabilityAssessmentBaselineRules: SqlVulnerabilityAssessmentBaselineRules;\n sqlVulnerabilityAssessmentScans: SqlVulnerabilityAssessmentScans;\n sqlVulnerabilityAssessmentScanResults: SqlVulnerabilityAssessmentScanResults;\n sensitivitySettings: SensitivitySettings;\n healthReports: HealthReports;\n azureDevOpsOrgs: AzureDevOpsOrgs;\n azureDevOpsProjects: AzureDevOpsProjects;\n azureDevOpsRepos: AzureDevOpsRepos;\n devOpsConfigurations: DevOpsConfigurations;\n gitHubOwners: GitHubOwners;\n gitHubRepos: GitHubRepos;\n gitLabGroups: GitLabGroups;\n gitLabSubgroups: GitLabSubgroups;\n gitLabProjects: GitLabProjects;\n devOpsOperationResults: DevOpsOperationResults;\n securityConnectors: SecurityConnectors;\n complianceResults: ComplianceResults;\n advancedThreatProtection: AdvancedThreatProtection;\n deviceSecurityGroups: DeviceSecurityGroups;\n iotSecuritySolutionAnalytics: IotSecuritySolutionAnalytics;\n iotSecuritySolutionsAnalyticsAggregatedAlert: IotSecuritySolutionsAnalyticsAggregatedAlert;\n iotSecuritySolutionsAnalyticsRecommendation: IotSecuritySolutionsAnalyticsRecommendation;\n iotSecuritySolution: IotSecuritySolution;\n adaptiveNetworkHardenings: AdaptiveNetworkHardenings;\n allowedConnections: AllowedConnections;\n adaptiveApplicationControls: AdaptiveApplicationControls;\n discoveredSecuritySolutions: DiscoveredSecuritySolutions;\n externalSecuritySolutions: ExternalSecuritySolutions;\n jitNetworkAccessPolicies: JitNetworkAccessPolicies;\n secureScores: SecureScores;\n secureScoreControls: SecureScoreControls;\n secureScoreControlDefinitions: SecureScoreControlDefinitions;\n securitySolutions: SecuritySolutions;\n securitySolutionsReferenceDataOperations: SecuritySolutionsReferenceDataOperations;\n serverVulnerabilityAssessmentOperations: ServerVulnerabilityAssessmentOperations;\n topology: Topology;\n assessmentsMetadata: AssessmentsMetadata;\n assessments: Assessments;\n alerts: Alerts;\n settings: Settings;\n serverVulnerabilityAssessmentsSettings: ServerVulnerabilityAssessmentsSettings;\n aPICollections: APICollections;\n pricings: Pricings;\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst updateSensitivitySettingsOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Security/sensitivitySettings/current\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.GetSensitivitySettingsResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.sensitivitySettings,\n queryParameters: [Parameters.apiVersion13],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getSensitivitySettingsOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Security/sensitivitySettings/current\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GetSensitivitySettingsResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion13],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -32,7 +32,7 @@ export class SecurityCenter extends coreClient.ServiceClient {
32
32
  requestContentType: "application/json; charset=utf-8",
33
33
  credential: credentials,
34
34
  };
35
- const packageDetails = `azsdk-js-arm-security/6.0.0-beta.6`;
35
+ const packageDetails = `azsdk-js-arm-security/6.0.0-beta.7`;
36
36
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
37
37
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
38
38
  : `${packageDetails}`;
@@ -1 +1 @@
1
- {"version":3,"file":"securityCenter.js","sourceRoot":"","sources":["../../src/securityCenter.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAE9D,OAAO,EACL,aAAa,EACb,cAAc,EACd,SAAS,EACT,4BAA4B,EAC5B,eAAe,EACf,iCAAiC,EACjC,qBAAqB,EACrB,0BAA0B,EAC1B,eAAe,EACf,iCAAiC,EACjC,gCAAgC,EAChC,mCAAmC,EACnC,kBAAkB,EAClB,cAAc,EACd,oBAAoB,EACpB,uBAAuB,EACvB,+BAA+B,EAC/B,gCAAgC,EAChC,kBAAkB,EAClB,yBAAyB,EACzB,mBAAmB,EACnB,gBAAgB,EAChB,yBAAyB,EACzB,iCAAiC,EACjC,gCAAgC,EAChC,sBAAsB,EACtB,qBAAqB,EACrB,2CAA2C,EAC3C,mCAAmC,EACnC,yCAAyC,EACzC,uBAAuB,EACvB,iBAAiB,EACjB,mBAAmB,EACnB,uBAAuB,EACvB,oBAAoB,EACpB,wBAAwB,EACxB,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EAClB,0BAA0B,EAC1B,sBAAsB,EACtB,qBAAqB,EACrB,4BAA4B,EAC5B,wBAAwB,EACxB,gCAAgC,EAChC,gDAAgD,EAChD,+CAA+C,EAC/C,uBAAuB,EACvB,6BAA6B,EAC7B,sBAAsB,EACtB,+BAA+B,EAC/B,+BAA+B,EAC/B,6BAA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B,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,8BAA8B;SACnD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC;IAC1C,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n LocationsImpl,\n OperationsImpl,\n TasksImpl,\n AutoProvisioningSettingsImpl,\n CompliancesImpl,\n InformationProtectionPoliciesImpl,\n WorkspaceSettingsImpl,\n AlertsSuppressionRulesImpl,\n AutomationsImpl,\n RegulatoryComplianceStandardsImpl,\n RegulatoryComplianceControlsImpl,\n RegulatoryComplianceAssessmentsImpl,\n SubAssessmentsImpl,\n ConnectorsImpl,\n SecurityContactsImpl,\n SoftwareInventoriesImpl,\n CustomAssessmentAutomationsImpl,\n CustomEntityStoreAssignmentsImpl,\n MdeOnboardingsImpl,\n GovernanceAssignmentsImpl,\n GovernanceRulesImpl,\n ApplicationsImpl,\n ApplicationOperationsImpl,\n SecurityConnectorApplicationsImpl,\n SecurityConnectorApplicationImpl,\n DefenderForStorageImpl,\n SecurityOperatorsImpl,\n SqlVulnerabilityAssessmentBaselineRulesImpl,\n SqlVulnerabilityAssessmentScansImpl,\n SqlVulnerabilityAssessmentScanResultsImpl,\n SensitivitySettingsImpl,\n HealthReportsImpl,\n AzureDevOpsOrgsImpl,\n AzureDevOpsProjectsImpl,\n AzureDevOpsReposImpl,\n DevOpsConfigurationsImpl,\n GitHubOwnersImpl,\n GitHubReposImpl,\n GitLabGroupsImpl,\n GitLabSubgroupsImpl,\n GitLabProjectsImpl,\n DevOpsOperationResultsImpl,\n SecurityConnectorsImpl,\n ComplianceResultsImpl,\n AdvancedThreatProtectionImpl,\n DeviceSecurityGroupsImpl,\n IotSecuritySolutionAnalyticsImpl,\n IotSecuritySolutionsAnalyticsAggregatedAlertImpl,\n IotSecuritySolutionsAnalyticsRecommendationImpl,\n IotSecuritySolutionImpl,\n AdaptiveNetworkHardeningsImpl,\n AllowedConnectionsImpl,\n AdaptiveApplicationControlsImpl,\n DiscoveredSecuritySolutionsImpl,\n ExternalSecuritySolutionsImpl,\n JitNetworkAccessPoliciesImpl,\n SecureScoresImpl,\n SecureScoreControlsImpl,\n SecureScoreControlDefinitionsImpl,\n SecuritySolutionsImpl,\n SecuritySolutionsReferenceDataOperationsImpl,\n ServerVulnerabilityAssessmentOperationsImpl,\n TopologyImpl,\n AssessmentsMetadataImpl,\n AssessmentsImpl,\n AlertsImpl,\n SettingsImpl,\n ServerVulnerabilityAssessmentsSettingsImpl,\n APICollectionsImpl,\n PricingsImpl,\n} from \"./operations/index.js\";\nimport {\n Locations,\n Operations,\n Tasks,\n AutoProvisioningSettings,\n Compliances,\n InformationProtectionPolicies,\n WorkspaceSettings,\n AlertsSuppressionRules,\n Automations,\n RegulatoryComplianceStandards,\n RegulatoryComplianceControls,\n RegulatoryComplianceAssessments,\n SubAssessments,\n Connectors,\n SecurityContacts,\n SoftwareInventories,\n CustomAssessmentAutomations,\n CustomEntityStoreAssignments,\n MdeOnboardings,\n GovernanceAssignments,\n GovernanceRules,\n Applications,\n ApplicationOperations,\n SecurityConnectorApplications,\n SecurityConnectorApplication,\n DefenderForStorage,\n SecurityOperators,\n SqlVulnerabilityAssessmentBaselineRules,\n SqlVulnerabilityAssessmentScans,\n SqlVulnerabilityAssessmentScanResults,\n SensitivitySettings,\n HealthReports,\n AzureDevOpsOrgs,\n AzureDevOpsProjects,\n AzureDevOpsRepos,\n DevOpsConfigurations,\n GitHubOwners,\n GitHubRepos,\n GitLabGroups,\n GitLabSubgroups,\n GitLabProjects,\n DevOpsOperationResults,\n SecurityConnectors,\n ComplianceResults,\n AdvancedThreatProtection,\n DeviceSecurityGroups,\n IotSecuritySolutionAnalytics,\n IotSecuritySolutionsAnalyticsAggregatedAlert,\n IotSecuritySolutionsAnalyticsRecommendation,\n IotSecuritySolution,\n AdaptiveNetworkHardenings,\n AllowedConnections,\n AdaptiveApplicationControls,\n DiscoveredSecuritySolutions,\n ExternalSecuritySolutions,\n JitNetworkAccessPolicies,\n SecureScores,\n SecureScoreControls,\n SecureScoreControlDefinitions,\n SecuritySolutions,\n SecuritySolutionsReferenceDataOperations,\n ServerVulnerabilityAssessmentOperations,\n Topology,\n AssessmentsMetadata,\n Assessments,\n Alerts,\n Settings,\n ServerVulnerabilityAssessmentsSettings,\n APICollections,\n Pricings,\n} from \"./operationsInterfaces/index.js\";\nimport * as Parameters from \"./models/parameters.js\";\nimport * as Mappers from \"./models/mappers.js\";\nimport {\n SecurityCenterOptionalParams,\n UpdateSensitivitySettingsRequest,\n UpdateSensitivitySettingsOptionalParams,\n UpdateSensitivitySettingsResponse,\n GetSensitivitySettingsOptionalParams,\n GetSensitivitySettingsOperationResponse,\n} from \"./models/index.js\";\n\nexport class SecurityCenter extends coreClient.ServiceClient {\n $host: string;\n subscriptionId?: string;\n\n /**\n * Initializes a new instance of the SecurityCenter class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId Azure subscription ID\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: SecurityCenterOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n options?: SecurityCenterOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionIdOrOptions?: SecurityCenterOptionalParams | string,\n options?: SecurityCenterOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n\n let subscriptionId: string | undefined;\n\n if (typeof subscriptionIdOrOptions === \"string\") {\n subscriptionId = subscriptionIdOrOptions;\n } else if (typeof subscriptionIdOrOptions === \"object\") {\n options = subscriptionIdOrOptions;\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: SecurityCenterOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-security/6.0.0-beta.6`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.locations = new LocationsImpl(this);\n this.operations = new OperationsImpl(this);\n this.tasks = new TasksImpl(this);\n this.autoProvisioningSettings = new AutoProvisioningSettingsImpl(this);\n this.compliances = new CompliancesImpl(this);\n this.informationProtectionPolicies = new InformationProtectionPoliciesImpl(\n this,\n );\n this.workspaceSettings = new WorkspaceSettingsImpl(this);\n this.alertsSuppressionRules = new AlertsSuppressionRulesImpl(this);\n this.automations = new AutomationsImpl(this);\n this.regulatoryComplianceStandards = new RegulatoryComplianceStandardsImpl(\n this,\n );\n this.regulatoryComplianceControls = new RegulatoryComplianceControlsImpl(\n this,\n );\n this.regulatoryComplianceAssessments =\n new RegulatoryComplianceAssessmentsImpl(this);\n this.subAssessments = new SubAssessmentsImpl(this);\n this.connectors = new ConnectorsImpl(this);\n this.securityContacts = new SecurityContactsImpl(this);\n this.softwareInventories = new SoftwareInventoriesImpl(this);\n this.customAssessmentAutomations = new CustomAssessmentAutomationsImpl(\n this,\n );\n this.customEntityStoreAssignments = new CustomEntityStoreAssignmentsImpl(\n this,\n );\n this.mdeOnboardings = new MdeOnboardingsImpl(this);\n this.governanceAssignments = new GovernanceAssignmentsImpl(this);\n this.governanceRules = new GovernanceRulesImpl(this);\n this.applications = new ApplicationsImpl(this);\n this.applicationOperations = new ApplicationOperationsImpl(this);\n this.securityConnectorApplications = new SecurityConnectorApplicationsImpl(\n this,\n );\n this.securityConnectorApplication = new SecurityConnectorApplicationImpl(\n this,\n );\n this.defenderForStorage = new DefenderForStorageImpl(this);\n this.securityOperators = new SecurityOperatorsImpl(this);\n this.sqlVulnerabilityAssessmentBaselineRules =\n new SqlVulnerabilityAssessmentBaselineRulesImpl(this);\n this.sqlVulnerabilityAssessmentScans =\n new SqlVulnerabilityAssessmentScansImpl(this);\n this.sqlVulnerabilityAssessmentScanResults =\n new SqlVulnerabilityAssessmentScanResultsImpl(this);\n this.sensitivitySettings = new SensitivitySettingsImpl(this);\n this.healthReports = new HealthReportsImpl(this);\n this.azureDevOpsOrgs = new AzureDevOpsOrgsImpl(this);\n this.azureDevOpsProjects = new AzureDevOpsProjectsImpl(this);\n this.azureDevOpsRepos = new AzureDevOpsReposImpl(this);\n this.devOpsConfigurations = new DevOpsConfigurationsImpl(this);\n this.gitHubOwners = new GitHubOwnersImpl(this);\n this.gitHubRepos = new GitHubReposImpl(this);\n this.gitLabGroups = new GitLabGroupsImpl(this);\n this.gitLabSubgroups = new GitLabSubgroupsImpl(this);\n this.gitLabProjects = new GitLabProjectsImpl(this);\n this.devOpsOperationResults = new DevOpsOperationResultsImpl(this);\n this.securityConnectors = new SecurityConnectorsImpl(this);\n this.complianceResults = new ComplianceResultsImpl(this);\n this.advancedThreatProtection = new AdvancedThreatProtectionImpl(this);\n this.deviceSecurityGroups = new DeviceSecurityGroupsImpl(this);\n this.iotSecuritySolutionAnalytics = new IotSecuritySolutionAnalyticsImpl(\n this,\n );\n this.iotSecuritySolutionsAnalyticsAggregatedAlert =\n new IotSecuritySolutionsAnalyticsAggregatedAlertImpl(this);\n this.iotSecuritySolutionsAnalyticsRecommendation =\n new IotSecuritySolutionsAnalyticsRecommendationImpl(this);\n this.iotSecuritySolution = new IotSecuritySolutionImpl(this);\n this.adaptiveNetworkHardenings = new AdaptiveNetworkHardeningsImpl(this);\n this.allowedConnections = new AllowedConnectionsImpl(this);\n this.adaptiveApplicationControls = new AdaptiveApplicationControlsImpl(\n this,\n );\n this.discoveredSecuritySolutions = new DiscoveredSecuritySolutionsImpl(\n this,\n );\n this.externalSecuritySolutions = new ExternalSecuritySolutionsImpl(this);\n this.jitNetworkAccessPolicies = new JitNetworkAccessPoliciesImpl(this);\n this.secureScores = new SecureScoresImpl(this);\n this.secureScoreControls = new SecureScoreControlsImpl(this);\n this.secureScoreControlDefinitions = new SecureScoreControlDefinitionsImpl(\n this,\n );\n this.securitySolutions = new SecuritySolutionsImpl(this);\n this.securitySolutionsReferenceDataOperations =\n new SecuritySolutionsReferenceDataOperationsImpl(this);\n this.serverVulnerabilityAssessmentOperations =\n new ServerVulnerabilityAssessmentOperationsImpl(this);\n this.topology = new TopologyImpl(this);\n this.assessmentsMetadata = new AssessmentsMetadataImpl(this);\n this.assessments = new AssessmentsImpl(this);\n this.alerts = new AlertsImpl(this);\n this.settings = new SettingsImpl(this);\n this.serverVulnerabilityAssessmentsSettings =\n new ServerVulnerabilityAssessmentsSettingsImpl(this);\n this.aPICollections = new APICollectionsImpl(this);\n this.pricings = new PricingsImpl(this);\n }\n\n /**\n * Updates data sensitivity settings for sensitive data discovery\n * @param sensitivitySettings The data sensitivity settings to update\n * @param options The options parameters.\n */\n updateSensitivitySettings(\n sensitivitySettings: UpdateSensitivitySettingsRequest,\n options?: UpdateSensitivitySettingsOptionalParams,\n ): Promise<UpdateSensitivitySettingsResponse> {\n return this.sendOperationRequest(\n { sensitivitySettings, options },\n updateSensitivitySettingsOperationSpec,\n );\n }\n\n /**\n * Gets data sensitivity settings for sensitive data discovery\n * @param options The options parameters.\n */\n getSensitivitySettings(\n options?: GetSensitivitySettingsOptionalParams,\n ): Promise<GetSensitivitySettingsOperationResponse> {\n return this.sendOperationRequest(\n { options },\n getSensitivitySettingsOperationSpec,\n );\n }\n\n locations: Locations;\n operations: Operations;\n tasks: Tasks;\n autoProvisioningSettings: AutoProvisioningSettings;\n compliances: Compliances;\n informationProtectionPolicies: InformationProtectionPolicies;\n workspaceSettings: WorkspaceSettings;\n alertsSuppressionRules: AlertsSuppressionRules;\n automations: Automations;\n regulatoryComplianceStandards: RegulatoryComplianceStandards;\n regulatoryComplianceControls: RegulatoryComplianceControls;\n regulatoryComplianceAssessments: RegulatoryComplianceAssessments;\n subAssessments: SubAssessments;\n connectors: Connectors;\n securityContacts: SecurityContacts;\n softwareInventories: SoftwareInventories;\n customAssessmentAutomations: CustomAssessmentAutomations;\n customEntityStoreAssignments: CustomEntityStoreAssignments;\n mdeOnboardings: MdeOnboardings;\n governanceAssignments: GovernanceAssignments;\n governanceRules: GovernanceRules;\n applications: Applications;\n applicationOperations: ApplicationOperations;\n securityConnectorApplications: SecurityConnectorApplications;\n securityConnectorApplication: SecurityConnectorApplication;\n defenderForStorage: DefenderForStorage;\n securityOperators: SecurityOperators;\n sqlVulnerabilityAssessmentBaselineRules: SqlVulnerabilityAssessmentBaselineRules;\n sqlVulnerabilityAssessmentScans: SqlVulnerabilityAssessmentScans;\n sqlVulnerabilityAssessmentScanResults: SqlVulnerabilityAssessmentScanResults;\n sensitivitySettings: SensitivitySettings;\n healthReports: HealthReports;\n azureDevOpsOrgs: AzureDevOpsOrgs;\n azureDevOpsProjects: AzureDevOpsProjects;\n azureDevOpsRepos: AzureDevOpsRepos;\n devOpsConfigurations: DevOpsConfigurations;\n gitHubOwners: GitHubOwners;\n gitHubRepos: GitHubRepos;\n gitLabGroups: GitLabGroups;\n gitLabSubgroups: GitLabSubgroups;\n gitLabProjects: GitLabProjects;\n devOpsOperationResults: DevOpsOperationResults;\n securityConnectors: SecurityConnectors;\n complianceResults: ComplianceResults;\n advancedThreatProtection: AdvancedThreatProtection;\n deviceSecurityGroups: DeviceSecurityGroups;\n iotSecuritySolutionAnalytics: IotSecuritySolutionAnalytics;\n iotSecuritySolutionsAnalyticsAggregatedAlert: IotSecuritySolutionsAnalyticsAggregatedAlert;\n iotSecuritySolutionsAnalyticsRecommendation: IotSecuritySolutionsAnalyticsRecommendation;\n iotSecuritySolution: IotSecuritySolution;\n adaptiveNetworkHardenings: AdaptiveNetworkHardenings;\n allowedConnections: AllowedConnections;\n adaptiveApplicationControls: AdaptiveApplicationControls;\n discoveredSecuritySolutions: DiscoveredSecuritySolutions;\n externalSecuritySolutions: ExternalSecuritySolutions;\n jitNetworkAccessPolicies: JitNetworkAccessPolicies;\n secureScores: SecureScores;\n secureScoreControls: SecureScoreControls;\n secureScoreControlDefinitions: SecureScoreControlDefinitions;\n securitySolutions: SecuritySolutions;\n securitySolutionsReferenceDataOperations: SecuritySolutionsReferenceDataOperations;\n serverVulnerabilityAssessmentOperations: ServerVulnerabilityAssessmentOperations;\n topology: Topology;\n assessmentsMetadata: AssessmentsMetadata;\n assessments: Assessments;\n alerts: Alerts;\n settings: Settings;\n serverVulnerabilityAssessmentsSettings: ServerVulnerabilityAssessmentsSettings;\n aPICollections: APICollections;\n pricings: Pricings;\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst updateSensitivitySettingsOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Security/sensitivitySettings/current\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.GetSensitivitySettingsResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.sensitivitySettings,\n queryParameters: [Parameters.apiVersion13],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getSensitivitySettingsOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Security/sensitivitySettings/current\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GetSensitivitySettingsResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion13],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"securityCenter.js","sourceRoot":"","sources":["../../src/securityCenter.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAE9D,OAAO,EACL,aAAa,EACb,cAAc,EACd,SAAS,EACT,4BAA4B,EAC5B,eAAe,EACf,iCAAiC,EACjC,qBAAqB,EACrB,0BAA0B,EAC1B,eAAe,EACf,iCAAiC,EACjC,gCAAgC,EAChC,mCAAmC,EACnC,kBAAkB,EAClB,cAAc,EACd,oBAAoB,EACpB,uBAAuB,EACvB,+BAA+B,EAC/B,gCAAgC,EAChC,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vE,IAAI,EAAE,2DAA2D;IACjE,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,8BAA8B;SACnD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,WAAW,EAAE,UAAU,CAAC,mBAAmB;IAC3C,eAAe,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC;IAC1C,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,2DAA2D;IACjE,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,8BAA8B;SACnD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC;IAC1C,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n LocationsImpl,\n OperationsImpl,\n TasksImpl,\n AutoProvisioningSettingsImpl,\n CompliancesImpl,\n InformationProtectionPoliciesImpl,\n WorkspaceSettingsImpl,\n AlertsSuppressionRulesImpl,\n AutomationsImpl,\n RegulatoryComplianceStandardsImpl,\n RegulatoryComplianceControlsImpl,\n RegulatoryComplianceAssessmentsImpl,\n SubAssessmentsImpl,\n ConnectorsImpl,\n SecurityContactsImpl,\n SoftwareInventoriesImpl,\n CustomAssessmentAutomationsImpl,\n CustomEntityStoreAssignmentsImpl,\n MdeOnboardingsImpl,\n GovernanceAssignmentsImpl,\n GovernanceRulesImpl,\n ApplicationsImpl,\n ApplicationOperationsImpl,\n SecurityConnectorApplicationsImpl,\n SecurityConnectorApplicationImpl,\n DefenderForStorageImpl,\n SecurityOperatorsImpl,\n SqlVulnerabilityAssessmentBaselineRulesImpl,\n SqlVulnerabilityAssessmentScansImpl,\n SqlVulnerabilityAssessmentScanResultsImpl,\n SensitivitySettingsImpl,\n HealthReportsImpl,\n AzureDevOpsOrgsImpl,\n AzureDevOpsProjectsImpl,\n AzureDevOpsReposImpl,\n DevOpsConfigurationsImpl,\n GitHubOwnersImpl,\n GitHubReposImpl,\n GitLabGroupsImpl,\n GitLabSubgroupsImpl,\n GitLabProjectsImpl,\n DevOpsOperationResultsImpl,\n SecurityConnectorsImpl,\n ComplianceResultsImpl,\n AdvancedThreatProtectionImpl,\n DeviceSecurityGroupsImpl,\n IotSecuritySolutionAnalyticsImpl,\n IotSecuritySolutionsAnalyticsAggregatedAlertImpl,\n IotSecuritySolutionsAnalyticsRecommendationImpl,\n IotSecuritySolutionImpl,\n AdaptiveNetworkHardeningsImpl,\n AllowedConnectionsImpl,\n AdaptiveApplicationControlsImpl,\n DiscoveredSecuritySolutionsImpl,\n ExternalSecuritySolutionsImpl,\n JitNetworkAccessPoliciesImpl,\n SecureScoresImpl,\n SecureScoreControlsImpl,\n SecureScoreControlDefinitionsImpl,\n SecuritySolutionsImpl,\n SecuritySolutionsReferenceDataOperationsImpl,\n ServerVulnerabilityAssessmentOperationsImpl,\n TopologyImpl,\n AssessmentsMetadataImpl,\n AssessmentsImpl,\n AlertsImpl,\n SettingsImpl,\n ServerVulnerabilityAssessmentsSettingsImpl,\n APICollectionsImpl,\n PricingsImpl,\n} from \"./operations/index.js\";\nimport {\n Locations,\n Operations,\n Tasks,\n AutoProvisioningSettings,\n Compliances,\n InformationProtectionPolicies,\n WorkspaceSettings,\n AlertsSuppressionRules,\n Automations,\n RegulatoryComplianceStandards,\n RegulatoryComplianceControls,\n RegulatoryComplianceAssessments,\n SubAssessments,\n Connectors,\n SecurityContacts,\n SoftwareInventories,\n CustomAssessmentAutomations,\n CustomEntityStoreAssignments,\n MdeOnboardings,\n GovernanceAssignments,\n GovernanceRules,\n Applications,\n ApplicationOperations,\n SecurityConnectorApplications,\n SecurityConnectorApplication,\n DefenderForStorage,\n SecurityOperators,\n SqlVulnerabilityAssessmentBaselineRules,\n SqlVulnerabilityAssessmentScans,\n SqlVulnerabilityAssessmentScanResults,\n SensitivitySettings,\n HealthReports,\n AzureDevOpsOrgs,\n AzureDevOpsProjects,\n AzureDevOpsRepos,\n DevOpsConfigurations,\n GitHubOwners,\n GitHubRepos,\n GitLabGroups,\n GitLabSubgroups,\n GitLabProjects,\n DevOpsOperationResults,\n SecurityConnectors,\n ComplianceResults,\n AdvancedThreatProtection,\n DeviceSecurityGroups,\n IotSecuritySolutionAnalytics,\n IotSecuritySolutionsAnalyticsAggregatedAlert,\n IotSecuritySolutionsAnalyticsRecommendation,\n IotSecuritySolution,\n AdaptiveNetworkHardenings,\n AllowedConnections,\n AdaptiveApplicationControls,\n DiscoveredSecuritySolutions,\n ExternalSecuritySolutions,\n JitNetworkAccessPolicies,\n SecureScores,\n SecureScoreControls,\n SecureScoreControlDefinitions,\n SecuritySolutions,\n SecuritySolutionsReferenceDataOperations,\n ServerVulnerabilityAssessmentOperations,\n Topology,\n AssessmentsMetadata,\n Assessments,\n Alerts,\n Settings,\n ServerVulnerabilityAssessmentsSettings,\n APICollections,\n Pricings,\n} from \"./operationsInterfaces/index.js\";\nimport * as Parameters from \"./models/parameters.js\";\nimport * as Mappers from \"./models/mappers.js\";\nimport {\n SecurityCenterOptionalParams,\n UpdateSensitivitySettingsRequest,\n UpdateSensitivitySettingsOptionalParams,\n UpdateSensitivitySettingsResponse,\n GetSensitivitySettingsOptionalParams,\n GetSensitivitySettingsOperationResponse,\n} from \"./models/index.js\";\n\nexport class SecurityCenter extends coreClient.ServiceClient {\n $host: string;\n subscriptionId?: string;\n\n /**\n * Initializes a new instance of the SecurityCenter class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId Azure subscription ID\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: SecurityCenterOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n options?: SecurityCenterOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionIdOrOptions?: SecurityCenterOptionalParams | string,\n options?: SecurityCenterOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n\n let subscriptionId: string | undefined;\n\n if (typeof subscriptionIdOrOptions === \"string\") {\n subscriptionId = subscriptionIdOrOptions;\n } else if (typeof subscriptionIdOrOptions === \"object\") {\n options = subscriptionIdOrOptions;\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: SecurityCenterOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-security/6.0.0-beta.7`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.locations = new LocationsImpl(this);\n this.operations = new OperationsImpl(this);\n this.tasks = new TasksImpl(this);\n this.autoProvisioningSettings = new AutoProvisioningSettingsImpl(this);\n this.compliances = new CompliancesImpl(this);\n this.informationProtectionPolicies = new InformationProtectionPoliciesImpl(\n this,\n );\n this.workspaceSettings = new WorkspaceSettingsImpl(this);\n this.alertsSuppressionRules = new AlertsSuppressionRulesImpl(this);\n this.automations = new AutomationsImpl(this);\n this.regulatoryComplianceStandards = new RegulatoryComplianceStandardsImpl(\n this,\n );\n this.regulatoryComplianceControls = new RegulatoryComplianceControlsImpl(\n this,\n );\n this.regulatoryComplianceAssessments =\n new RegulatoryComplianceAssessmentsImpl(this);\n this.subAssessments = new SubAssessmentsImpl(this);\n this.connectors = new ConnectorsImpl(this);\n this.securityContacts = new SecurityContactsImpl(this);\n this.softwareInventories = new SoftwareInventoriesImpl(this);\n this.customAssessmentAutomations = new CustomAssessmentAutomationsImpl(\n this,\n );\n this.customEntityStoreAssignments = new CustomEntityStoreAssignmentsImpl(\n this,\n );\n this.mdeOnboardings = new MdeOnboardingsImpl(this);\n this.governanceAssignments = new GovernanceAssignmentsImpl(this);\n this.governanceRules = new GovernanceRulesImpl(this);\n this.applications = new ApplicationsImpl(this);\n this.applicationOperations = new ApplicationOperationsImpl(this);\n this.securityConnectorApplications = new SecurityConnectorApplicationsImpl(\n this,\n );\n this.securityConnectorApplication = new SecurityConnectorApplicationImpl(\n this,\n );\n this.defenderForStorage = new DefenderForStorageImpl(this);\n this.securityOperators = new SecurityOperatorsImpl(this);\n this.sqlVulnerabilityAssessmentBaselineRules =\n new SqlVulnerabilityAssessmentBaselineRulesImpl(this);\n this.sqlVulnerabilityAssessmentScans =\n new SqlVulnerabilityAssessmentScansImpl(this);\n this.sqlVulnerabilityAssessmentScanResults =\n new SqlVulnerabilityAssessmentScanResultsImpl(this);\n this.sensitivitySettings = new SensitivitySettingsImpl(this);\n this.healthReports = new HealthReportsImpl(this);\n this.azureDevOpsOrgs = new AzureDevOpsOrgsImpl(this);\n this.azureDevOpsProjects = new AzureDevOpsProjectsImpl(this);\n this.azureDevOpsRepos = new AzureDevOpsReposImpl(this);\n this.devOpsConfigurations = new DevOpsConfigurationsImpl(this);\n this.gitHubOwners = new GitHubOwnersImpl(this);\n this.gitHubRepos = new GitHubReposImpl(this);\n this.gitLabGroups = new GitLabGroupsImpl(this);\n this.gitLabSubgroups = new GitLabSubgroupsImpl(this);\n this.gitLabProjects = new GitLabProjectsImpl(this);\n this.devOpsOperationResults = new DevOpsOperationResultsImpl(this);\n this.securityConnectors = new SecurityConnectorsImpl(this);\n this.complianceResults = new ComplianceResultsImpl(this);\n this.advancedThreatProtection = new AdvancedThreatProtectionImpl(this);\n this.deviceSecurityGroups = new DeviceSecurityGroupsImpl(this);\n this.iotSecuritySolutionAnalytics = new IotSecuritySolutionAnalyticsImpl(\n this,\n );\n this.iotSecuritySolutionsAnalyticsAggregatedAlert =\n new IotSecuritySolutionsAnalyticsAggregatedAlertImpl(this);\n this.iotSecuritySolutionsAnalyticsRecommendation =\n new IotSecuritySolutionsAnalyticsRecommendationImpl(this);\n this.iotSecuritySolution = new IotSecuritySolutionImpl(this);\n this.adaptiveNetworkHardenings = new AdaptiveNetworkHardeningsImpl(this);\n this.allowedConnections = new AllowedConnectionsImpl(this);\n this.adaptiveApplicationControls = new AdaptiveApplicationControlsImpl(\n this,\n );\n this.discoveredSecuritySolutions = new DiscoveredSecuritySolutionsImpl(\n this,\n );\n this.externalSecuritySolutions = new ExternalSecuritySolutionsImpl(this);\n this.jitNetworkAccessPolicies = new JitNetworkAccessPoliciesImpl(this);\n this.secureScores = new SecureScoresImpl(this);\n this.secureScoreControls = new SecureScoreControlsImpl(this);\n this.secureScoreControlDefinitions = new SecureScoreControlDefinitionsImpl(\n this,\n );\n this.securitySolutions = new SecuritySolutionsImpl(this);\n this.securitySolutionsReferenceDataOperations =\n new SecuritySolutionsReferenceDataOperationsImpl(this);\n this.serverVulnerabilityAssessmentOperations =\n new ServerVulnerabilityAssessmentOperationsImpl(this);\n this.topology = new TopologyImpl(this);\n this.assessmentsMetadata = new AssessmentsMetadataImpl(this);\n this.assessments = new AssessmentsImpl(this);\n this.alerts = new AlertsImpl(this);\n this.settings = new SettingsImpl(this);\n this.serverVulnerabilityAssessmentsSettings =\n new ServerVulnerabilityAssessmentsSettingsImpl(this);\n this.aPICollections = new APICollectionsImpl(this);\n this.pricings = new PricingsImpl(this);\n }\n\n /**\n * Updates data sensitivity settings for sensitive data discovery\n * @param sensitivitySettings The data sensitivity settings to update\n * @param options The options parameters.\n */\n updateSensitivitySettings(\n sensitivitySettings: UpdateSensitivitySettingsRequest,\n options?: UpdateSensitivitySettingsOptionalParams,\n ): Promise<UpdateSensitivitySettingsResponse> {\n return this.sendOperationRequest(\n { sensitivitySettings, options },\n updateSensitivitySettingsOperationSpec,\n );\n }\n\n /**\n * Gets data sensitivity settings for sensitive data discovery\n * @param options The options parameters.\n */\n getSensitivitySettings(\n options?: GetSensitivitySettingsOptionalParams,\n ): Promise<GetSensitivitySettingsOperationResponse> {\n return this.sendOperationRequest(\n { options },\n getSensitivitySettingsOperationSpec,\n );\n }\n\n locations: Locations;\n operations: Operations;\n tasks: Tasks;\n autoProvisioningSettings: AutoProvisioningSettings;\n compliances: Compliances;\n informationProtectionPolicies: InformationProtectionPolicies;\n workspaceSettings: WorkspaceSettings;\n alertsSuppressionRules: AlertsSuppressionRules;\n automations: Automations;\n regulatoryComplianceStandards: RegulatoryComplianceStandards;\n regulatoryComplianceControls: RegulatoryComplianceControls;\n regulatoryComplianceAssessments: RegulatoryComplianceAssessments;\n subAssessments: SubAssessments;\n connectors: Connectors;\n securityContacts: SecurityContacts;\n softwareInventories: SoftwareInventories;\n customAssessmentAutomations: CustomAssessmentAutomations;\n customEntityStoreAssignments: CustomEntityStoreAssignments;\n mdeOnboardings: MdeOnboardings;\n governanceAssignments: GovernanceAssignments;\n governanceRules: GovernanceRules;\n applications: Applications;\n applicationOperations: ApplicationOperations;\n securityConnectorApplications: SecurityConnectorApplications;\n securityConnectorApplication: SecurityConnectorApplication;\n defenderForStorage: DefenderForStorage;\n securityOperators: SecurityOperators;\n sqlVulnerabilityAssessmentBaselineRules: SqlVulnerabilityAssessmentBaselineRules;\n sqlVulnerabilityAssessmentScans: SqlVulnerabilityAssessmentScans;\n sqlVulnerabilityAssessmentScanResults: SqlVulnerabilityAssessmentScanResults;\n sensitivitySettings: SensitivitySettings;\n healthReports: HealthReports;\n azureDevOpsOrgs: AzureDevOpsOrgs;\n azureDevOpsProjects: AzureDevOpsProjects;\n azureDevOpsRepos: AzureDevOpsRepos;\n devOpsConfigurations: DevOpsConfigurations;\n gitHubOwners: GitHubOwners;\n gitHubRepos: GitHubRepos;\n gitLabGroups: GitLabGroups;\n gitLabSubgroups: GitLabSubgroups;\n gitLabProjects: GitLabProjects;\n devOpsOperationResults: DevOpsOperationResults;\n securityConnectors: SecurityConnectors;\n complianceResults: ComplianceResults;\n advancedThreatProtection: AdvancedThreatProtection;\n deviceSecurityGroups: DeviceSecurityGroups;\n iotSecuritySolutionAnalytics: IotSecuritySolutionAnalytics;\n iotSecuritySolutionsAnalyticsAggregatedAlert: IotSecuritySolutionsAnalyticsAggregatedAlert;\n iotSecuritySolutionsAnalyticsRecommendation: IotSecuritySolutionsAnalyticsRecommendation;\n iotSecuritySolution: IotSecuritySolution;\n adaptiveNetworkHardenings: AdaptiveNetworkHardenings;\n allowedConnections: AllowedConnections;\n adaptiveApplicationControls: AdaptiveApplicationControls;\n discoveredSecuritySolutions: DiscoveredSecuritySolutions;\n externalSecuritySolutions: ExternalSecuritySolutions;\n jitNetworkAccessPolicies: JitNetworkAccessPolicies;\n secureScores: SecureScores;\n secureScoreControls: SecureScoreControls;\n secureScoreControlDefinitions: SecureScoreControlDefinitions;\n securitySolutions: SecuritySolutions;\n securitySolutionsReferenceDataOperations: SecuritySolutionsReferenceDataOperations;\n serverVulnerabilityAssessmentOperations: ServerVulnerabilityAssessmentOperations;\n topology: Topology;\n assessmentsMetadata: AssessmentsMetadata;\n assessments: Assessments;\n alerts: Alerts;\n settings: Settings;\n serverVulnerabilityAssessmentsSettings: ServerVulnerabilityAssessmentsSettings;\n aPICollections: APICollections;\n pricings: Pricings;\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst updateSensitivitySettingsOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Security/sensitivitySettings/current\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.GetSensitivitySettingsResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.sensitivitySettings,\n queryParameters: [Parameters.apiVersion13],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getSensitivitySettingsOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Security/sensitivitySettings/current\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GetSensitivitySettingsResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion13],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "sdk-type": "mgmt",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "A generated SDK for SecurityCenter.",
6
- "version": "6.0.0-alpha.20250925.1",
6
+ "version": "6.0.0-alpha.20250929.1",
7
7
  "engines": {
8
8
  "node": ">=20.0.0"
9
9
  },
@@ -39,8 +39,8 @@
39
39
  "vitest": "^3.2.3",
40
40
  "@azure-tools/test-credential": "^2.1.2",
41
41
  "@azure-tools/test-recorder": "^4.1.1",
42
- "@azure/dev-tool": "^1.0.0",
43
- "@azure-tools/test-utils-vitest": "^2.0.1"
42
+ "@azure-tools/test-utils-vitest": "^2.0.1",
43
+ "@azure/dev-tool": "^1.0.0"
44
44
  },
45
45
  "repository": {
46
46
  "type": "git",