Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fixed discriminator position
  • Loading branch information
chemishumacher committed Feb 1, 2022
commit 2f0c7b21d4a90b9cf7415f97f945a0e87466c0d9
Original file line number Diff line number Diff line change
Expand Up @@ -383,8 +383,8 @@
"description": "The type of the environment data.",
"enum": [
"AwsAccount",
"GcpProjectEnvironmentData",
"GithubScopeEnvironmentData"
"GcpProject",
"GithubScope"
],
"x-ms-enum": {
"name": "environmentType",
Expand All @@ -396,12 +396,11 @@
"AWSEnvironmentData": {
"type": "object",
"description": "The aws connector environment data",
"x-ms-discriminator-value": "AwsAccount",
"allOf": [{
"$ref": "#/definitions/EnvironmentData"
}],
"properties": {
"environmentType": {
"type": "string",
"description": "The environment type",
"x-ms-discriminator-value": "AwsAccount"
},
"organizationalData": {
"type": "object",
"description": "The AWS account's organizational data",
Expand All @@ -410,6 +409,8 @@
}
},
"AwsOrganizationData":{
"type": "object",
"description": "The awsOrganization data ",
"discriminator": "organizationMembershipType",
"required": [
"organizationMembershipType"
Expand All @@ -430,12 +431,13 @@
}
},
"AwsOrganizationDataParent":{
"type": "object",
"description": "The awsOrganization data for the parent account",
"x-ms-discriminator-value": "Organization",
"allOf": [{
"$ref": "#/definitions/AwsOrganizationData"
}],
"properties": {
"organizationMembershipType": {
"type": "string",
"description": "The environment type",
"x-ms-discriminator-value": "Organization"
},
"stacksetName": {
"type": "string",
"description": "If the multi cloud account is of membership type organization, this will be the name of the onboarding stackset"
Expand All @@ -451,12 +453,13 @@
}
},
"AwsOrganizationDataMember":{
"type": "object",
"description": "The awsOrganization data for the member account",
"x-ms-discriminator-value": "Member",
"allOf": [{
"$ref": "#/definitions/AwsOrganizationData"
}],
"properties": {
"organizationMembershipType": {
"type": "string",
"description": "The environment type",
"x-ms-discriminator-value": "Member"
},
"parentHierarchyId": {
"type": "string",
"description": "If the multi cloud account is not of membership type organization, this will be the ID of the account's parent"
Expand All @@ -466,12 +469,11 @@
"GcpProjectEnvironmentData": {
"type": "object",
"description": "The GCP project connector environment data",
"x-ms-discriminator-value": "GcpProject",
"allOf": [{
"$ref": "#/definitions/EnvironmentData"
}],
"properties": {
"environmentType": {
"type": "string",
"description": "The environment type",
"x-ms-discriminator-value": "GcpProjectEnvironmentData"
},
"organizationalData": {
"type": "object",
"description": "The Gcp project's organizational data",
Expand All @@ -485,6 +487,8 @@
}
},
"GcpProjectDetails": {
"type": "object",
"description": "The details about the project represented by the security connector",
"properties": {
"projectNumber": {
"type": "string",
Expand All @@ -502,6 +506,8 @@
}
},
"GcpOrganizationData": {
"type": "object",
"description": "The gcpOrganization data",
"discriminator": "organizationMembershipType",
"required": [
"organizationMembershipType"
Expand All @@ -522,12 +528,13 @@
}
},
"GcpOrganizationDataParent": {
"type": "object",
"description": "The gcpOrganization data for the parent account",
"x-ms-discriminator-value": "Organization",
"allOf": [{
"$ref": "#/definitions/GcpOrganizationData"
}],
"properties": {
"organizationMembershipType": {
"type": "string",
"description": "The organization data for parent security connector",
"x-ms-discriminator-value": "Organization"
},
"excludedProjectNumbers": {
"type": "array",
"description": "If the multi cloud account is of membership type organization, list of accounts excluded from offering",
Expand All @@ -547,12 +554,13 @@
}
},
"GcpOrganizationDataMember": {
"type": "object",
"description": "The gcpOrganization data for the member account",
"x-ms-discriminator-value": "Member",
"allOf": [{
"$ref": "#/definitions/GcpOrganizationData"
}],
"properties": {
"organizationMembershipType": {
"type": "string",
"description": "The organization data for parent security connector",
"x-ms-discriminator-value": "Memberdd"
},
"excludedProjectNumbers": {
"type": "array",
"description": "If the multi cloud account is of membership type organization, list of accounts excluded from offering",
Expand All @@ -574,12 +582,11 @@
"GithubScopeEnvironmentData": {
"type": "object",
"description": "The github scope connector's environment data",
"x-ms-discriminator-value": "GithubScope",
"allOf": [{
"$ref": "#/definitions/EnvironmentData"
}],
"properties": {
"environmentType": {
"type": "string",
"description": "The environment type",
"x-ms-discriminator-value": "GithubScopeEnvironmentData"
}
}
},
"cloudOffering": {
Expand Down Expand Up @@ -616,12 +623,11 @@
"cspmMonitorAwsOffering": {
"type": "object",
"description": "The CSPM monitoring for AWS offering",
"x-ms-discriminator-value": "CspmMonitorAws",
"allOf": [{
"$ref": "#/definitions/cloudOffering"
}],
"properties": {
"offeringType": {
"type": "string",
"description": "The security offering details",
"x-ms-discriminator-value": "CspmMonitorAws"
},
"nativeCloudConnection": {
"type": "object",
"description": "The native cloud connection configuration",
Expand All @@ -637,12 +643,11 @@
"defenderForContainersAwsOffering": {
"type": "object",
"description": "The Defender for Containers AWS offering",
"x-ms-discriminator-value": "DefenderForContainersAws",
"allOf": [{
"$ref": "#/definitions/cloudOffering"
}],
"properties": {
"offeringType": {
"type": "string",
"description": "The security offering details",
"x-ms-discriminator-value": "DefenderForContainersAws"
},
"kubernetesService": {
"type": "object",
"description": "The kubernetes service connection configuration",
Expand Down Expand Up @@ -688,12 +693,11 @@
"defenderForServersAwsOffering": {
"type": "object",
"description": "The Defender for Servers AWS offering",
"x-ms-discriminator-value": "DefenderForServersAws",
"allOf": [{
"$ref": "#/definitions/cloudOffering"
}],
"properties": {
"offeringType": {
"type": "string",
"description": "The security offering details",
"x-ms-discriminator-value": "DefenderForServersAws"
},
"defenderForServers": {
"type": "object",
"description": "The Defender for servers connection configuration",
Expand Down Expand Up @@ -737,12 +741,11 @@
"informationProtectionAwsOffering": {
"type": "object",
"description": "The information protection for AWS offering",
"x-ms-discriminator-value": "InformationProtectionAws",
"allOf": [{
"$ref": "#/definitions/cloudOffering"
}],
"properties": {
"offeringType": {
"type": "string",
"description": "The security offering details",
"x-ms-discriminator-value": "InformationProtectionAws"
},
"informationProtection": {
"type": "object",
"description": "The native cloud connection configuration",
Expand All @@ -758,12 +761,11 @@
"cspmMonitorGcpOffering": {
"type": "object",
"description": "The CSPM monitoring for GCP offering",
"x-ms-discriminator-value": "CspmMonitorGcp",
"allOf": [{
"$ref": "#/definitions/cloudOffering"
}],
"properties": {
"offeringType": {
"type": "string",
"description": "The security offering details",
"x-ms-discriminator-value": "CspmMonitorGcp"
},
"workloadIdentityProviderId": {
"type": "string",
"description": "The GCP workload identity provider id for the offering"
Expand All @@ -783,12 +785,11 @@
"cspmMonitorGithubOffering": {
"type": "object",
"description": "The CSPM monitoring for github offering",
"x-ms-discriminator-value": "CspmMonitorGithub",
"allOf": [{
"$ref": "#/definitions/cloudOffering"
}],
"properties": {
"offeringType": {
"type": "string",
"description": "The security offering details",
"x-ms-discriminator-value": "CspmMonitorGithub"
}
}
}
},
Expand Down