Skip to content

Commit

Permalink
CodeGen from PR 12349 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
[Security Center Automations] Add Secure Scores and Regulatory Compliance snapshot event sources (#12349)

* Add SubAssessment event source type and add more automations examples

* Change Location isReadOnlu to false

* Test

* Add new read/write location and add new type TrackedResourceLocation

* Minor

* minor

* prettier fixes

* Change variable name to TrackedResourceLocation

* Change type name TrackedResourceLocation to AzureTrackedResourceLocation

* Update automations example

* Add SecureScores & SecureScoreControls as new supported datatypes in Automations resource

* [ASC.Automations] add new data type RegulatoryComplianceAssessment

* Add Secure Scores and Regulatory Compliance snapshot data types
  • Loading branch information
SDKAuto committed Jan 11, 2021
1 parent 12d2b44 commit 63436f9
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion schemas/2015-06-01-preview/Microsoft.Security.json
Original file line number Diff line number Diff line change
Expand Up @@ -703,4 +703,4 @@
"description": "Represents a machine that is part of a VM/server group"
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2017-08-01-preview/Microsoft.Security.json
Original file line number Diff line number Diff line change
Expand Up @@ -1557,4 +1557,4 @@
"description": "Workspace setting data"
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2018-06-01/Microsoft.Security.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@
"description": "Pricing properties for the relevant scope"
}
}
}
}
7 changes: 5 additions & 2 deletions schemas/2019-01-01-preview/Microsoft.Security.json
Original file line number Diff line number Diff line change
Expand Up @@ -475,8 +475,11 @@
"SubAssessments",
"Alerts",
"SecureScores",
"SecureScoresSnapshot",
"SecureScoreControls",
"RegulatoryComplianceAssessment"
"SecureScoreControlsSnapshot",
"RegulatoryComplianceAssessment",
"RegulatoryComplianceAssessmentSnapshot"
]
},
{
Expand Down Expand Up @@ -896,4 +899,4 @@
]
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2019-01-01/Microsoft.Security.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,4 @@
"description": "Represents a data export setting"
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2019-08-01/Microsoft.Security.json
Original file line number Diff line number Diff line change
Expand Up @@ -931,4 +931,4 @@
"description": "Properties of the IoT Security solution's user defined resources."
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2020-01-01-preview/Microsoft.Security.json
Original file line number Diff line number Diff line change
Expand Up @@ -320,4 +320,4 @@
"description": "Details of the service principal."
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2020-01-01/Microsoft.Security.json
Original file line number Diff line number Diff line change
Expand Up @@ -1236,4 +1236,4 @@
"description": "Represents a machine that is part of a machine group"
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2020-08-06-preview/Microsoft.Security.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,4 @@
"description": "IoT sensor properties"
}
}
}
}

0 comments on commit 63436f9

Please sign in to comment.