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] Public private branch 'dev-security-Microsoft.Security-2021-12-01-preview' #18267

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
e461d11
Adds base for updating Microsoft.Security from version preview/2021-0…
SapirElmakayes Dec 14, 2021
5fe436c
Updates readme
SapirElmakayes Dec 14, 2021
29faea1
Updates API version in new specs and examples
SapirElmakayes Dec 14, 2021
e5b4a2d
Keep only Securityconnectors in the API version
SapirElmakayes Dec 14, 2021
a8d597b
Adding CspmMonitorGcp offering
SapirElmakayes Dec 14, 2021
49f4f1f
minors
SapirElmakayes Dec 14, 2021
7b35f8b
Adding Security connector
SapirElmakayes Dec 16, 2021
bee6674
Fix prettier issue
SapirElmakayes Dec 16, 2021
480e272
Adding information protection offering
SapirElmakayes Dec 21, 2021
e203f51
Adding suppression rule
SapirElmakayes Dec 22, 2021
0f1c6ac
added github configuration, fixed bugs
chemishumacher Jan 26, 2022
29ed352
updated examples
chemishumacher Jan 26, 2022
0b0e5f9
added example
chemishumacher Jan 26, 2022
15387c8
Merge pull request #1 from SapirElmakayes/githubConfiguration
SapirElmakayes Jan 27, 2022
17274ee
fixed bugs in offering inheritnece, added org data for aws/gcp object…
chemishumacher Feb 1, 2022
a772382
Merge branch 'githubConfiguration' into dev-security-Microsoft.Securi…
chemishumacher Feb 1, 2022
c24ec58
added discriminator for orgmembershipType on environmentData object, …
chemishumacher Feb 1, 2022
2f0c7b2
fixed discriminator position
chemishumacher Feb 1, 2022
90ee35d
all example validations + schema validations pass, BEFORE adding upda…
chemishumacher Feb 1, 2022
0ab8679
fixed null aws env data property
chemishumacher Feb 1, 2022
44949b4
Adding DefenderForDatabases
SapirElmakayes Feb 1, 2022
2f5cc08
Run prettier
SapirElmakayes Feb 1, 2022
bbe04f0
Small renamings
SapirElmakayes Feb 2, 2022
7beaf80
Fix native cloud conection
SapirElmakayes Feb 3, 2022
41732e5
update servers offerings
SapirElmakayes Feb 3, 2022
2b96ee1
adding containers
SapirElmakayes Feb 3, 2022
44e832b
Remove DefenderForDatabases offerings
SapirElmakayes Feb 6, 2022
9d44bc5
Adding Qualys as known word
SapirElmakayes Feb 6, 2022
b601774
Merge branch 'main' into dev-security-Microsoft.Security-2021-12-01-p…
SapirElmakayes Feb 7, 2022
ebf1718
Update the VA type to enum
SapirElmakayes Feb 9, 2022
3f44200
small changes for servers offering and gcpproject properties
chemishumacher Feb 20, 2022
011dc12
Merge branch 'main' into dev-security-Microsoft.Security-2021-12-01-p…
SapirElmakayes Feb 20, 2022
7eaef32
added missing enum types
chemishumacher Feb 20, 2022
f5d7928
Merge branch 'dev-security-Microsoft.Security-2021-12-01-preview' of …
chemishumacher Feb 20, 2022
5be5d94
Servers P1P2
SapirElmakayes Mar 10, 2022
c6f9fd9
Add P1P2 to servers GCP
SapirElmakayes Mar 10, 2022
d1ddae2
subPlan fixes
SapirElmakayes Mar 13, 2022
e0484b0
Merge branch 'main' into dev-security-Microsoft.Security-2021-12-01-p…
SapirElmakayes Mar 13, 2022
9f17c87
Remove supression
SapirElmakayes Mar 14, 2022
fce7f56
Merge branch 'dev-security-Microsoft.Security-2021-12-01-preview' of …
SapirElmakayes Mar 14, 2022
cd801e1
add suppression rule back
SapirElmakayes Mar 14, 2022
5a95a78
Adding operations to the default tag
SapirElmakayes Mar 15, 2022
e054839
Add x-ms-identifiers
SapirElmakayes Mar 15, 2022
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
3 changes: 2 additions & 1 deletion custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2504,4 +2504,5 @@ Tbps
Vuln
IAASVM
Quickbase
Smartsheet
Smartsheet
Qualys
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"api-version": "2021-12-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,44 @@
{
"parameters": {
"api-version": "2021-12-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": {
"environmentData": {
"environmentType": "AwsAccount"
},
"hierarchyIdentifier": "exampleHierarchyId",
"environmentName": "AWS",
"offerings": [
{
"offeringType": "CspmMonitorAws",
"nativeCloudConnection": {
"cloudRoleArn": "arn:aws:iam::00000000:role/ASCMonitor"
}
}
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
{
"parameters": {
"api-version": "2021-12-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/exampleSecurityConnectorAws",
"name": "exampleSecurityConnectorAws",
"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",
"environmentData": {
"environmentType": "AwsAccount"
},
"environmentName": "AWS",
"offerings": [
{
"offeringType": "CspmMonitorAws",
"nativeCloudConnection": {
"cloudRoleArn": "arn:aws:iam::00000000:role/ASCMonitor"
}
}
]
}
},
{
"id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/securityConnectors/exampleSecurityConnectorAwsOrganization",
"name": "exampleSecurityConnectorAwsOrganization",
"type": "Microsoft.Security/securityConnectors",
"etag": "etag value",
"kind": "",
"location": "Central US",
"tags": {},
"systemData": {
"createdBy": "user@contoso.com",
"createdByType": "User",
"createdAt": "2021-12-15T13:47:50.328Z",
"lastModifiedBy": "user@contoso.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-12-15T13:47:50.328Z"
},
"properties": {
"hierarchyIdentifier": "exampleHierarchyId",
"environmentData": {
"environmentType": "AwsAccount",
"organizationalData": {
"organizationMembershipType": "Organization",
"stacksetName": "myStackSetName",
"excludedAccountIds": [
"excludedAccountIdExample"
]
}
},
"environmentName": "AWS",
"offerings": [
{
"offeringType": "CspmMonitorAws",
"nativeCloudConnection": {
"cloudRoleArn": "arn:aws:iam::00000000:role/ASCMonitor"
}
}
]
}
},
{
"id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/securityConnectors/exampleSecurityConnectorGcp",
"name": "exampleSecurityConnectorGcp",
"type": "Microsoft.Security/securityConnectors",
"etag": "etag value",
"kind": "",
"location": "Central US",
"tags": {},
"systemData": {
"createdBy": "user@contoso.com",
"createdByType": "User",
"createdAt": "2021-12-15T13:47:50.328Z",
"lastModifiedBy": "user@contoso.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-12-15T13:47:50.328Z"
},
"properties": {
"hierarchyIdentifier": "exampleHierarchyId",
"environmentData": {
"environmentType": "GcpProject",
"projectDetails": {
"projectNumber": "exampleHierarchyId",
"projectId": "My-0GCP-Project",
"workloadIdentityPoolId": "My-workload-identity-federation-pool-id"
}
},
"environmentName": "GCP",
"offerings": [
{
"offeringType": "CspmMonitorGcp",
"nativeCloudConnection": {
"workloadIdentityProviderId": "My workload identity provider Id",
"serviceAccountEmailAddress": "capm@projectName.com"
}
}
]
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,152 @@
{
"parameters": {
"api-version": "2021-12-01-preview",
"subscriptionId": "a5caac9c-5c04-49af-b3d0-e204f40345d5"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup1/providers/Microsoft.Security/securityConnectors/exampleSecurityConnectorAws",
"name": "exampleSecurityConnectorAws",
"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",
"environmentData": {
"environmentType": "AwsAccount"
},
"environmentName": "AWS",
"offerings": [
{
"offeringType": "CspmMonitorAws",
"nativeCloudConnection": {
"cloudRoleArn": "arn:aws:iam::00000000:role/ASCMonitor"
}
}
]
}
},
{
"id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup2/providers/Microsoft.Security/securityConnectors/exampleSecurityConnectorAwsOrganization",
"name": "exampleSecurityConnectorAwsOrganization",
"type": "Microsoft.Security/securityConnectors",
"etag": "etag value",
"kind": "",
"location": "Central US",
"tags": {},
"systemData": {
"createdBy": "user@contoso.com",
"createdByType": "User",
"createdAt": "2021-12-15T13:47:50.328Z",
"lastModifiedBy": "user@contoso.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-12-15T13:47:50.328Z"
},
"properties": {
"hierarchyIdentifier": "exampleHierarchyId",
"environmentData": {
"environmentType": "AwsAccount",
"organizationalData": {
"organizationMembershipType": "Organization",
"stacksetName": "myStackSetName",
"excludedAccountIds": [
"excludedAccountIdExample"
]
}
},
"environmentName": "AWS",
"offerings": [
{
"offeringType": "CspmMonitorAws",
"nativeCloudConnection": {
"cloudRoleArn": "arn:aws:iam::00000000:role/ASCMonitor"
}
}
]
}
},
{
"id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup3/providers/Microsoft.Security/securityConnectors/exampleSecurityConnectorGithub",
"name": "githubTest",
"etag": "etag value",
"type": "Microsoft.Security/securityconnectors",
"location": "centralus",
"kind": "",
"tags": {},
"systemData": {
"createdBy": "user@contoso.com",
"createdByType": "User",
"createdAt": "2021-12-15T13:47:50.328Z",
"lastModifiedBy": "user@contoso.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-12-15T13:47:50.328Z"
},
"properties": {
"hierarchyIdentifier": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup3/providers/Microsoft.SecurityDevops/githubConnectors/exampleGithubConnector",
"environmentName": "Github",
"environmentData": {
"environmentType": "GithubScope"
},
"offerings": [
{
"offeringType": "CspmMonitorGithub"
}
]
}
},
{
"id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup3/providers/Microsoft.Security/securityConnectors/exampleSecurityConnectorGcp",
"name": "exampleSecurityConnectorGcp",
"type": "Microsoft.Security/securityConnectors",
"etag": "etag value",
"kind": "",
"location": "Central US",
"tags": {},
"systemData": {
"createdBy": "user@contoso.com",
"createdByType": "User",
"createdAt": "2021-12-15T13:47:50.328Z",
"lastModifiedBy": "user@contoso.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-12-15T13:47:50.328Z"
},
"properties": {
"hierarchyIdentifier": "exampleHierarchyId",
"environmentData": {
"environmentType": "GcpProject",
"projectDetails": {
"projectNumber": "exampleHierarchyId",
"projectId": "My-0GCP-Project",
"workloadIdentityPoolId": "6c78da41157548d3b1d8b3c72effdf8c"
}
},
"environmentName": "GCP",
"offerings": [
{
"offeringType": "CspmMonitorGcp",
"nativeCloudConnection": {
"workloadIdentityProviderId": "My workload identity provider Id",
"serviceAccountEmailAddress": "capm@projectName.com"
}
}
]
}
}
]
}
}
}
}
Loading