Skip to content

Commit

Permalink
feat(securitycenter): update the api
Browse files Browse the repository at this point in the history
#### securitycenter:v1

The following keys were deleted:
- schemas.ComplianceSnapshot.properties.projectDisplayName.type (Total Keys: 1)

The following keys were added:
- schemas.AdaptiveProtection (Total Keys: 4)
- schemas.Attack (Total Keys: 7)
- schemas.AwsAccount (Total Keys: 4)
- schemas.AwsMetadata (Total Keys: 6)
- schemas.AwsOrganization (Total Keys: 7)
- schemas.CloudArmor (Total Keys: 9)
- schemas.ComplianceSnapshot.properties.cloudProvider.type (Total Keys: 1)
- schemas.Finding.properties.cloudArmor.$ref (Total Keys: 1)
- schemas.Finding.properties.notebook.$ref (Total Keys: 1)
- schemas.GcpMetadata (Total Keys: 10)
- schemas.GoogleCloudSecuritycenterV1Resource.properties.awsMetadata.$ref (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV1Resource.properties.cloudProvider.type (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV1Resource.properties.location.type (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV1Resource.properties.organization.type (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV1Resource.properties.resourcePath (Total Keys: 2)
- schemas.GoogleCloudSecuritycenterV1Resource.properties.service.type (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV1ResourceValueConfig.properties.cloudProvider.type (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV2AdaptiveProtection (Total Keys: 4)
- schemas.GoogleCloudSecuritycenterV2Attack (Total Keys: 7)
- schemas.GoogleCloudSecuritycenterV2AwsAccount (Total Keys: 4)
- schemas.GoogleCloudSecuritycenterV2AwsMetadata (Total Keys: 6)
- schemas.GoogleCloudSecuritycenterV2AwsOrganization (Total Keys: 7)
- schemas.GoogleCloudSecuritycenterV2CloudArmor (Total Keys: 9)
- schemas.GoogleCloudSecuritycenterV2Finding.properties.cloudArmor.$ref (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV2Finding.properties.notebook.$ref (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV2Folder (Total Keys: 4)
- schemas.GoogleCloudSecuritycenterV2Notebook (Total Keys: 7)
- schemas.GoogleCloudSecuritycenterV2Requests (Total Keys: 10)
- schemas.GoogleCloudSecuritycenterV2Resource.properties.awsMetadata.$ref (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV2Resource.properties.cloudProvider.type (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV2Resource.properties.gcpMetadata.$ref (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV2Resource.properties.location.type (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV2Resource.properties.resourcePath (Total Keys: 2)
- schemas.GoogleCloudSecuritycenterV2Resource.properties.service.type (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV2ResourcePath (Total Keys: 9)
- schemas.GoogleCloudSecuritycenterV2ResourceValueConfig.properties.cloudProvider.type (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV2SecurityPolicy (Total Keys: 5)
- schemas.Notebook (Total Keys: 7)
- schemas.Requests (Total Keys: 10)
- schemas.Resource.properties.awsMetadata.$ref (Total Keys: 1)
- schemas.Resource.properties.cloudProvider.type (Total Keys: 1)
- schemas.Resource.properties.location.type (Total Keys: 1)
- schemas.Resource.properties.organization.type (Total Keys: 1)
- schemas.Resource.properties.resourcePath (Total Keys: 2)
- schemas.Resource.properties.service.type (Total Keys: 1)
- schemas.ResourcePath (Total Keys: 9)
- schemas.SecurityPolicy (Total Keys: 5)
- schemas.Simulation.properties.cloudProvider.type (Total Keys: 1)
- schemas.VulnerabilityCountBySeverity (Total Keys: 5)
- schemas.VulnerabilitySnapshot (Total Keys: 7)

#### securitycenter:v1beta1

The following keys were deleted:
- schemas.ComplianceSnapshot.properties.projectDisplayName.type (Total Keys: 1)

The following keys were added:
- schemas.AdaptiveProtection (Total Keys: 4)
- schemas.Attack (Total Keys: 7)
- schemas.AwsAccount (Total Keys: 4)
- schemas.AwsMetadata (Total Keys: 6)
- schemas.AwsOrganization (Total Keys: 7)
- schemas.CloudArmor (Total Keys: 9)
- schemas.ComplianceSnapshot.properties.cloudProvider.type (Total Keys: 1)
- schemas.Finding.properties.cloudArmor.$ref (Total Keys: 1)
- schemas.Finding.properties.notebook.$ref (Total Keys: 1)
- schemas.GcpMetadata (Total Keys: 10)
- schemas.GoogleCloudSecuritycenterV1Resource.properties.awsMetadata.$ref (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV1Resource.properties.cloudProvider.type (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV1Resource.properties.location.type (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV1Resource.properties.organization.type (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV1Resource.properties.resourcePath (Total Keys: 2)
- schemas.GoogleCloudSecuritycenterV1Resource.properties.service.type (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV1ResourceValueConfig.properties.cloudProvider.type (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV2AdaptiveProtection (Total Keys: 4)
- schemas.GoogleCloudSecuritycenterV2Attack (Total Keys: 7)
- schemas.GoogleCloudSecuritycenterV2AwsAccount (Total Keys: 4)
- schemas.GoogleCloudSecuritycenterV2AwsMetadata (Total Keys: 6)
- schemas.GoogleCloudSecuritycenterV2AwsOrganization (Total Keys: 7)
- schemas.GoogleCloudSecuritycenterV2CloudArmor (Total Keys: 9)
- schemas.GoogleCloudSecuritycenterV2Finding.properties.cloudArmor.$ref (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV2Finding.properties.notebook.$ref (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV2Folder (Total Keys: 4)
- schemas.GoogleCloudSecuritycenterV2Notebook (Total Keys: 7)
- schemas.GoogleCloudSecuritycenterV2Requests (Total Keys: 10)
- schemas.GoogleCloudSecuritycenterV2Resource.properties.awsMetadata.$ref (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV2Resource.properties.cloudProvider.type (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV2Resource.properties.gcpMetadata.$ref (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV2Resource.properties.location.type (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV2Resource.properties.resourcePath (Total Keys: 2)
- schemas.GoogleCloudSecuritycenterV2Resource.properties.service.type (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV2ResourcePath (Total Keys: 9)
- schemas.GoogleCloudSecuritycenterV2ResourceValueConfig.properties.cloudProvider.type (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV2SecurityPolicy (Total Keys: 5)
- schemas.Notebook (Total Keys: 7)
- schemas.Requests (Total Keys: 10)
- schemas.ResourcePath (Total Keys: 9)
- schemas.SecurityPolicy (Total Keys: 5)
- schemas.VulnerabilityCountBySeverity (Total Keys: 5)
- schemas.VulnerabilitySnapshot (Total Keys: 7)

#### securitycenter:v1beta2

The following keys were deleted:
- schemas.ComplianceSnapshot.properties.projectDisplayName.type (Total Keys: 1)

The following keys were added:
- schemas.AdaptiveProtection (Total Keys: 4)
- schemas.Attack (Total Keys: 7)
- schemas.AwsAccount (Total Keys: 4)
- schemas.AwsMetadata (Total Keys: 6)
- schemas.AwsOrganization (Total Keys: 7)
- schemas.CloudArmor (Total Keys: 9)
- schemas.ComplianceSnapshot.properties.cloudProvider.type (Total Keys: 1)
- schemas.Finding.properties.cloudArmor.$ref (Total Keys: 1)
- schemas.Finding.properties.notebook.$ref (Total Keys: 1)
- schemas.GcpMetadata (Total Keys: 10)
- schemas.GoogleCloudSecuritycenterV1Resource.properties.awsMetadata.$ref (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV1Resource.properties.cloudProvider.type (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV1Resource.properties.location.type (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV1Resource.properties.organization.type (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV1Resource.properties.resourcePath (Total Keys: 2)
- schemas.GoogleCloudSecuritycenterV1Resource.properties.service.type (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV1ResourceValueConfig.properties.cloudProvider.type (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV2AdaptiveProtection (Total Keys: 4)
- schemas.GoogleCloudSecuritycenterV2Attack (Total Keys: 7)
- schemas.GoogleCloudSecuritycenterV2AwsAccount (Total Keys: 4)
- schemas.GoogleCloudSecuritycenterV2AwsMetadata (Total Keys: 6)
- schemas.GoogleCloudSecuritycenterV2AwsOrganization (Total Keys: 7)
- schemas.GoogleCloudSecuritycenterV2CloudArmor (Total Keys: 9)
- schemas.GoogleCloudSecuritycenterV2Finding.properties.cloudArmor.$ref (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV2Finding.properties.notebook.$ref (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV2Folder (Total Keys: 4)
- schemas.GoogleCloudSecuritycenterV2Notebook (Total Keys: 7)
- schemas.GoogleCloudSecuritycenterV2Requests (Total Keys: 10)
- schemas.GoogleCloudSecuritycenterV2Resource.properties.awsMetadata.$ref (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV2Resource.properties.cloudProvider.type (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV2Resource.properties.gcpMetadata.$ref (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV2Resource.properties.location.type (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV2Resource.properties.resourcePath (Total Keys: 2)
- schemas.GoogleCloudSecuritycenterV2Resource.properties.service.type (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV2ResourcePath (Total Keys: 9)
- schemas.GoogleCloudSecuritycenterV2ResourceValueConfig.properties.cloudProvider.type (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV2SecurityPolicy (Total Keys: 5)
- schemas.Notebook (Total Keys: 7)
- schemas.Requests (Total Keys: 10)
- schemas.ResourcePath (Total Keys: 9)
- schemas.SecurityPolicy (Total Keys: 5)
- schemas.VulnerabilityCountBySeverity (Total Keys: 5)
- schemas.VulnerabilitySnapshot (Total Keys: 7)
  • Loading branch information
yoshi-automation committed Apr 16, 2024
1 parent 5ec677c commit a1e8c61
Show file tree
Hide file tree
Showing 11 changed files with 3,025 additions and 18 deletions.
Expand Up @@ -669,6 +669,29 @@ <h3>Method Details</h3>
},
&quot;canonicalName&quot;: &quot;A String&quot;, # The canonical name of the finding. It&#x27;s either &quot;organizations/{organization_id}/sources/{source_id}/findings/{finding_id}&quot;, &quot;folders/{folder_id}/sources/{source_id}/findings/{finding_id}&quot; or &quot;projects/{project_number}/sources/{source_id}/findings/{finding_id}&quot;, depending on the closest CRM ancestor of the resource associated with the finding.
&quot;category&quot;: &quot;A String&quot;, # The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: &quot;XSS_FLASH_INJECTION&quot;
&quot;cloudArmor&quot;: { # Fields related to Google Cloud Armor findings. # Fields related to Cloud Armor findings.
&quot;adaptiveProtection&quot;: { # Information about [Google Cloud Armor Adaptive Protection](https://cloud.google.com/armor/docs/cloud-armor-overview#google-cloud-armor-adaptive-protection). # Information about potential Layer 7 DDoS attacks identified by [Google Cloud Armor Adaptive Protection](https://cloud.google.com/armor/docs/adaptive-protection-overview).
&quot;confidence&quot;: 3.14, # A score of 0 means that there is low confidence that the detected event is an actual attack. A score of 1 means that there is high confidence that the detected event is an attack. See the [Adaptive Protection documentation](https://cloud.google.com/armor/docs/adaptive-protection-overview#configure-alert-tuning) for further explanation.
},
&quot;attack&quot;: { # Information about DDoS attack volume and classification. # Information about DDoS attack volume and classification.
&quot;classification&quot;: &quot;A String&quot;, # Type of attack, for example, ‘SYN-flood’, ‘NTP-udp’, or ‘CHARGEN-udp’.
&quot;volumeBps&quot;: 42, # Total BPS (bytes per second) volume of attack.
&quot;volumePps&quot;: 42, # Total PPS (packets per second) volume of attack.
},
&quot;duration&quot;: &quot;A String&quot;, # Duration of attack from the start until the current moment (updated every 5 minutes).
&quot;requests&quot;: { # Information about the requests relevant to the finding. # Information about incoming requests evaluated by [Google Cloud Armor security policies](https://cloud.google.com/armor/docs/security-policy-overview).
&quot;longTermAllowed&quot;: 42, # Allowed RPS (requests per second) over the long term.
&quot;longTermDenied&quot;: 42, # Denied RPS (requests per second) over the long term.
&quot;ratio&quot;: 3.14, # For &#x27;Increasing deny ratio&#x27;, the ratio is the denied traffic divided by the allowed traffic. For &#x27;Allowed traffic spike&#x27;, the ratio is the allowed traffic in the short term divided by allowed traffic in the long term.
&quot;shortTermAllowed&quot;: 42, # Allowed RPS (requests per second) in the short term.
},
&quot;securityPolicy&quot;: { # Information about the [Google Cloud Armor security policy](https://cloud.google.com/armor/docs/security-policy-overview) relevant to the finding. # Information about the [Google Cloud Armor security policy](https://cloud.google.com/armor/docs/security-policy-overview) relevant to the finding.
&quot;name&quot;: &quot;A String&quot;, # The name of the Google Cloud Armor security policy, for example, &quot;my-security-policy&quot;.
&quot;preview&quot;: True or False, # Whether or not the associated rule or policy is in preview mode.
&quot;type&quot;: &quot;A String&quot;, # The type of Google Cloud Armor security policy for example, ‘backend security policy’, ‘edge security policy’, ‘network edge security policy’, or ‘always-on DDoS protection’.
},
&quot;threatVector&quot;: &quot;A String&quot;, # Distinguish between volumetric &amp; protocol DDoS attack and application layer attacks. For example, “L3_4” for Layer 3 and Layer 4 DDoS attacks, or “L_7” for Layer 7 DDoS attacks.
},
&quot;cloudDlpDataProfile&quot;: { # The [data profile](https://cloud.google.com/dlp/docs/data-profiles) associated with the finding. # Cloud DLP data profile that is associated with the finding.
&quot;dataProfile&quot;: &quot;A String&quot;, # Name of the data profile, for example, `projects/123/locations/europe/tableProfiles/8383929`.
&quot;parentType&quot;: &quot;A String&quot;, # The resource hierarchy level at which the data profile was generated.
Expand Down Expand Up @@ -973,6 +996,12 @@ <h3>Method Details</h3>
&quot;muteUpdateTime&quot;: &quot;A String&quot;, # Output only. The most recent time this finding was muted or unmuted.
&quot;name&quot;: &quot;A String&quot;, # The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: &quot;organizations/{organization_id}/sources/{source_id}/findings/{finding_id}&quot;, &quot;folders/{folder_id}/sources/{source_id}/findings/{finding_id}&quot;, &quot;projects/{project_id}/sources/{source_id}/findings/{finding_id}&quot;.
&quot;nextSteps&quot;: &quot;A String&quot;, # Steps to address the finding.
&quot;notebook&quot;: { # Represents a Jupyter notebook IPYNB file, such as a [Colab Enterprise notebook](https://cloud.google.com/colab/docs/introduction) file, that is associated with a finding. # Notebook associated with the finding.
&quot;lastAuthor&quot;: &quot;A String&quot;, # The user ID of the latest author to modify the notebook.
&quot;name&quot;: &quot;A String&quot;, # The name of the notebook.
&quot;notebookUpdateTime&quot;: &quot;A String&quot;, # The most recent time the notebook was updated.
&quot;service&quot;: &quot;A String&quot;, # The source notebook service, for example, &quot;Colab Enterprise&quot;.
},
&quot;orgPolicies&quot;: [ # Contains information about the org policies associated with the finding.
{ # Contains information about the org policies associated with the finding.
&quot;name&quot;: &quot;A String&quot;, # The resource name of the org policy. Example: &quot;organizations/{organization_id}/policies/{constraint_name}&quot;
Expand Down

0 comments on commit a1e8c61

Please sign in to comment.