forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Public private branch 'dev-security-Microsoft.Securit…
…y-2021-07-01' (Azure#16435) * Adds base for updating Microsoft.Security from version preview/2021-05-01-preview to version 2021-07-01 * Updates readme * Updates API version in new specs and examples * Adding securityConnectors private API * Update the readme.md * adding custom word * Update Security Connector model in examples * Update main security connectors model with new organizational data properties, update examples as well. * added new offerings * fix pathing * fix offering name in all examples * add docs for patch endpoint * add system data resource * Remove duplication * Resolve tools issues * Change bool to boolean * Fix model validation errors * Fix lint error * CR fixes. Move systemData to root of object. Export identity type to definition * remove extra bracket * fix bracketing and pathing * lint fixes * fix camel case for linting * Fix systemData examples Co-authored-by: Sapir Elmakayes <32778998+SapirElmakayes@users.noreply.github.com> Co-authored-by: Sapir Elmakayes <saelmaka@microsoft.com>
- Loading branch information
Showing
9 changed files
with
884 additions
and
0 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -2408,4 +2408,7 @@ pmem | |
rawphysical | ||
rawvirtual | ||
sesparse | ||
stackset | ||
CSPM | ||
autoprovisioning | ||
schemagroups |
12 changes: 12 additions & 0 deletions
12
...eview/2021-07-01-preview/examples/SecurityConnectors/DeleteSecurityConnector_example.json
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,12 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-07-01-preview", | ||
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", | ||
"resourceGroupName": "myRg", | ||
"securityConnectorName": "mySecurityConnectorName" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
...-07-01-preview/examples/SecurityConnectors/GetSecurityConnectorResourceGroup_example.json
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,42 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-07-01-preview", | ||
"subscriptionId": "a5caac9c-5c04-49af-b3d0-e204f40345d5", | ||
"resourceGroupName": "exampleResourceGroup", | ||
"securityConnectorName": "exampleSecurityConnectorName" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/securityConnectors/exampleSecurityConnectorName", | ||
"name": "exampleSecurityConnectorName", | ||
"type": "Microsoft.Security/securityConnectors", | ||
"etag": "etag value", | ||
"kind": "", | ||
"location": "Central US", | ||
"tags": {}, | ||
"systemData": { | ||
"createdBy": "user@contoso.com", | ||
"createdByType": "User", | ||
"createdAt": "2021-08-31T13:47:50.328Z", | ||
"lastModifiedBy": "user@contoso.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-08-31T13:47:50.328Z" | ||
}, | ||
"properties": { | ||
"organizationalData": null, | ||
"hierarchyIdentifier": "exampleHierarchyId", | ||
"cloudName": "AWS", | ||
"offerings": [ | ||
{ | ||
"offeringType": "CspmMonitorAws", | ||
"nativeCloudConnection": { | ||
"cloudRoleArn": "arn:aws:iam::00000000:role/ASCMonitor" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
45 changes: 45 additions & 0 deletions
45
...07-01-preview/examples/SecurityConnectors/GetSecurityConnectorsResourceGroup_example.json
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,45 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-07-01-preview", | ||
"subscriptionId": "a5caac9c-5c04-49af-b3d0-e204f40345d5", | ||
"resourceGroupName": "exampleResourceGroup" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/securityConnectors/exampleSecurityConnectorName", | ||
"name": "exampleSecurityConnectorName", | ||
"type": "Microsoft.Security/securityConnectors", | ||
"etag": "etag value", | ||
"kind": "", | ||
"location": "Central US", | ||
"tags": {}, | ||
"systemData": { | ||
"createdBy": "user@contoso.com", | ||
"createdByType": "User", | ||
"createdAt": "2021-08-31T13:47:50.328Z", | ||
"lastModifiedBy": "user@contoso.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-08-31T13:47:50.328Z" | ||
}, | ||
"properties": { | ||
"hierarchyIdentifier": "exampleHierarchyId", | ||
"organizationalData": null, | ||
"cloudName": "AWS", | ||
"offerings": [ | ||
{ | ||
"offeringType": "CspmMonitorAws", | ||
"nativeCloudConnection": { | ||
"cloudRoleArn": "arn:aws:iam::00000000:role/ASCMonitor" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
43 changes: 43 additions & 0 deletions
43
...-07-01-preview/examples/SecurityConnectors/GetSecurityConnectorsSubscription_example.json
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,43 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-07-01-preview", | ||
"subscriptionId": "a5caac9c-5c04-49af-b3d0-e204f40345d5" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/securityConnectors/exampleSecurityConnectorName", | ||
"name": "exampleSecurityConnectorName", | ||
"type": "Microsoft.Security/securityConnectors", | ||
"etag": "etag value", | ||
"location": "Central US", | ||
"tags": {}, | ||
"systemData": { | ||
"createdBy": "user@contoso.com", | ||
"createdByType": "User", | ||
"createdAt": "2021-08-31T13:47:50.328Z", | ||
"lastModifiedBy": "user@contoso.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-08-31T13:47:50.328Z" | ||
}, | ||
"properties": { | ||
"hierarchyIdentifier": "exampleHierarchyId", | ||
"organizationalData": null, | ||
"cloudName": "AWS", | ||
"offerings": [ | ||
{ | ||
"offeringType": "CspmMonitorAws", | ||
"nativeCloudConnection": { | ||
"cloudRoleArn": "arn:aws:iam::00000000:role/ASCMonitor" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
59 changes: 59 additions & 0 deletions
59
...review/2021-07-01-preview/examples/SecurityConnectors/PatchSecurityConnector_example.json
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,59 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-07-01-preview", | ||
"subscriptionId": "a5caac9c-5c04-49af-b3d0-e204f40345d5", | ||
"securityConnectorName": "exampleSecurityConnectorName", | ||
"resourceGroupName": "exampleResourceGroup", | ||
"securityConnector": { | ||
"location": "Central US", | ||
"etag": "etag value (must be supplied for update)", | ||
"tags": {}, | ||
"properties": { | ||
"hierarchyIdentifier": "exampleHierarchyId", | ||
"cloudName": "AWS", | ||
"offerings": [ | ||
{ | ||
"offeringType": "CspmMonitorAws", | ||
"nativeCloudConnection": { | ||
"cloudRoleArn": "arn:aws:iam::00000000:role/ASCMonitor" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/securityConnectors/exampleSecurityConnectorName", | ||
"name": "exampleSecurityConnectorName", | ||
"type": "Microsoft.Security/securityConnectors", | ||
"location": "Central US", | ||
"kind": "", | ||
"etag": "etag value", | ||
"tags": {}, | ||
"systemData": { | ||
"createdBy": "user@contoso.com", | ||
"createdByType": "User", | ||
"createdAt": "2021-08-31T13:47:50.328Z", | ||
"lastModifiedBy": "user@contoso.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-08-31T13:47:50.328Z" | ||
}, | ||
"properties": { | ||
"hierarchyIdentifier": "exampleHierarchyId", | ||
"organizationalData": null, | ||
"cloudName": "AWS", | ||
"offerings": [ | ||
{ | ||
"offeringType": "CspmMonitorAws", | ||
"nativeCloudConnection": { | ||
"cloudRoleArn": "arn:aws:iam::00000000:role/ASCMonitor" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
91 changes: 91 additions & 0 deletions
91
.../preview/2021-07-01-preview/examples/SecurityConnectors/PutSecurityConnector_example.json
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,91 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-07-01-preview", | ||
"subscriptionId": "a5caac9c-5c04-49af-b3d0-e204f40345d5", | ||
"securityConnectorName": "exampleSecurityConnectorName", | ||
"resourceGroupName": "exampleResourceGroup", | ||
"securityConnector": { | ||
"location": "Central US", | ||
"etag": "etag value (must be supplied for update)", | ||
"tags": {}, | ||
"properties": { | ||
"hierarchyIdentifier": "exampleHierarchyId", | ||
"cloudName": "AWS", | ||
"offerings": [ | ||
{ | ||
"offeringType": "CspmMonitorAws", | ||
"nativeCloudConnection": { | ||
"cloudRoleArn": "arn:aws:iam::00000000:role/ASCMonitor" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/securityConnectors/exampleSecurityConnectorName", | ||
"name": "exampleSecurityConnectorName", | ||
"type": "Microsoft.Security/securityConnectors", | ||
"location": "Central US", | ||
"kind": "", | ||
"etag": "", | ||
"tags": {}, | ||
"systemData": { | ||
"createdBy": "user@contoso.com", | ||
"createdByType": "User", | ||
"createdAt": "2021-08-31T13:47:50.328Z", | ||
"lastModifiedBy": "user@contoso.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-08-31T13:47:50.328Z" | ||
}, | ||
"properties": { | ||
"hierarchyIdentifier": "exampleHierarchyId", | ||
"organizationalData": null, | ||
"cloudName": "AWS", | ||
"offerings": [ | ||
{ | ||
"offeringType": "CspmMonitorAws", | ||
"nativeCloudConnection": { | ||
"cloudRoleArn": "arn:aws:iam::00000000:role/ASCMonitor" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/securityConnectors/exampleSecurityConnectorName", | ||
"name": "exampleSecurityConnectorName", | ||
"type": "Microsoft.Security/securityConnectors", | ||
"location": "Central US", | ||
"kind": "", | ||
"etag": "", | ||
"tags": {}, | ||
"systemData": { | ||
"createdBy": "user@contoso.com", | ||
"createdByType": "User", | ||
"createdAt": "2021-08-31T13:47:50.328Z", | ||
"lastModifiedBy": "user@contoso.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-08-31T13:47:50.328Z" | ||
}, | ||
"properties": { | ||
"hierarchyIdentifier": "exampleHierarchyId", | ||
"organizationalData": null, | ||
"cloudName": "AWS", | ||
"offerings": [ | ||
{ | ||
"offeringType": "CspmMonitorAws", | ||
"nativeCloudConnection": { | ||
"cloudRoleArn": "arn:aws:iam::00000000:role/ASCMonitor" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.