Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Hub Generated] Review request for Microsoft.Security to add version preview/2021-07-01-preview #15212

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
96e5cc2
Adds base for updating Microsoft.Security from version preview/2021-0…
SapirElmakayes Jul 13, 2021
4bba82d
Updates readme
SapirElmakayes Jul 13, 2021
8b47a94
Updates API version in new specs and examples
SapirElmakayes Jul 13, 2021
449def7
Create Multi cloud API
SapirElmakayes Jul 13, 2021
278f954
Minor typo fix
SapirElmakayes Jul 13, 2021
c16e6b4
Schema change (offering type)
SapirElmakayes Jul 14, 2021
e3625d4
Change array to object in the examples
SapirElmakayes Jul 14, 2021
ab282eb
Rename to Security Connector
SapirElmakayes Jul 14, 2021
eaf8845
Fix files name errors
SapirElmakayes Jul 14, 2021
850a1c4
Remove softwareInventories (auto generated)
SapirElmakayes Jul 14, 2021
886610d
Update examples and naming
SapirElmakayes Jul 15, 2021
658894a
Update the enum type to string
SapirElmakayes Jul 15, 2021
339c010
Adds suppression to readme
SapirElmakayes Jul 15, 2021
6bcc69c
Rever the readme.md basic information
SapirElmakayes Jul 15, 2021
0f74745
Merge branch 'dev-security-Microsoft.Security-2021-07-01-preview' of …
SapirElmakayes Jul 15, 2021
95ab58d
Fix SecurityConnetor defenition link
SapirElmakayes Jul 15, 2021
ca3e049
Policy description update
SapirElmakayes Jul 15, 2021
78960e7
Prettier file
SapirElmakayes Jul 15, 2021
3534989
Rename the minitor offering type
SapirElmakayes Jul 15, 2021
2dd78bc
Fix typo in the put example
SapirElmakayes Jul 15, 2021
5bc22da
Fix conflict
SapirElmakayes Jul 15, 2021
85fd47f
Add CSPM as custom word
SapirElmakayes Jul 15, 2021
2303f0d
prettier files
SapirElmakayes Jul 15, 2021
1ad5ab9
Merge branch 'dev-security-Microsoft.Security-2021-07-01-preview' of …
SapirElmakayes Jul 15, 2021
ac6868c
Fix lint error - adding 200OK for delete
SapirElmakayes Jul 18, 2021
66d6c95
Update readme.md
SapirElmakayes Jul 18, 2021
a5e2d9e
Update the preview tag location
SapirElmakayes Jul 18, 2021
09df574
Rename the resource to SecurityConnectors
SapirElmakayes Jul 20, 2021
db4fbbd
Merge branch 'master' into dev-security-Microsoft.Security-2021-07-01…
SapirElmakayes Jul 21, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2246,3 +2246,4 @@ XLSM
DOCM
multislot
Tebibytes
CSPM
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": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"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",
"location": "Central US",
"tags": {},
"properties": {
"hierarchyId": "exampleHierarchyId",
"multiCloudName": "AWS",
"offerings": [
{
"offeringType": "CSPMMonitorAWS",
"description": "Monitor your resources",
"nativeCloudConnection": {
"policies": [
"s3:ListBucket"
],
"cloudRoleArn": "arn:aws:iam::00000000:role/ASCMonitor"
}
}
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"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",
"location": "Central US",
"tags": {},
"properties": {
"hierarchyId": "exampleHierarchyId",
"multiCloudName": "AWS",
"offerings": [
{
"offeringType": "CSPMMonitorAWS",
"description": "Monitor your resources",
"nativeCloudConnection": {
"policies": [
"s3:ListBucket"
],
"cloudRoleArn": "arn:aws:iam::00000000:role/ASCMonitor"
}
}
]
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"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": {},
"properties": {
"hierarchyId": "exampleHierarchyId",
"multiCloudName": "AWS",
"offerings": [
{
"offeringType": "CSPMMonitorAWS",
"description": "Monitor your resources",
"nativeCloudConnection": {
"policies": [
"s3:ListBucket"
],
"cloudRoleArn": "arn:aws:iam::00000000:role/ASCMonitor"
}
}
]
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
{
"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": {
"hierarchyId": "exampleHierarchyId",
"multiCloudName": "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",
"etag": "new etag value",
"tags": {},
"properties": {
"hierarchyId": "exampleHierarchyId",
"multiCloudName": "AWS",
"offerings": [
{
"offeringType": "CSPMMonitorAWS",
"description": "Monitor your resources",
"nativeCloudConnection": {
"policies": [
"s3:ListBucket"
],
"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",
"etag": "new etag value",
"tags": {},
"properties": {
"hierarchyId": "exampleHierarchyId",
"multiCloudName": "AWS",
"offerings": [
{
"offeringType": "CSPMMonitorAWS",
"description": "Monitor your resources",
"nativeCloudConnection": {
"policies": [
"s3:ListBucket"
],
"cloudRoleArn": "arn:aws:iam::00000000:role/ASCMonitor"
}
}
]
}
}
}
}
}
Loading