Client library for Security Center
npm install --save @datafire/azure_security_regulatorycompliance
let azure_security_regulatorycompliance = require('@datafire/azure_security_regulatorycompliance').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});
API spec for Microsoft.Security (Azure Security Center) resource provider
Supported regulatory compliance standards details and state
azure_security_regulatorycompliance.RegulatoryComplianceStandards_List({
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- api-version required
string
: API version for the operation - subscriptionId required
string
: Azure subscription ID - $filter
string
: OData filter. Optional.
- api-version required
Supported regulatory compliance details state for selected standard
azure_security_regulatorycompliance.RegulatoryComplianceStandards_Get({
"api-version": "",
"subscriptionId": "",
"regulatoryComplianceStandardName": ""
}, context)
- input
object
- api-version required
string
: API version for the operation - subscriptionId required
string
: Azure subscription ID - regulatoryComplianceStandardName required
string
: Name of the regulatory compliance standard object
- api-version required
- output RegulatoryComplianceStandard
All supported regulatory compliance controls details and state for selected standard
azure_security_regulatorycompliance.RegulatoryComplianceControls_List({
"api-version": "",
"subscriptionId": "",
"regulatoryComplianceStandardName": ""
}, context)
- input
object
- api-version required
string
: API version for the operation - subscriptionId required
string
: Azure subscription ID - regulatoryComplianceStandardName required
string
: Name of the regulatory compliance standard object - $filter
string
: OData filter. Optional.
- api-version required
Selected regulatory compliance control details and state
azure_security_regulatorycompliance.RegulatoryComplianceControls_Get({
"api-version": "",
"subscriptionId": "",
"regulatoryComplianceStandardName": "",
"regulatoryComplianceControlName": ""
}, context)
- input
object
- api-version required
string
: API version for the operation - subscriptionId required
string
: Azure subscription ID - regulatoryComplianceStandardName required
string
: Name of the regulatory compliance standard object - regulatoryComplianceControlName required
string
: Name of the regulatory compliance control object
- api-version required
- output RegulatoryComplianceControl
Details and state of assessments mapped to selected regulatory compliance control
azure_security_regulatorycompliance.RegulatoryComplianceAssessments_List({
"api-version": "",
"subscriptionId": "",
"regulatoryComplianceStandardName": "",
"regulatoryComplianceControlName": ""
}, context)
- input
object
- api-version required
string
: API version for the operation - subscriptionId required
string
: Azure subscription ID - regulatoryComplianceStandardName required
string
: Name of the regulatory compliance standard object - regulatoryComplianceControlName required
string
: Name of the regulatory compliance control object - $filter
string
: OData filter. Optional.
- api-version required
Supported regulatory compliance details and state for selected assessment
azure_security_regulatorycompliance.RegulatoryComplianceAssessments_Get({
"api-version": "",
"subscriptionId": "",
"regulatoryComplianceStandardName": "",
"regulatoryComplianceControlName": "",
"regulatoryComplianceAssessmentName": ""
}, context)
- input
object
- api-version required
string
: API version for the operation - subscriptionId required
string
: Azure subscription ID - regulatoryComplianceStandardName required
string
: Name of the regulatory compliance standard object - regulatoryComplianceControlName required
string
: Name of the regulatory compliance control object - regulatoryComplianceAssessmentName required
string
: Name of the regulatory compliance assessment object
- api-version required
- RegulatoryComplianceAssessment
object
: Regulatory compliance assessment details and state- properties RegulatoryComplianceAssessmentProperties
- id
string
: Resource Id - name
string
: Resource name - type
string
: Resource type
- RegulatoryComplianceAssessmentList
object
: List of regulatory compliance assessment response- nextLink
string
: The URI to fetch the next page. - value required
array
- nextLink
- RegulatoryComplianceAssessmentProperties
object
: Regulatory compliance assessment data- assessmentDetailsLink
string
: Link to more detailed assessment results data. The response type will be according to the assessmentType field - assessmentType
string
: The expected type of assessment contained in the AssessmentDetailsLink - description
string
: The description of the regulatory compliance assessment - failedResources
integer
: The given assessment's related resources count with failed state. - passedResources
integer
: The given assessment's related resources count with passed state. - skippedResources
integer
: The given assessment's related resources count with skipped state. - state
string
(values: Passed, Failed, Skipped, Unsupported): Aggregative state based on the assessment's scanned resources states - unsupportedResources
integer
: The given assessment's related resources count with unsupported state.
- assessmentDetailsLink
- RegulatoryComplianceControl
object
: Regulatory compliance control details and state- properties RegulatoryComplianceControlProperties
- id
string
: Resource Id - name
string
: Resource name - type
string
: Resource type
- RegulatoryComplianceControlList
object
: List of regulatory compliance controls response- nextLink
string
: The URI to fetch the next page. - value required
array
: List of regulatory compliance controls
- nextLink
- RegulatoryComplianceControlProperties
object
: Regulatory compliance control data- description
string
: The description of the regulatory compliance control - failedAssessments
integer
: The number of supported regulatory compliance assessments of the given control with a failed state - passedAssessments
integer
: The number of supported regulatory compliance assessments of the given control with a passed state - skippedAssessments
integer
: The number of supported regulatory compliance assessments of the given control with a skipped state - state
string
(values: Passed, Failed, Skipped, Unsupported): Aggregative state based on the control's supported assessments states
- description
- RegulatoryComplianceStandard
object
: Regulatory compliance standard details and state- properties RegulatoryComplianceStandardProperties
- id
string
: Resource Id - name
string
: Resource name - type
string
: Resource type
- RegulatoryComplianceStandardList
object
: List of regulatory compliance standards response- nextLink
string
: The URI to fetch the next page. - value required
array
- nextLink
- RegulatoryComplianceStandardProperties
object
: Regulatory compliance standard data- failedControls
integer
: The number of supported regulatory compliance controls of the given standard with a failed state - passedControls
integer
: The number of supported regulatory compliance controls of the given standard with a passed state - skippedControls
integer
: The number of supported regulatory compliance controls of the given standard with a skipped state - state
string
(values: Passed, Failed, Skipped, Unsupported): Aggregative state based on the standard's supported controls states - unsupportedControls
integer
: The number of regulatory compliance controls of the given standard which are unsupported by automated assessments
- failedControls