-
Notifications
You must be signed in to change notification settings - Fork 517
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CodeGen from PR 11577 in Azure/azure-rest-api-specs
Add SecureScores & SecureScoreControls as new supported datatypes in Automations resource (#11577) * 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
- Loading branch information
SDKAuto
committed
Nov 12, 2020
1 parent
a0248fb
commit b29268e
Showing
9 changed files
with
5,474 additions
and
1,394 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
1,733 changes: 1,253 additions & 480 deletions
1,733
schemas/2017-08-01-preview/Microsoft.Security.json
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,158 @@ | ||
{ | ||
"id": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Security.json#", | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "Microsoft.Security", | ||
"description": "Microsoft Security Resource Types", | ||
"resourceDefinitions": {}, | ||
"subscription_resourceDefinitions": { | ||
"settings": { | ||
"type": "object", | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/DataExportSettings" | ||
} | ||
], | ||
"properties": { | ||
"apiVersion": { | ||
"type": "string", | ||
"enum": [ | ||
"2019-01-01" | ||
] | ||
}, | ||
"name": { | ||
"oneOf": [ | ||
{ | ||
"type": "string", | ||
"enum": [ | ||
"MCAS", | ||
"WDATP" | ||
] | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Name of setting: (MCAS/WDATP)." | ||
}, | ||
"type": { | ||
"type": "string", | ||
"enum": [ | ||
"Microsoft.Security/settings" | ||
] | ||
} | ||
}, | ||
"required": [ | ||
"apiVersion", | ||
"name", | ||
"type" | ||
], | ||
"description": "Microsoft.Security/settings" | ||
} | ||
}, | ||
"unknown_resourceDefinitions": { | ||
"advancedThreatProtectionSettings": { | ||
"type": "object", | ||
"properties": { | ||
"apiVersion": { | ||
"type": "string", | ||
"enum": [ | ||
"2019-01-01" | ||
] | ||
}, | ||
"name": { | ||
"type": "string", | ||
"description": "Advanced Threat Protection setting name." | ||
}, | ||
"properties": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/AdvancedThreatProtectionProperties" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "The Advanced Threat Protection settings." | ||
}, | ||
"type": { | ||
"type": "string", | ||
"enum": [ | ||
"Microsoft.Security/advancedThreatProtectionSettings" | ||
] | ||
} | ||
}, | ||
"required": [ | ||
"apiVersion", | ||
"name", | ||
"properties", | ||
"type" | ||
], | ||
"description": "Microsoft.Security/advancedThreatProtectionSettings" | ||
} | ||
}, | ||
"definitions": { | ||
"AdvancedThreatProtectionProperties": { | ||
"type": "object", | ||
"properties": { | ||
"isEnabled": { | ||
"oneOf": [ | ||
{ | ||
"type": "boolean" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Indicates whether Advanced Threat Protection is enabled." | ||
} | ||
}, | ||
"description": "The Advanced Threat Protection settings." | ||
}, | ||
"DataExportSettingProperties": { | ||
"type": "object", | ||
"properties": { | ||
"enabled": { | ||
"oneOf": [ | ||
{ | ||
"type": "boolean" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Is the data export setting is enabled" | ||
} | ||
}, | ||
"required": [ | ||
"enabled" | ||
], | ||
"description": "The data export setting properties" | ||
}, | ||
"DataExportSettings": { | ||
"type": "object", | ||
"properties": { | ||
"kind": { | ||
"type": "string", | ||
"enum": [ | ||
"DataExportSettings" | ||
] | ||
}, | ||
"properties": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/DataExportSettingProperties" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "The data export setting properties" | ||
} | ||
}, | ||
"required": [ | ||
"kind" | ||
], | ||
"description": "Represents a data export setting" | ||
} | ||
} | ||
} |
Oops, something went wrong.