@googleapis/securitycenter 4.2.0 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/v1.ts CHANGED
@@ -215,11 +215,11 @@ export namespace securitycenter_v1 {
215
215
  */
216
216
  export interface Schema$Application {
217
217
  /**
218
- * The base URI that identifies the network location of the application in which the vulnerability was detected. Examples: http://11.22.33.44, http://foo.com, http://11.22.33.44:8080
218
+ * The base URI that identifies the network location of the application in which the vulnerability was detected. For example, `http://example.com`.
219
219
  */
220
220
  baseUri?: string | null;
221
221
  /**
222
- * The full URI with payload that can be used to reproduce the vulnerability. Example: http://11.22.33.44/reflected/parameter/attribute/singlequoted/js?p=aMmYgI6H
222
+ * The full URI with payload that can be used to reproduce the vulnerability. For example, `http://example.com?p=aMmYgI6H`.
223
223
  */
224
224
  fullUri?: string | null;
225
225
  }
@@ -425,11 +425,11 @@ export namespace securitycenter_v1 {
425
425
  */
426
426
  export interface Schema$BackupDisasterRecovery {
427
427
  /**
428
- * The name of the Backup and DR appliance that captures, moves, and manages the lifecycle of backup data. For example, “backup-server-57137”.
428
+ * The name of the Backup and DR appliance that captures, moves, and manages the lifecycle of backup data. For example, `backup-server-57137`.
429
429
  */
430
430
  appliance?: string | null;
431
431
  /**
432
- * The names of Backup and DR applications. An application is a VM, database, or file system on a managed host monitored by a backup and recovery appliance. For example, “centos7-01-vol00”, “centos7-01-vol01”, “centos7-01-vol02”.
432
+ * The names of Backup and DR applications. An application is a VM, database, or file system on a managed host monitored by a backup and recovery appliance. For example, `centos7-01-vol00`, `centos7-01-vol01`, `centos7-01-vol02`.
433
433
  */
434
434
  applications?: string[] | null;
435
435
  /**
@@ -437,31 +437,31 @@ export namespace securitycenter_v1 {
437
437
  */
438
438
  backupCreateTime?: string | null;
439
439
  /**
440
- * The name of a Backup and DR template which comprises one or more backup policies. See the [Backup and DR documentation](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#temp) for more information. For example, “snap-ov”.
440
+ * The name of a Backup and DR template which comprises one or more backup policies. See the [Backup and DR documentation](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#temp) for more information. For example, `snap-ov`.
441
441
  */
442
442
  backupTemplate?: string | null;
443
443
  /**
444
- * The backup type of the Backup and DR image. For example, “Snapshot”, “Remote Snapshot”, “OnVault”.
444
+ * The backup type of the Backup and DR image. For example, `Snapshot`, `Remote Snapshot`, `OnVault`.
445
445
  */
446
446
  backupType?: string | null;
447
447
  /**
448
- * The name of a Backup and DR host, which is managed by the backup and recovery appliance and known to the management console. The host can be of type Generic (for example, Compute Engine, SQL Server, Oracle DB, SMB file system, etc.), vCenter, or an ESX server. See the [Backup and DR documentation on hosts](https://cloud.google.com/backup-disaster-recovery/docs/configuration/manage-hosts-and-their-applications) for more information. For example, “centos7-01”.
448
+ * The name of a Backup and DR host, which is managed by the backup and recovery appliance and known to the management console. The host can be of type Generic (for example, Compute Engine, SQL Server, Oracle DB, SMB file system, etc.), vCenter, or an ESX server. See the [Backup and DR documentation on hosts](https://cloud.google.com/backup-disaster-recovery/docs/configuration/manage-hosts-and-their-applications) for more information. For example, `centos7-01`.
449
449
  */
450
450
  host?: string | null;
451
451
  /**
452
- * The names of Backup and DR policies that are associated with a template and that define when to run a backup, how frequently to run a backup, and how long to retain the backup image. For example, “onvaults”.
452
+ * The names of Backup and DR policies that are associated with a template and that define when to run a backup, how frequently to run a backup, and how long to retain the backup image. For example, `onvaults`.
453
453
  */
454
454
  policies?: string[] | null;
455
455
  /**
456
- * The names of Backup and DR advanced policy options of a policy applying to an application. See the [Backup and DR documentation on policy options](https://cloud.google.com/backup-disaster-recovery/docs/create-plan/policy-settings). For example, “skipofflineappsincongrp, nounmap”.
456
+ * The names of Backup and DR advanced policy options of a policy applying to an application. See the [Backup and DR documentation on policy options](https://cloud.google.com/backup-disaster-recovery/docs/create-plan/policy-settings). For example, `skipofflineappsincongrp, nounmap`.
457
457
  */
458
458
  policyOptions?: string[] | null;
459
459
  /**
460
- * The name of the Backup and DR resource profile that specifies the storage media for backups of application and VM data. See the [Backup and DR documentation on profiles](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#profile). For example, “GCP”.
460
+ * The name of the Backup and DR resource profile that specifies the storage media for backups of application and VM data. See the [Backup and DR documentation on profiles](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#profile). For example, `GCP`.
461
461
  */
462
462
  profile?: string | null;
463
463
  /**
464
- * The name of the Backup and DR storage pool that the backup and recovery appliance is storing data in. The storage pool could be of type Cloud, Primary, Snapshot, or OnVault. See the [Backup and DR documentation on storage pools](https://cloud.google.com/backup-disaster-recovery/docs/concepts/storage-pools). For example, “DiskPoolOne”.
464
+ * The name of the Backup and DR storage pool that the backup and recovery appliance is storing data in. The storage pool could be of type Cloud, Primary, Snapshot, or OnVault. See the [Backup and DR documentation on storage pools](https://cloud.google.com/backup-disaster-recovery/docs/concepts/storage-pools). For example, `DiskPoolOne`.
465
465
  */
466
466
  storagePool?: string | null;
467
467
  }
@@ -585,6 +585,43 @@ export namespace securitycenter_v1 {
585
585
  */
586
586
  version?: string | null;
587
587
  }
588
+ /**
589
+ * Result containing the properties and count of a ComplianceSnapshot request.
590
+ */
591
+ export interface Schema$ComplianceSnapshot {
592
+ /**
593
+ * The category of Findings matching.
594
+ */
595
+ category?: string | null;
596
+ /**
597
+ * The compliance standard (ie CIS).
598
+ */
599
+ complianceStandard?: string | null;
600
+ /**
601
+ * The compliance version (ie 1.3) in CIS 1.3.
602
+ */
603
+ complianceVersion?: string | null;
604
+ /**
605
+ * Total count of findings for the given properties.
606
+ */
607
+ count?: string | null;
608
+ /**
609
+ * The leaf container resource name that is closest to the snapshot.
610
+ */
611
+ leafContainerResource?: string | null;
612
+ /**
613
+ * The compliance snapshot name. Format: //sources//complianceSnapshots/
614
+ */
615
+ name?: string | null;
616
+ /**
617
+ * The CRM resource display name that is closest to the snapshot the Findings belong to.
618
+ */
619
+ projectDisplayName?: string | null;
620
+ /**
621
+ * The snapshot time of the snapshot.
622
+ */
623
+ snapshotTime?: string | null;
624
+ }
588
625
  /**
589
626
  * Contains information about the IP connection associated with the finding.
590
627
  */
@@ -701,10 +738,22 @@ export namespace securitycenter_v1 {
701
738
  * Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document
702
739
  */
703
740
  cvssv3?: Schema$Cvssv3;
741
+ /**
742
+ * The exploitation activity of the vulnerability in the wild.
743
+ */
744
+ exploitationActivity?: string | null;
704
745
  /**
705
746
  * The unique identifier for the vulnerability. e.g. CVE-2021-34527
706
747
  */
707
748
  id?: string | null;
749
+ /**
750
+ * The potential impact of the vulnerability if it was to be exploited.
751
+ */
752
+ impact?: string | null;
753
+ /**
754
+ * Whether or not the vulnerability has been observed in the wild.
755
+ */
756
+ observedInTheWild?: boolean | null;
708
757
  /**
709
758
  * Additional information about the CVE. e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
710
759
  */
@@ -713,6 +762,10 @@ export namespace securitycenter_v1 {
713
762
  * Whether upstream fix is available for the CVE.
714
763
  */
715
764
  upstreamFixAvailable?: boolean | null;
765
+ /**
766
+ * Whether or not the vulnerability was zero day when the finding was published.
767
+ */
768
+ zeroDay?: boolean | null;
716
769
  }
717
770
  /**
718
771
  * Common Vulnerability Scoring System version 3.
@@ -1350,6 +1403,14 @@ export namespace securitycenter_v1 {
1350
1403
  * References primary/secondary etc assignees in the external system.
1351
1404
  */
1352
1405
  assignees?: string[] | null;
1406
+ /**
1407
+ * The time when the case was closed, as reported by the external system.
1408
+ */
1409
+ caseCloseTime?: string | null;
1410
+ /**
1411
+ * The time when the case was created, as reported by the external system.
1412
+ */
1413
+ caseCreateTime?: string | null;
1353
1414
  /**
1354
1415
  * The priority of the finding's corresponding case in the external system.
1355
1416
  */
@@ -1738,6 +1799,1510 @@ export namespace securitycenter_v1 {
1738
1799
  */
1739
1800
  mediumSensitivityMapping?: string | null;
1740
1801
  }
1802
+ /**
1803
+ * Represents an access event.
1804
+ */
1805
+ export interface Schema$GoogleCloudSecuritycenterV2Access {
1806
+ /**
1807
+ * Caller's IP address, such as "1.1.1.1".
1808
+ */
1809
+ callerIp?: string | null;
1810
+ /**
1811
+ * The caller IP's geolocation, which identifies where the call came from.
1812
+ */
1813
+ callerIpGeo?: Schema$GoogleCloudSecuritycenterV2Geolocation;
1814
+ /**
1815
+ * The method that the service account called, e.g. "SetIamPolicy".
1816
+ */
1817
+ methodName?: string | null;
1818
+ /**
1819
+ * Associated email, such as "foo@google.com". The email address of the authenticated user or a service account acting on behalf of a third party principal making the request. For third party identity callers, the `principal_subject` field is populated instead of this field. For privacy reasons, the principal email address is sometimes redacted. For more information, see [Caller identities in audit logs](https://cloud.google.com/logging/docs/audit#user-id).
1820
+ */
1821
+ principalEmail?: string | null;
1822
+ /**
1823
+ * A string that represents the principal_subject that is associated with the identity. Unlike `principal_email`, `principal_subject` supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format is `principal://iam.googleapis.com/{identity pool name\}/subject/{subject\}`. Some GKE identities, such as GKE_WORKLOAD, FREEFORM, and GKE_HUB_WORKLOAD, still use the legacy format `serviceAccount:{identity pool name\}[{subject\}]`.
1824
+ */
1825
+ principalSubject?: string | null;
1826
+ /**
1827
+ * The identity delegation history of an authenticated service account that made the request. The `serviceAccountDelegationInfo[]` object contains information about the real authorities that try to access Google Cloud resources by delegating on a service account. When multiple authorities are present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.
1828
+ */
1829
+ serviceAccountDelegationInfo?: Schema$GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo[];
1830
+ /**
1831
+ * The name of the service account key that was used to create or exchange credentials when authenticating the service account that made the request. This is a scheme-less URI full resource name. For example: "//iam.googleapis.com/projects/{PROJECT_ID\}/serviceAccounts/{ACCOUNT\}/keys/{key\}".
1832
+ */
1833
+ serviceAccountKeyName?: string | null;
1834
+ /**
1835
+ * This is the API service that the service account made a call to, e.g. "iam.googleapis.com"
1836
+ */
1837
+ serviceName?: string | null;
1838
+ /**
1839
+ * The caller's user agent string associated with the finding.
1840
+ */
1841
+ userAgent?: string | null;
1842
+ /**
1843
+ * Type of user agent associated with the finding. For example, an operating system shell or an embedded or standalone application.
1844
+ */
1845
+ userAgentFamily?: string | null;
1846
+ /**
1847
+ * A string that represents a username. The username provided depends on the type of the finding and is likely not an IAM principal. For example, this can be a system username if the finding is related to a virtual machine, or it can be an application login username.
1848
+ */
1849
+ userName?: string | null;
1850
+ }
1851
+ /**
1852
+ * Conveys information about a Kubernetes access review (such as one returned by a [`kubectl auth can-i`](https://kubernetes.io/docs/reference/access-authn-authz/authorization/#checking-api-access) command) that was involved in a finding.
1853
+ */
1854
+ export interface Schema$GoogleCloudSecuritycenterV2AccessReview {
1855
+ /**
1856
+ * The API group of the resource. "*" means all.
1857
+ */
1858
+ group?: string | null;
1859
+ /**
1860
+ * The name of the resource being requested. Empty means all.
1861
+ */
1862
+ name?: string | null;
1863
+ /**
1864
+ * Namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces. Both are represented by "" (empty).
1865
+ */
1866
+ ns?: string | null;
1867
+ /**
1868
+ * The optional resource type requested. "*" means all.
1869
+ */
1870
+ resource?: string | null;
1871
+ /**
1872
+ * The optional subresource type.
1873
+ */
1874
+ subresource?: string | null;
1875
+ /**
1876
+ * A Kubernetes resource API verb, like get, list, watch, create, update, delete, proxy. "*" means all.
1877
+ */
1878
+ verb?: string | null;
1879
+ /**
1880
+ * The API version of the resource. "*" means all.
1881
+ */
1882
+ version?: string | null;
1883
+ }
1884
+ /**
1885
+ * Represents an application associated with a finding.
1886
+ */
1887
+ export interface Schema$GoogleCloudSecuritycenterV2Application {
1888
+ /**
1889
+ * The base URI that identifies the network location of the application in which the vulnerability was detected. For example, `http://example.com`.
1890
+ */
1891
+ baseUri?: string | null;
1892
+ /**
1893
+ * The full URI with payload that could be used to reproduce the vulnerability. For example, `http://example.com?p=aMmYgI6H`.
1894
+ */
1895
+ fullUri?: string | null;
1896
+ }
1897
+ /**
1898
+ * An attack exposure contains the results of an attack path simulation run.
1899
+ */
1900
+ export interface Schema$GoogleCloudSecuritycenterV2AttackExposure {
1901
+ /**
1902
+ * The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: organizations/123/simulations/456/attackExposureResults/789
1903
+ */
1904
+ attackExposureResult?: string | null;
1905
+ /**
1906
+ * The number of high value resources that are exposed as a result of this finding.
1907
+ */
1908
+ exposedHighValueResourcesCount?: number | null;
1909
+ /**
1910
+ * The number of high value resources that are exposed as a result of this finding.
1911
+ */
1912
+ exposedLowValueResourcesCount?: number | null;
1913
+ /**
1914
+ * The number of medium value resources that are exposed as a result of this finding.
1915
+ */
1916
+ exposedMediumValueResourcesCount?: number | null;
1917
+ /**
1918
+ * The most recent time the attack exposure was updated on this finding.
1919
+ */
1920
+ latestCalculationTime?: string | null;
1921
+ /**
1922
+ * A number between 0 (inclusive) and infinity that represents how important this finding is to remediate. The higher the score, the more important it is to remediate.
1923
+ */
1924
+ score?: number | null;
1925
+ /**
1926
+ * Output only. What state this AttackExposure is in. This captures whether or not an attack exposure has been calculated or not.
1927
+ */
1928
+ state?: string | null;
1929
+ }
1930
+ /**
1931
+ * Information related to Google Cloud Backup and DR Service findings.
1932
+ */
1933
+ export interface Schema$GoogleCloudSecuritycenterV2BackupDisasterRecovery {
1934
+ /**
1935
+ * The name of the Backup and DR appliance that captures, moves, and manages the lifecycle of backup data. For example, `backup-server-57137`.
1936
+ */
1937
+ appliance?: string | null;
1938
+ /**
1939
+ * The names of Backup and DR applications. An application is a VM, database, or file system on a managed host monitored by a backup and recovery appliance. For example, `centos7-01-vol00`, `centos7-01-vol01`, `centos7-01-vol02`.
1940
+ */
1941
+ applications?: string[] | null;
1942
+ /**
1943
+ * The timestamp at which the Backup and DR backup was created.
1944
+ */
1945
+ backupCreateTime?: string | null;
1946
+ /**
1947
+ * The name of a Backup and DR template which comprises one or more backup policies. See the [Backup and DR documentation](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#temp) for more information. For example, `snap-ov`.
1948
+ */
1949
+ backupTemplate?: string | null;
1950
+ /**
1951
+ * The backup type of the Backup and DR image. For example, `Snapshot`, `Remote Snapshot`, `OnVault`.
1952
+ */
1953
+ backupType?: string | null;
1954
+ /**
1955
+ * The name of a Backup and DR host, which is managed by the backup and recovery appliance and known to the management console. The host can be of type Generic (for example, Compute Engine, SQL Server, Oracle DB, SMB file system, etc.), vCenter, or an ESX server. See the [Backup and DR documentation on hosts](https://cloud.google.com/backup-disaster-recovery/docs/configuration/manage-hosts-and-their-applications) for more information. For example, `centos7-01`.
1956
+ */
1957
+ host?: string | null;
1958
+ /**
1959
+ * The names of Backup and DR policies that are associated with a template and that define when to run a backup, how frequently to run a backup, and how long to retain the backup image. For example, `onvaults`.
1960
+ */
1961
+ policies?: string[] | null;
1962
+ /**
1963
+ * The names of Backup and DR advanced policy options of a policy applying to an application. See the [Backup and DR documentation on policy options](https://cloud.google.com/backup-disaster-recovery/docs/create-plan/policy-settings). For example, `skipofflineappsincongrp, nounmap`.
1964
+ */
1965
+ policyOptions?: string[] | null;
1966
+ /**
1967
+ * The name of the Backup and DR resource profile that specifies the storage media for backups of application and VM data. See the [Backup and DR documentation on profiles](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#profile). For example, `GCP`.
1968
+ */
1969
+ profile?: string | null;
1970
+ /**
1971
+ * The name of the Backup and DR storage pool that the backup and recovery appliance is storing data in. The storage pool could be of type Cloud, Primary, Snapshot, or OnVault. See the [Backup and DR documentation on storage pools](https://cloud.google.com/backup-disaster-recovery/docs/concepts/storage-pools). For example, `DiskPoolOne`.
1972
+ */
1973
+ storagePool?: string | null;
1974
+ }
1975
+ /**
1976
+ * Configures how to deliver Findings to BigQuery Instance.
1977
+ */
1978
+ export interface Schema$GoogleCloudSecuritycenterV2BigQueryExport {
1979
+ /**
1980
+ * Output only. The time at which the BigQuery export was created. This field is set by the server and will be ignored if provided on export on creation.
1981
+ */
1982
+ createTime?: string | null;
1983
+ /**
1984
+ * The dataset to write findings' updates to. Its format is "projects/[project_id]/datasets/[bigquery_dataset_id]". BigQuery Dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
1985
+ */
1986
+ dataset?: string | null;
1987
+ /**
1988
+ * The description of the export (max of 1024 characters).
1989
+ */
1990
+ description?: string | null;
1991
+ /**
1992
+ * Expression that defines the filter to apply across create/update events of findings. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are: * `=` for all value types. * `\>`, `<`, `\>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes.
1993
+ */
1994
+ filter?: string | null;
1995
+ /**
1996
+ * Output only. Email address of the user who last edited the BigQuery export. This field is set by the server and will be ignored if provided on export creation or update.
1997
+ */
1998
+ mostRecentEditor?: string | null;
1999
+ /**
2000
+ * The relative resource name of this export. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name. The following list shows some examples: + `organizations/{organization_id\}/locations/{location_id\}/bigQueryExports/{export_id\}` + `folders/{folder_id\}/locations/{location_id\}/bigQueryExports/{export_id\}` + `projects/{project_id\}/locations/{location_id\}/bigQueryExports/{export_id\}` This field is provided in responses, and is ignored when provided in create requests.
2001
+ */
2002
+ name?: string | null;
2003
+ /**
2004
+ * Output only. The service account that needs permission to create table and upload data to the BigQuery dataset.
2005
+ */
2006
+ principal?: string | null;
2007
+ /**
2008
+ * Output only. The most recent time at which the BigQuery export was updated. This field is set by the server and will be ignored if provided on export creation or update.
2009
+ */
2010
+ updateTime?: string | null;
2011
+ }
2012
+ /**
2013
+ * Represents a Kubernetes RoleBinding or ClusterRoleBinding.
2014
+ */
2015
+ export interface Schema$GoogleCloudSecuritycenterV2Binding {
2016
+ /**
2017
+ * Name for the binding.
2018
+ */
2019
+ name?: string | null;
2020
+ /**
2021
+ * Namespace for the binding.
2022
+ */
2023
+ ns?: string | null;
2024
+ /**
2025
+ * The Role or ClusterRole referenced by the binding.
2026
+ */
2027
+ role?: Schema$GoogleCloudSecuritycenterV2Role;
2028
+ /**
2029
+ * Represents one or more subjects that are bound to the role. Not always available for PATCH requests.
2030
+ */
2031
+ subjects?: Schema$GoogleCloudSecuritycenterV2Subject[];
2032
+ }
2033
+ /**
2034
+ * The response to a BulkMute request. Contains the LRO information.
2035
+ */
2036
+ export interface Schema$GoogleCloudSecuritycenterV2BulkMuteFindingsResponse {}
2037
+ /**
2038
+ * The [data profile](https://cloud.google.com/dlp/docs/data-profiles) associated with the finding.
2039
+ */
2040
+ export interface Schema$GoogleCloudSecuritycenterV2CloudDlpDataProfile {
2041
+ /**
2042
+ * Name of the data profile, for example, `projects/123/locations/europe/tableProfiles/8383929`.
2043
+ */
2044
+ dataProfile?: string | null;
2045
+ /**
2046
+ * The resource hierarchy level at which the data profile was generated.
2047
+ */
2048
+ parentType?: string | null;
2049
+ }
2050
+ /**
2051
+ * Details about the Cloud Data Loss Prevention (Cloud DLP) [inspection job](https://cloud.google.com/dlp/docs/concepts-job-triggers) that produced the finding.
2052
+ */
2053
+ export interface Schema$GoogleCloudSecuritycenterV2CloudDlpInspection {
2054
+ /**
2055
+ * Whether Cloud DLP scanned the complete resource or a sampled subset.
2056
+ */
2057
+ fullScan?: boolean | null;
2058
+ /**
2059
+ * The type of information (or *[infoType](https://cloud.google.com/dlp/docs/infotypes-reference)*) found, for example, `EMAIL_ADDRESS` or `STREET_ADDRESS`.
2060
+ */
2061
+ infoType?: string | null;
2062
+ /**
2063
+ * The number of times Cloud DLP found this infoType within this job and resource.
2064
+ */
2065
+ infoTypeCount?: string | null;
2066
+ /**
2067
+ * Name of the inspection job, for example, `projects/123/locations/europe/dlpJobs/i-8383929`.
2068
+ */
2069
+ inspectJob?: string | null;
2070
+ }
2071
+ /**
2072
+ * Metadata taken from a [Cloud Logging LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry)
2073
+ */
2074
+ export interface Schema$GoogleCloudSecuritycenterV2CloudLoggingEntry {
2075
+ /**
2076
+ * A unique identifier for the log entry.
2077
+ */
2078
+ insertId?: string | null;
2079
+ /**
2080
+ * The type of the log (part of `log_name`. `log_name` is the resource name of the log to which this log entry belongs). For example: `cloudresourcemanager.googleapis.com/activity` Note that this field is not URL-encoded, unlike in `LogEntry`.
2081
+ */
2082
+ logId?: string | null;
2083
+ /**
2084
+ * The organization, folder, or project of the monitored resource that produced this log entry.
2085
+ */
2086
+ resourceContainer?: string | null;
2087
+ /**
2088
+ * The time the event described by the log entry occurred.
2089
+ */
2090
+ timestamp?: string | null;
2091
+ }
2092
+ /**
2093
+ * Contains compliance information about a security standard indicating unmet recommendations.
2094
+ */
2095
+ export interface Schema$GoogleCloudSecuritycenterV2Compliance {
2096
+ /**
2097
+ * Policies within the standard or benchmark, for example, A.12.4.1
2098
+ */
2099
+ ids?: string[] | null;
2100
+ /**
2101
+ * Industry-wide compliance standards or benchmarks, such as CIS, PCI, and OWASP.
2102
+ */
2103
+ standard?: string | null;
2104
+ /**
2105
+ * Version of the standard or benchmark, for example, 1.1
2106
+ */
2107
+ version?: string | null;
2108
+ }
2109
+ /**
2110
+ * Contains information about the IP connection associated with the finding.
2111
+ */
2112
+ export interface Schema$GoogleCloudSecuritycenterV2Connection {
2113
+ /**
2114
+ * Destination IP address. Not present for sockets that are listening and not connected.
2115
+ */
2116
+ destinationIp?: string | null;
2117
+ /**
2118
+ * Destination port. Not present for sockets that are listening and not connected.
2119
+ */
2120
+ destinationPort?: number | null;
2121
+ /**
2122
+ * IANA Internet Protocol Number such as TCP(6) and UDP(17).
2123
+ */
2124
+ protocol?: string | null;
2125
+ /**
2126
+ * Source IP address.
2127
+ */
2128
+ sourceIp?: string | null;
2129
+ /**
2130
+ * Source port.
2131
+ */
2132
+ sourcePort?: number | null;
2133
+ }
2134
+ /**
2135
+ * The email address of a contact.
2136
+ */
2137
+ export interface Schema$GoogleCloudSecuritycenterV2Contact {
2138
+ /**
2139
+ * An email address. For example, "`person123@company.com`".
2140
+ */
2141
+ email?: string | null;
2142
+ }
2143
+ /**
2144
+ * Details about specific contacts
2145
+ */
2146
+ export interface Schema$GoogleCloudSecuritycenterV2ContactDetails {
2147
+ /**
2148
+ * A list of contacts
2149
+ */
2150
+ contacts?: Schema$GoogleCloudSecuritycenterV2Contact[];
2151
+ }
2152
+ /**
2153
+ * Container associated with the finding.
2154
+ */
2155
+ export interface Schema$GoogleCloudSecuritycenterV2Container {
2156
+ /**
2157
+ * The time that the container was created.
2158
+ */
2159
+ createTime?: string | null;
2160
+ /**
2161
+ * Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest.
2162
+ */
2163
+ imageId?: string | null;
2164
+ /**
2165
+ * Container labels, as provided by the container runtime.
2166
+ */
2167
+ labels?: Schema$GoogleCloudSecuritycenterV2Label[];
2168
+ /**
2169
+ * Name of the container.
2170
+ */
2171
+ name?: string | null;
2172
+ /**
2173
+ * Container image URI provided when configuring a pod or container. This string can identify a container image version using mutable tags.
2174
+ */
2175
+ uri?: string | null;
2176
+ }
2177
+ /**
2178
+ * CVE stands for Common Vulnerabilities and Exposures. Information from the [CVE record](https://www.cve.org/ResourcesSupport/Glossary) that describes this vulnerability.
2179
+ */
2180
+ export interface Schema$GoogleCloudSecuritycenterV2Cve {
2181
+ /**
2182
+ * Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document
2183
+ */
2184
+ cvssv3?: Schema$GoogleCloudSecuritycenterV2Cvssv3;
2185
+ /**
2186
+ * The exploitation activity of the vulnerability in the wild.
2187
+ */
2188
+ exploitationActivity?: string | null;
2189
+ /**
2190
+ * The unique identifier for the vulnerability. e.g. CVE-2021-34527
2191
+ */
2192
+ id?: string | null;
2193
+ /**
2194
+ * The potential impact of the vulnerability if it was to be exploited.
2195
+ */
2196
+ impact?: string | null;
2197
+ /**
2198
+ * Whether or not the vulnerability has been observed in the wild.
2199
+ */
2200
+ observedInTheWild?: boolean | null;
2201
+ /**
2202
+ * Additional information about the CVE. e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
2203
+ */
2204
+ references?: Schema$GoogleCloudSecuritycenterV2Reference[];
2205
+ /**
2206
+ * Whether upstream fix is available for the CVE.
2207
+ */
2208
+ upstreamFixAvailable?: boolean | null;
2209
+ /**
2210
+ * Whether or not the vulnerability was zero day when the finding was published.
2211
+ */
2212
+ zeroDay?: boolean | null;
2213
+ }
2214
+ /**
2215
+ * Common Vulnerability Scoring System version 3.
2216
+ */
2217
+ export interface Schema$GoogleCloudSecuritycenterV2Cvssv3 {
2218
+ /**
2219
+ * This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.
2220
+ */
2221
+ attackComplexity?: string | null;
2222
+ /**
2223
+ * Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. This metric reflects the context by which vulnerability exploitation is possible.
2224
+ */
2225
+ attackVector?: string | null;
2226
+ /**
2227
+ * This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.
2228
+ */
2229
+ availabilityImpact?: string | null;
2230
+ /**
2231
+ * The base score is a function of the base metric scores.
2232
+ */
2233
+ baseScore?: number | null;
2234
+ /**
2235
+ * This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.
2236
+ */
2237
+ confidentialityImpact?: string | null;
2238
+ /**
2239
+ * This metric measures the impact to integrity of a successfully exploited vulnerability.
2240
+ */
2241
+ integrityImpact?: string | null;
2242
+ /**
2243
+ * This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.
2244
+ */
2245
+ privilegesRequired?: string | null;
2246
+ /**
2247
+ * The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.
2248
+ */
2249
+ scope?: string | null;
2250
+ /**
2251
+ * This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component.
2252
+ */
2253
+ userInteraction?: string | null;
2254
+ }
2255
+ /**
2256
+ * Represents database access information, such as queries. A database may be a sub-resource of an instance (as in the case of Cloud SQL instances or Cloud Spanner instances), or the database instance itself. Some database resources might not have the [full resource name](https://google.aip.dev/122#full-resource-names) populated because these resource types, such as Cloud SQL databases, are not yet supported by Cloud Asset Inventory. In these cases only the display name is provided.
2257
+ */
2258
+ export interface Schema$GoogleCloudSecuritycenterV2Database {
2259
+ /**
2260
+ * The human-readable name of the database that the user connected to.
2261
+ */
2262
+ displayName?: string | null;
2263
+ /**
2264
+ * The target usernames, roles, or groups of an SQL privilege grant, which is not an IAM policy change.
2265
+ */
2266
+ grantees?: string[] | null;
2267
+ /**
2268
+ * Some database resources may not have the [full resource name](https://google.aip.dev/122#full-resource-names) populated because these resource types are not yet supported by Cloud Asset Inventory (e.g. Cloud SQL databases). In these cases only the display name will be provided. The [full resource name](https://google.aip.dev/122#full-resource-names) of the database that the user connected to, if it is supported by Cloud Asset Inventory.
2269
+ */
2270
+ name?: string | null;
2271
+ /**
2272
+ * The SQL statement that is associated with the database access.
2273
+ */
2274
+ query?: string | null;
2275
+ /**
2276
+ * The username used to connect to the database. The username might not be an IAM principal and does not have a set format.
2277
+ */
2278
+ userName?: string | null;
2279
+ /**
2280
+ * The version of the database, for example, POSTGRES_14. See [the complete list](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1/SqlDatabaseVersion).
2281
+ */
2282
+ version?: string | null;
2283
+ }
2284
+ /**
2285
+ * Memory hash detection contributing to the binary family match.
2286
+ */
2287
+ export interface Schema$GoogleCloudSecuritycenterV2Detection {
2288
+ /**
2289
+ * The name of the binary associated with the memory hash signature detection.
2290
+ */
2291
+ binary?: string | null;
2292
+ /**
2293
+ * The percentage of memory page hashes in the signature that were matched.
2294
+ */
2295
+ percentPagesMatched?: number | null;
2296
+ }
2297
+ /**
2298
+ * Path of the file in terms of underlying disk/partition identifiers.
2299
+ */
2300
+ export interface Schema$GoogleCloudSecuritycenterV2DiskPath {
2301
+ /**
2302
+ * UUID of the partition (format https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid)
2303
+ */
2304
+ partitionUuid?: string | null;
2305
+ /**
2306
+ * Relative path of the file in the partition as a JSON encoded string. Example: /home/user1/executable_file.sh
2307
+ */
2308
+ relativePath?: string | null;
2309
+ }
2310
+ /**
2311
+ * A name-value pair representing an environment variable used in an operating system process.
2312
+ */
2313
+ export interface Schema$GoogleCloudSecuritycenterV2EnvironmentVariable {
2314
+ /**
2315
+ * Environment variable name as a JSON encoded string.
2316
+ */
2317
+ name?: string | null;
2318
+ /**
2319
+ * Environment variable value as a JSON encoded string.
2320
+ */
2321
+ val?: string | null;
2322
+ }
2323
+ /**
2324
+ * Resource where data was exfiltrated from or exfiltrated to.
2325
+ */
2326
+ export interface Schema$GoogleCloudSecuritycenterV2ExfilResource {
2327
+ /**
2328
+ * Subcomponents of the asset that was exfiltrated, like URIs used during exfiltration, table names, databases, and filenames. For example, multiple tables might have been exfiltrated from the same Cloud SQL instance, or multiple files might have been exfiltrated from the same Cloud Storage bucket.
2329
+ */
2330
+ components?: string[] | null;
2331
+ /**
2332
+ * The resource's [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name).
2333
+ */
2334
+ name?: string | null;
2335
+ }
2336
+ /**
2337
+ * Exfiltration represents a data exfiltration attempt from one or more sources to one or more targets. The `sources` attribute lists the sources of the exfiltrated data. The `targets` attribute lists the destinations the data was copied to.
2338
+ */
2339
+ export interface Schema$GoogleCloudSecuritycenterV2Exfiltration {
2340
+ /**
2341
+ * If there are multiple sources, then the data is considered "joined" between them. For instance, BigQuery can join multiple tables, and each table would be considered a source.
2342
+ */
2343
+ sources?: Schema$GoogleCloudSecuritycenterV2ExfilResource[];
2344
+ /**
2345
+ * If there are multiple targets, each target would get a complete copy of the "joined" source data.
2346
+ */
2347
+ targets?: Schema$GoogleCloudSecuritycenterV2ExfilResource[];
2348
+ /**
2349
+ * Total exfiltrated bytes processed for the entire job.
2350
+ */
2351
+ totalExfiltratedBytes?: string | null;
2352
+ }
2353
+ /**
2354
+ * Representation of third party SIEM/SOAR fields within SCC.
2355
+ */
2356
+ export interface Schema$GoogleCloudSecuritycenterV2ExternalSystem {
2357
+ /**
2358
+ * References primary/secondary etc assignees in the external system.
2359
+ */
2360
+ assignees?: string[] | null;
2361
+ /**
2362
+ * The time when the case was closed, as reported by the external system.
2363
+ */
2364
+ caseCloseTime?: string | null;
2365
+ /**
2366
+ * The time when the case was created, as reported by the external system.
2367
+ */
2368
+ caseCreateTime?: string | null;
2369
+ /**
2370
+ * The priority of the finding's corresponding case in the external system.
2371
+ */
2372
+ casePriority?: string | null;
2373
+ /**
2374
+ * The SLA of the finding's corresponding case in the external system.
2375
+ */
2376
+ caseSla?: string | null;
2377
+ /**
2378
+ * The link to the finding's corresponding case in the external system.
2379
+ */
2380
+ caseUri?: string | null;
2381
+ /**
2382
+ * The time when the case was last updated, as reported by the external system.
2383
+ */
2384
+ externalSystemUpdateTime?: string | null;
2385
+ /**
2386
+ * The identifier that's used to track the finding's corresponding case in the external system.
2387
+ */
2388
+ externalUid?: string | null;
2389
+ /**
2390
+ * Full resource name of the external system. The following list shows some examples: + `organizations/1234/sources/5678/findings/123456/externalSystems/jira` + `organizations/1234/sources/5678/locations/us/findings/123456/externalSystems/jira` + `folders/1234/sources/5678/findings/123456/externalSystems/jira` + `folders/1234/sources/5678/locations/us/findings/123456/externalSystems/jira` + `projects/1234/sources/5678/findings/123456/externalSystems/jira` + `projects/1234/sources/5678/locations/us/findings/123456/externalSystems/jira`
2391
+ */
2392
+ name?: string | null;
2393
+ /**
2394
+ * The most recent status of the finding's corresponding case, as reported by the external system.
2395
+ */
2396
+ status?: string | null;
2397
+ /**
2398
+ * Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding.
2399
+ */
2400
+ ticketInfo?: Schema$GoogleCloudSecuritycenterV2TicketInfo;
2401
+ }
2402
+ /**
2403
+ * File information about the related binary/library used by an executable, or the script used by a script interpreter
2404
+ */
2405
+ export interface Schema$GoogleCloudSecuritycenterV2File {
2406
+ /**
2407
+ * Prefix of the file contents as a JSON-encoded string.
2408
+ */
2409
+ contents?: string | null;
2410
+ /**
2411
+ * Path of the file in terms of underlying disk/partition identifiers.
2412
+ */
2413
+ diskPath?: Schema$GoogleCloudSecuritycenterV2DiskPath;
2414
+ /**
2415
+ * The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
2416
+ */
2417
+ hashedSize?: string | null;
2418
+ /**
2419
+ * True when the hash covers only a prefix of the file.
2420
+ */
2421
+ partiallyHashed?: boolean | null;
2422
+ /**
2423
+ * Absolute path of the file as a JSON encoded string.
2424
+ */
2425
+ path?: string | null;
2426
+ /**
2427
+ * SHA256 hash of the first hashed_size bytes of the file encoded as a hex string. If hashed_size == size, sha256 represents the SHA256 hash of the entire file.
2428
+ */
2429
+ sha256?: string | null;
2430
+ /**
2431
+ * Size of the file in bytes.
2432
+ */
2433
+ size?: string | null;
2434
+ }
2435
+ /**
2436
+ * Security Command Center finding. A finding is a record of assessment data like security, risk, health, or privacy, that is ingested into Security Command Center for presentation, notification, analysis, policy testing, and enforcement. For example, a cross-site scripting (XSS) vulnerability in an App Engine application is a finding.
2437
+ */
2438
+ export interface Schema$GoogleCloudSecuritycenterV2Finding {
2439
+ /**
2440
+ * Access details associated with the finding, such as more information on the caller, which method was accessed, and from where.
2441
+ */
2442
+ access?: Schema$GoogleCloudSecuritycenterV2Access;
2443
+ /**
2444
+ * Represents an application associated with the finding.
2445
+ */
2446
+ application?: Schema$GoogleCloudSecuritycenterV2Application;
2447
+ /**
2448
+ * The results of an attack path simulation relevant to this finding.
2449
+ */
2450
+ attackExposure?: Schema$GoogleCloudSecuritycenterV2AttackExposure;
2451
+ /**
2452
+ * Fields related to Backup and DR findings.
2453
+ */
2454
+ backupDisasterRecovery?: Schema$GoogleCloudSecuritycenterV2BackupDisasterRecovery;
2455
+ /**
2456
+ * Output only. The canonical name of the finding. The following list shows some examples: + `organizations/{organization_id\}/sources/{source_id\}/findings/{finding_id\}` + `organizations/{organization_id\}/sources/{source_id\}/locations/{location_id\}/findings/{finding_id\}` + `folders/{folder_id\}/sources/{source_id\}/findings/{finding_id\}` + `folders/{folder_id\}/sources/{source_id\}/locations/{location_id\}/findings/{finding_id\}` + `projects/{project_id\}/sources/{source_id\}/findings/{finding_id\}` + `projects/{project_id\}/sources/{source_id\}/locations/{location_id\}/findings/{finding_id\}` The prefix is the closest CRM ancestor of the resource associated with the finding.
2457
+ */
2458
+ canonicalName?: string | null;
2459
+ /**
2460
+ * Immutable. The additional taxonomy group within findings from a given source. Example: "XSS_FLASH_INJECTION"
2461
+ */
2462
+ category?: string | null;
2463
+ /**
2464
+ * Cloud DLP data profile that is associated with the finding.
2465
+ */
2466
+ cloudDlpDataProfile?: Schema$GoogleCloudSecuritycenterV2CloudDlpDataProfile;
2467
+ /**
2468
+ * Cloud Data Loss Prevention (Cloud DLP) inspection results that are associated with the finding.
2469
+ */
2470
+ cloudDlpInspection?: Schema$GoogleCloudSecuritycenterV2CloudDlpInspection;
2471
+ /**
2472
+ * Contains compliance information for security standards associated to the finding.
2473
+ */
2474
+ compliances?: Schema$GoogleCloudSecuritycenterV2Compliance[];
2475
+ /**
2476
+ * Contains information about the IP connection associated with the finding.
2477
+ */
2478
+ connections?: Schema$GoogleCloudSecuritycenterV2Connection[];
2479
+ /**
2480
+ * Output only. Map containing the points of contact for the given finding. The key represents the type of contact, while the value contains a list of all the contacts that pertain. Please refer to: https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories { "security": { "contacts": [ { "email": "person1@company.com" \}, { "email": "person2@company.com" \} ] \} \}
2481
+ */
2482
+ contacts?: {
2483
+ [key: string]: Schema$GoogleCloudSecuritycenterV2ContactDetails;
2484
+ } | null;
2485
+ /**
2486
+ * Containers associated with the finding. This field provides information for both Kubernetes and non-Kubernetes containers.
2487
+ */
2488
+ containers?: Schema$GoogleCloudSecuritycenterV2Container[];
2489
+ /**
2490
+ * Output only. The time at which the finding was created in Security Command Center.
2491
+ */
2492
+ createTime?: string | null;
2493
+ /**
2494
+ * Database associated with the finding.
2495
+ */
2496
+ database?: Schema$GoogleCloudSecuritycenterV2Database;
2497
+ /**
2498
+ * Contains more details about the finding.
2499
+ */
2500
+ description?: string | null;
2501
+ /**
2502
+ * The time the finding was first detected. If an existing finding is updated, then this is the time the update occurred. For example, if the finding represents an open firewall, this property captures the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding is later resolved, then this time reflects when the finding was resolved. This must not be set to a value greater than the current timestamp.
2503
+ */
2504
+ eventTime?: string | null;
2505
+ /**
2506
+ * Represents exfiltrations associated with the finding.
2507
+ */
2508
+ exfiltration?: Schema$GoogleCloudSecuritycenterV2Exfiltration;
2509
+ /**
2510
+ * Output only. Third party SIEM/SOAR fields within SCC, contains external system information and external system finding fields.
2511
+ */
2512
+ externalSystems?: {
2513
+ [key: string]: Schema$GoogleCloudSecuritycenterV2ExternalSystem;
2514
+ } | null;
2515
+ /**
2516
+ * The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found. This field is guaranteed to be either empty or a well formed URL.
2517
+ */
2518
+ externalUri?: string | null;
2519
+ /**
2520
+ * File associated with the finding.
2521
+ */
2522
+ files?: Schema$GoogleCloudSecuritycenterV2File[];
2523
+ /**
2524
+ * The class of the finding.
2525
+ */
2526
+ findingClass?: string | null;
2527
+ /**
2528
+ * Represents IAM bindings associated with the finding.
2529
+ */
2530
+ iamBindings?: Schema$GoogleCloudSecuritycenterV2IamBinding[];
2531
+ /**
2532
+ * Represents what's commonly known as an *indicator of compromise* (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. For more information, see [Indicator of compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise).
2533
+ */
2534
+ indicator?: Schema$GoogleCloudSecuritycenterV2Indicator;
2535
+ /**
2536
+ * Signature of the kernel rootkit.
2537
+ */
2538
+ kernelRootkit?: Schema$GoogleCloudSecuritycenterV2KernelRootkit;
2539
+ /**
2540
+ * Kubernetes resources associated with the finding.
2541
+ */
2542
+ kubernetes?: Schema$GoogleCloudSecuritycenterV2Kubernetes;
2543
+ /**
2544
+ * The load balancers associated with the finding.
2545
+ */
2546
+ loadBalancers?: Schema$GoogleCloudSecuritycenterV2LoadBalancer[];
2547
+ /**
2548
+ * Log entries that are relevant to the finding.
2549
+ */
2550
+ logEntries?: Schema$GoogleCloudSecuritycenterV2LogEntry[];
2551
+ /**
2552
+ * MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org
2553
+ */
2554
+ mitreAttack?: Schema$GoogleCloudSecuritycenterV2MitreAttack;
2555
+ /**
2556
+ * Unique identifier of the module which generated the finding. Example: folders/598186756061/securityHealthAnalyticsSettings/customModules/56799441161885
2557
+ */
2558
+ moduleName?: string | null;
2559
+ /**
2560
+ * Indicates the mute state of a finding (either muted, unmuted or undefined). Unlike other attributes of a finding, a finding provider shouldn't set the value of mute.
2561
+ */
2562
+ mute?: string | null;
2563
+ /**
2564
+ * Records additional information about the mute operation, for example, the [mute configuration](https://cloud.google.com/security-command-center/docs/how-to-mute-findings) that muted the finding and the user who muted the finding.
2565
+ */
2566
+ muteInitiator?: string | null;
2567
+ /**
2568
+ * Output only. The most recent time this finding was muted or unmuted.
2569
+ */
2570
+ muteUpdateTime?: string | null;
2571
+ /**
2572
+ * The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. The following list shows some examples: + `organizations/{organization_id\}/sources/{source_id\}/findings/{finding_id\}` + `organizations/{organization_id\}/sources/{source_id\}/locations/{location_id\}/findings/{finding_id\}` + `folders/{folder_id\}/sources/{source_id\}/findings/{finding_id\}` + `folders/{folder_id\}/sources/{source_id\}/locations/{location_id\}/findings/{finding_id\}` + `projects/{project_id\}/sources/{source_id\}/findings/{finding_id\}` + `projects/{project_id\}/sources/{source_id\}/locations/{location_id\}/findings/{finding_id\}`
2573
+ */
2574
+ name?: string | null;
2575
+ /**
2576
+ * Steps to address the finding.
2577
+ */
2578
+ nextSteps?: string | null;
2579
+ /**
2580
+ * Contains information about the org policies associated with the finding.
2581
+ */
2582
+ orgPolicies?: Schema$GoogleCloudSecuritycenterV2OrgPolicy[];
2583
+ /**
2584
+ * The relative resource name of the source and location the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. The following list shows some examples: + `organizations/{organization_id\}/sources/{source_id\}` + `folders/{folders_id\}/sources/{source_id\}` + `projects/{projects_id\}/sources/{source_id\}` + `organizations/{organization_id\}/sources/{source_id\}/locations/{location_id\}` + `folders/{folders_id\}/sources/{source_id\}/locations/{location_id\}` + `projects/{projects_id\}/sources/{source_id\}/locations/{location_id\}`
2585
+ */
2586
+ parent?: string | null;
2587
+ /**
2588
+ * Output only. The human readable display name of the finding source such as "Event Threat Detection" or "Security Health Analytics".
2589
+ */
2590
+ parentDisplayName?: string | null;
2591
+ /**
2592
+ * Represents operating system processes associated with the Finding.
2593
+ */
2594
+ processes?: Schema$GoogleCloudSecuritycenterV2Process[];
2595
+ /**
2596
+ * Immutable. For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string.
2597
+ */
2598
+ resourceName?: string | null;
2599
+ /**
2600
+ * Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.
2601
+ */
2602
+ securityMarks?: Schema$GoogleCloudSecuritycenterV2SecurityMarks;
2603
+ /**
2604
+ * The security posture associated with the finding.
2605
+ */
2606
+ securityPosture?: Schema$GoogleCloudSecuritycenterV2SecurityPosture;
2607
+ /**
2608
+ * The severity of the finding. This field is managed by the source that writes the finding.
2609
+ */
2610
+ severity?: string | null;
2611
+ /**
2612
+ * Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.
2613
+ */
2614
+ sourceProperties?: {[key: string]: any} | null;
2615
+ /**
2616
+ * Output only. The state of the finding.
2617
+ */
2618
+ state?: string | null;
2619
+ /**
2620
+ * Represents vulnerability-specific fields like CVE and CVSS scores. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
2621
+ */
2622
+ vulnerability?: Schema$GoogleCloudSecuritycenterV2Vulnerability;
2623
+ }
2624
+ /**
2625
+ * Represents a geographical location for a given access.
2626
+ */
2627
+ export interface Schema$GoogleCloudSecuritycenterV2Geolocation {
2628
+ /**
2629
+ * A CLDR.
2630
+ */
2631
+ regionCode?: string | null;
2632
+ }
2633
+ /**
2634
+ * Represents a particular IAM binding, which captures a member's role addition, removal, or state.
2635
+ */
2636
+ export interface Schema$GoogleCloudSecuritycenterV2IamBinding {
2637
+ /**
2638
+ * The action that was performed on a Binding.
2639
+ */
2640
+ action?: string | null;
2641
+ /**
2642
+ * A single identity requesting access for a Cloud Platform resource, for example, "foo@google.com".
2643
+ */
2644
+ member?: string | null;
2645
+ /**
2646
+ * Role that is assigned to "members". For example, "roles/viewer", "roles/editor", or "roles/owner".
2647
+ */
2648
+ role?: string | null;
2649
+ }
2650
+ /**
2651
+ * Represents what's commonly known as an _indicator of compromise_ (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. For more information, see [Indicator of compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise).
2652
+ */
2653
+ export interface Schema$GoogleCloudSecuritycenterV2Indicator {
2654
+ /**
2655
+ * List of domains associated to the Finding.
2656
+ */
2657
+ domains?: string[] | null;
2658
+ /**
2659
+ * The list of IP addresses that are associated with the finding.
2660
+ */
2661
+ ipAddresses?: string[] | null;
2662
+ /**
2663
+ * The list of matched signatures indicating that the given process is present in the environment.
2664
+ */
2665
+ signatures?: Schema$GoogleCloudSecuritycenterV2ProcessSignature[];
2666
+ /**
2667
+ * The list of URIs associated to the Findings.
2668
+ */
2669
+ uris?: string[] | null;
2670
+ }
2671
+ /**
2672
+ * Kernel mode rootkit signatures.
2673
+ */
2674
+ export interface Schema$GoogleCloudSecuritycenterV2KernelRootkit {
2675
+ /**
2676
+ * Rootkit name, when available.
2677
+ */
2678
+ name?: string | null;
2679
+ /**
2680
+ * True if unexpected modifications of kernel code memory are present.
2681
+ */
2682
+ unexpectedCodeModification?: boolean | null;
2683
+ /**
2684
+ * True if `ftrace` points are present with callbacks pointing to regions that are not in the expected kernel or module code range.
2685
+ */
2686
+ unexpectedFtraceHandler?: boolean | null;
2687
+ /**
2688
+ * True if interrupt handlers that are are not in the expected kernel or module code regions are present.
2689
+ */
2690
+ unexpectedInterruptHandler?: boolean | null;
2691
+ /**
2692
+ * True if kernel code pages that are not in the expected kernel or module code regions are present.
2693
+ */
2694
+ unexpectedKernelCodePages?: boolean | null;
2695
+ /**
2696
+ * True if `kprobe` points are present with callbacks pointing to regions that are not in the expected kernel or module code range.
2697
+ */
2698
+ unexpectedKprobeHandler?: boolean | null;
2699
+ /**
2700
+ * True if unexpected processes in the scheduler run queue are present. Such processes are in the run queue, but not in the process task list.
2701
+ */
2702
+ unexpectedProcessesInRunqueue?: boolean | null;
2703
+ /**
2704
+ * True if unexpected modifications of kernel read-only data memory are present.
2705
+ */
2706
+ unexpectedReadOnlyDataModification?: boolean | null;
2707
+ /**
2708
+ * True if system call handlers that are are not in the expected kernel or module code regions are present.
2709
+ */
2710
+ unexpectedSystemCallHandler?: boolean | null;
2711
+ }
2712
+ /**
2713
+ * Kubernetes-related attributes.
2714
+ */
2715
+ export interface Schema$GoogleCloudSecuritycenterV2Kubernetes {
2716
+ /**
2717
+ * Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.
2718
+ */
2719
+ accessReviews?: Schema$GoogleCloudSecuritycenterV2AccessReview[];
2720
+ /**
2721
+ * Provides Kubernetes role binding information for findings that involve [RoleBindings or ClusterRoleBindings](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control).
2722
+ */
2723
+ bindings?: Schema$GoogleCloudSecuritycenterV2Binding[];
2724
+ /**
2725
+ * GKE [node pools](https://cloud.google.com/kubernetes-engine/docs/concepts/node-pools) associated with the finding. This field contains node pool information for each node, when it is available.
2726
+ */
2727
+ nodePools?: Schema$GoogleCloudSecuritycenterV2NodePool[];
2728
+ /**
2729
+ * Provides Kubernetes [node](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture#nodes) information.
2730
+ */
2731
+ nodes?: Schema$GoogleCloudSecuritycenterV2Node[];
2732
+ /**
2733
+ * Kubernetes objects related to the finding.
2734
+ */
2735
+ objects?: Schema$GoogleCloudSecuritycenterV2Object[];
2736
+ /**
2737
+ * Kubernetes [Pods](https://cloud.google.com/kubernetes-engine/docs/concepts/pod) associated with the finding. This field contains Pod records for each container that is owned by a Pod.
2738
+ */
2739
+ pods?: Schema$GoogleCloudSecuritycenterV2Pod[];
2740
+ /**
2741
+ * Provides Kubernetes role information for findings that involve [Roles or ClusterRoles](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control).
2742
+ */
2743
+ roles?: Schema$GoogleCloudSecuritycenterV2Role[];
2744
+ }
2745
+ /**
2746
+ * Represents a generic name-value label. A label has separate name and value fields to support filtering with the `contains()` function. For more information, see [Filtering on array-type fields](https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering).
2747
+ */
2748
+ export interface Schema$GoogleCloudSecuritycenterV2Label {
2749
+ /**
2750
+ * Name of the label.
2751
+ */
2752
+ name?: string | null;
2753
+ /**
2754
+ * Value that corresponds to the label's name.
2755
+ */
2756
+ value?: string | null;
2757
+ }
2758
+ /**
2759
+ * Contains information related to the load balancer associated with the finding.
2760
+ */
2761
+ export interface Schema$GoogleCloudSecuritycenterV2LoadBalancer {
2762
+ /**
2763
+ * The name of the load balancer associated with the finding.
2764
+ */
2765
+ name?: string | null;
2766
+ }
2767
+ /**
2768
+ * An individual entry in a log.
2769
+ */
2770
+ export interface Schema$GoogleCloudSecuritycenterV2LogEntry {
2771
+ /**
2772
+ * An individual entry in a log stored in Cloud Logging.
2773
+ */
2774
+ cloudLoggingEntry?: Schema$GoogleCloudSecuritycenterV2CloudLoggingEntry;
2775
+ }
2776
+ /**
2777
+ * A signature corresponding to memory page hashes.
2778
+ */
2779
+ export interface Schema$GoogleCloudSecuritycenterV2MemoryHashSignature {
2780
+ /**
2781
+ * The binary family.
2782
+ */
2783
+ binaryFamily?: string | null;
2784
+ /**
2785
+ * The list of memory hash detections contributing to the binary family match.
2786
+ */
2787
+ detections?: Schema$GoogleCloudSecuritycenterV2Detection[];
2788
+ }
2789
+ /**
2790
+ * MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org
2791
+ */
2792
+ export interface Schema$GoogleCloudSecuritycenterV2MitreAttack {
2793
+ /**
2794
+ * Additional MITRE ATT&CK tactics related to this finding, if any.
2795
+ */
2796
+ additionalTactics?: string[] | null;
2797
+ /**
2798
+ * Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.
2799
+ */
2800
+ additionalTechniques?: string[] | null;
2801
+ /**
2802
+ * The MITRE ATT&CK tactic most closely represented by this finding, if any.
2803
+ */
2804
+ primaryTactic?: string | null;
2805
+ /**
2806
+ * The MITRE ATT&CK technique most closely represented by this finding, if any. primary_techniques is a repeated field because there are multiple levels of MITRE ATT&CK techniques. If the technique most closely represented by this finding is a sub-technique (e.g. `SCANNING_IP_BLOCKS`), both the sub-technique and its parent technique(s) will be listed (e.g. `SCANNING_IP_BLOCKS`, `ACTIVE_SCANNING`).
2807
+ */
2808
+ primaryTechniques?: string[] | null;
2809
+ /**
2810
+ * The MITRE ATT&CK version referenced by the above fields. E.g. "8".
2811
+ */
2812
+ version?: string | null;
2813
+ }
2814
+ /**
2815
+ * A mute config is a Cloud SCC resource that contains the configuration to mute create/update events of findings.
2816
+ */
2817
+ export interface Schema$GoogleCloudSecuritycenterV2MuteConfig {
2818
+ /**
2819
+ * Output only. The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.
2820
+ */
2821
+ createTime?: string | null;
2822
+ /**
2823
+ * A description of the mute config.
2824
+ */
2825
+ description?: string | null;
2826
+ /**
2827
+ * Required. An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings. The following field and operator combinations are supported: * severity: `=`, `:` * category: `=`, `:` * resource.name: `=`, `:` * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.folders.resource_folder: `=`, `:` * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * resource.type: `=`, `:` * finding_class: `=`, `:` * indicator.ip_addresses: `=`, `:` * indicator.domains: `=`, `:`
2828
+ */
2829
+ filter?: string | null;
2830
+ /**
2831
+ * Output only. Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update.
2832
+ */
2833
+ mostRecentEditor?: string | null;
2834
+ /**
2835
+ * This field will be ignored if provided on config creation. The following list shows some examples of the format: + `organizations/{organization\}/muteConfigs/{mute_config\}` + `organizations/{organization\}locations/{location\}//muteConfigs/{mute_config\}` + `folders/{folder\}/muteConfigs/{mute_config\}` + `folders/{folder\}/locations/{location\}/muteConfigs/{mute_config\}` + `projects/{project\}/muteConfigs/{mute_config\}` + `projects/{project\}/locations/{location\}/muteConfigs/{mute_config\}`
2836
+ */
2837
+ name?: string | null;
2838
+ /**
2839
+ * Required. The type of the mute config, which determines what type of mute state the config affects. Immutable after creation.
2840
+ */
2841
+ type?: string | null;
2842
+ /**
2843
+ * Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.
2844
+ */
2845
+ updateTime?: string | null;
2846
+ }
2847
+ /**
2848
+ * Kubernetes nodes associated with the finding.
2849
+ */
2850
+ export interface Schema$GoogleCloudSecuritycenterV2Node {
2851
+ /**
2852
+ * [Full resource name](https://google.aip.dev/122#full-resource-names) of the Compute Engine VM running the cluster node.
2853
+ */
2854
+ name?: string | null;
2855
+ }
2856
+ /**
2857
+ * Provides GKE node pool information.
2858
+ */
2859
+ export interface Schema$GoogleCloudSecuritycenterV2NodePool {
2860
+ /**
2861
+ * Kubernetes node pool name.
2862
+ */
2863
+ name?: string | null;
2864
+ /**
2865
+ * Nodes associated with the finding.
2866
+ */
2867
+ nodes?: Schema$GoogleCloudSecuritycenterV2Node[];
2868
+ }
2869
+ /**
2870
+ * Cloud SCC's Notification
2871
+ */
2872
+ export interface Schema$GoogleCloudSecuritycenterV2NotificationMessage {
2873
+ /**
2874
+ * If it's a Finding based notification config, this field will be populated.
2875
+ */
2876
+ finding?: Schema$GoogleCloudSecuritycenterV2Finding;
2877
+ /**
2878
+ * Name of the notification config that generated current notification.
2879
+ */
2880
+ notificationConfigName?: string | null;
2881
+ /**
2882
+ * The Cloud resource tied to this notification's Finding.
2883
+ */
2884
+ resource?: Schema$GoogleCloudSecuritycenterV2Resource;
2885
+ }
2886
+ /**
2887
+ * Kubernetes object related to the finding, uniquely identified by GKNN. Used if the object Kind is not one of Pod, Node, NodePool, Binding, or AccessReview.
2888
+ */
2889
+ export interface Schema$GoogleCloudSecuritycenterV2Object {
2890
+ /**
2891
+ * Pod containers associated with this finding, if any.
2892
+ */
2893
+ containers?: Schema$GoogleCloudSecuritycenterV2Container[];
2894
+ /**
2895
+ * Kubernetes object group, such as "policy.k8s.io/v1".
2896
+ */
2897
+ group?: string | null;
2898
+ /**
2899
+ * Kubernetes object kind, such as "Namespace".
2900
+ */
2901
+ kind?: string | null;
2902
+ /**
2903
+ * Kubernetes object name. For details see https://kubernetes.io/docs/concepts/overview/working-with-objects/names/.
2904
+ */
2905
+ name?: string | null;
2906
+ /**
2907
+ * Kubernetes object namespace. Must be a valid DNS label. Named "ns" to avoid collision with C++ namespace keyword. For details see https://kubernetes.io/docs/tasks/administer-cluster/namespaces/.
2908
+ */
2909
+ ns?: string | null;
2910
+ }
2911
+ /**
2912
+ * Contains information about the org policies associated with the finding.
2913
+ */
2914
+ export interface Schema$GoogleCloudSecuritycenterV2OrgPolicy {
2915
+ /**
2916
+ * The resource name of the org policy. Example: "organizations/{organization_id\}/policies/{constraint_name\}"
2917
+ */
2918
+ name?: string | null;
2919
+ }
2920
+ /**
2921
+ * Package is a generic definition of a package.
2922
+ */
2923
+ export interface Schema$GoogleCloudSecuritycenterV2Package {
2924
+ /**
2925
+ * The CPE URI where the vulnerability was detected.
2926
+ */
2927
+ cpeUri?: string | null;
2928
+ /**
2929
+ * The name of the package where the vulnerability was detected.
2930
+ */
2931
+ packageName?: string | null;
2932
+ /**
2933
+ * Type of package, for example, os, maven, or go.
2934
+ */
2935
+ packageType?: string | null;
2936
+ /**
2937
+ * The version of the package.
2938
+ */
2939
+ packageVersion?: string | null;
2940
+ }
2941
+ /**
2942
+ * A Kubernetes Pod.
2943
+ */
2944
+ export interface Schema$GoogleCloudSecuritycenterV2Pod {
2945
+ /**
2946
+ * Pod containers associated with this finding, if any.
2947
+ */
2948
+ containers?: Schema$GoogleCloudSecuritycenterV2Container[];
2949
+ /**
2950
+ * Pod labels. For Kubernetes containers, these are applied to the container.
2951
+ */
2952
+ labels?: Schema$GoogleCloudSecuritycenterV2Label[];
2953
+ /**
2954
+ * Kubernetes Pod name.
2955
+ */
2956
+ name?: string | null;
2957
+ /**
2958
+ * Kubernetes Pod namespace.
2959
+ */
2960
+ ns?: string | null;
2961
+ }
2962
+ /**
2963
+ * The policy field that violates the deployed posture and its expected and detected values.
2964
+ */
2965
+ export interface Schema$GoogleCloudSecuritycenterV2PolicyDriftDetails {
2966
+ /**
2967
+ * The detected value that violates the deployed posture, for example, `false` or `allowed_values={"projects/22831892"\}`.
2968
+ */
2969
+ detectedValue?: string | null;
2970
+ /**
2971
+ * The value of this field that was configured in a posture, for example, `true` or `allowed_values={"projects/29831892"\}`.
2972
+ */
2973
+ expectedValue?: string | null;
2974
+ /**
2975
+ * The name of the updated field, for example constraint.implementation.policy_rules[0].enforce
2976
+ */
2977
+ field?: string | null;
2978
+ }
2979
+ /**
2980
+ * Represents an operating system process.
2981
+ */
2982
+ export interface Schema$GoogleCloudSecuritycenterV2Process {
2983
+ /**
2984
+ * Process arguments as JSON encoded strings.
2985
+ */
2986
+ args?: string[] | null;
2987
+ /**
2988
+ * True if `args` is incomplete.
2989
+ */
2990
+ argumentsTruncated?: boolean | null;
2991
+ /**
2992
+ * File information for the process executable.
2993
+ */
2994
+ binary?: Schema$GoogleCloudSecuritycenterV2File;
2995
+ /**
2996
+ * Process environment variables.
2997
+ */
2998
+ envVariables?: Schema$GoogleCloudSecuritycenterV2EnvironmentVariable[];
2999
+ /**
3000
+ * True if `env_variables` is incomplete.
3001
+ */
3002
+ envVariablesTruncated?: boolean | null;
3003
+ /**
3004
+ * File information for libraries loaded by the process.
3005
+ */
3006
+ libraries?: Schema$GoogleCloudSecuritycenterV2File[];
3007
+ /**
3008
+ * The process name, as displayed in utilities like `top` and `ps`. This name can be accessed through `/proc/[pid]/comm` and changed with `prctl(PR_SET_NAME)`.
3009
+ */
3010
+ name?: string | null;
3011
+ /**
3012
+ * The parent process ID.
3013
+ */
3014
+ parentPid?: string | null;
3015
+ /**
3016
+ * The process ID.
3017
+ */
3018
+ pid?: string | null;
3019
+ /**
3020
+ * When the process represents the invocation of a script, `binary` provides information about the interpreter, while `script` provides information about the script file provided to the interpreter.
3021
+ */
3022
+ script?: Schema$GoogleCloudSecuritycenterV2File;
3023
+ }
3024
+ /**
3025
+ * Indicates what signature matched this process.
3026
+ */
3027
+ export interface Schema$GoogleCloudSecuritycenterV2ProcessSignature {
3028
+ /**
3029
+ * Signature indicating that a binary family was matched.
3030
+ */
3031
+ memoryHashSignature?: Schema$GoogleCloudSecuritycenterV2MemoryHashSignature;
3032
+ /**
3033
+ * Describes the type of resource associated with the signature.
3034
+ */
3035
+ signatureType?: string | null;
3036
+ /**
3037
+ * Signature indicating that a YARA rule was matched.
3038
+ */
3039
+ yaraRuleSignature?: Schema$GoogleCloudSecuritycenterV2YaraRuleSignature;
3040
+ }
3041
+ /**
3042
+ * Additional Links
3043
+ */
3044
+ export interface Schema$GoogleCloudSecuritycenterV2Reference {
3045
+ /**
3046
+ * Source of the reference e.g. NVD
3047
+ */
3048
+ source?: string | null;
3049
+ /**
3050
+ * Uri for the mentioned source e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527.
3051
+ */
3052
+ uri?: string | null;
3053
+ }
3054
+ /**
3055
+ * Information related to the Google Cloud resource.
3056
+ */
3057
+ export interface Schema$GoogleCloudSecuritycenterV2Resource {
3058
+ /**
3059
+ * The human readable name of the resource.
3060
+ */
3061
+ displayName?: string | null;
3062
+ /**
3063
+ * The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
3064
+ */
3065
+ name?: string | null;
3066
+ /**
3067
+ * The full resource type of the resource.
3068
+ */
3069
+ type?: string | null;
3070
+ }
3071
+ /**
3072
+ * A resource value config (RVC) is a mapping configuration of user's resources to resource values. Used in Attack path simulations.
3073
+ */
3074
+ export interface Schema$GoogleCloudSecuritycenterV2ResourceValueConfig {
3075
+ /**
3076
+ * Output only. Timestamp this resource value config was created.
3077
+ */
3078
+ createTime?: string | null;
3079
+ /**
3080
+ * Description of the resource value config.
3081
+ */
3082
+ description?: string | null;
3083
+ /**
3084
+ * Name for the resource value config
3085
+ */
3086
+ name?: string | null;
3087
+ /**
3088
+ * List of resource labels to search for, evaluated with AND. E.g. "resource_labels_selector": {"key": "value", "env": "prod"\} will match resources with labels "key": "value" AND "env": "prod" https://cloud.google.com/resource-manager/docs/creating-managing-labels
3089
+ */
3090
+ resourceLabelsSelector?: {[key: string]: string} | null;
3091
+ /**
3092
+ * Apply resource_value only to resources that match resource_type. resource_type will be checked with "AND" of other resources. E.g. "storage.googleapis.com/Bucket" with resource_value "HIGH" will apply "HIGH" value only to "storage.googleapis.com/Bucket" resources.
3093
+ */
3094
+ resourceType?: string | null;
3095
+ /**
3096
+ * Resource value level this expression represents Only required when there is no SDP mapping in the request
3097
+ */
3098
+ resourceValue?: string | null;
3099
+ /**
3100
+ * Project or folder to scope this config to. For example, "project/456" would apply this config only to resources in "project/456" scope will be checked with "AND" of other resources.
3101
+ */
3102
+ scope?: string | null;
3103
+ /**
3104
+ * A mapping of the sensitivity on Sensitive Data Protection finding to resource values. This mapping can only be used in combination with a resource_type that is related to BigQuery, e.g. "bigquery.googleapis.com/Dataset".
3105
+ */
3106
+ sensitiveDataProtectionMapping?: Schema$GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping;
3107
+ /**
3108
+ * Required. Tag values combined with AND to check against. Values in the form "tagValues/123" E.g. [ "tagValues/123", "tagValues/456", "tagValues/789" ] https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
3109
+ */
3110
+ tagValues?: string[] | null;
3111
+ /**
3112
+ * Output only. Timestamp this resource value config was last updated.
3113
+ */
3114
+ updateTime?: string | null;
3115
+ }
3116
+ /**
3117
+ * Kubernetes Role or ClusterRole.
3118
+ */
3119
+ export interface Schema$GoogleCloudSecuritycenterV2Role {
3120
+ /**
3121
+ * Role type.
3122
+ */
3123
+ kind?: string | null;
3124
+ /**
3125
+ * Role name.
3126
+ */
3127
+ name?: string | null;
3128
+ /**
3129
+ * Role namespace.
3130
+ */
3131
+ ns?: string | null;
3132
+ }
3133
+ /**
3134
+ * SecurityBulletin are notifications of vulnerabilities of Google products.
3135
+ */
3136
+ export interface Schema$GoogleCloudSecuritycenterV2SecurityBulletin {
3137
+ /**
3138
+ * ID of the bulletin corresponding to the vulnerability.
3139
+ */
3140
+ bulletinId?: string | null;
3141
+ /**
3142
+ * Submission time of this Security Bulletin.
3143
+ */
3144
+ submissionTime?: string | null;
3145
+ /**
3146
+ * This represents a version that the cluster receiving this notification should be upgraded to, based on its current version. For example, 1.15.0
3147
+ */
3148
+ suggestedUpgradeVersion?: string | null;
3149
+ }
3150
+ /**
3151
+ * User specified security marks that are attached to the parent Security Command Center resource. Security marks are scoped within a Security Command Center organization -- they can be modified and viewed by all users who have proper permissions on the organization.
3152
+ */
3153
+ export interface Schema$GoogleCloudSecuritycenterV2SecurityMarks {
3154
+ /**
3155
+ * The canonical name of the marks. The following list shows some examples: + `organizations/{organization_id\}/assets/{asset_id\}/securityMarks" + `organizations/{organization_id\}/sources/{source_id\}/findings/{finding_id\}/securityMarks" + `organizations/{organization_id\}/sources/{source_id\}/locations/{location\}/findings/{finding_id\}/securityMarks" + `folders/{folder_id\}/assets/{asset_id\}/securityMarks" + `folders/{folder_id\}/sources/{source_id\}/findings/{finding_id\}/securityMarks" + `folders/{folder_id\}/sources/{source_id\}/locations/{location\}/findings/{finding_id\}/securityMarks" + `projects/{project_number\}/assets/{asset_id\}/securityMarks" + `projects/{project_number\}/sources/{source_id\}/findings/{finding_id\}/securityMarks" + `projects/{project_number\}/sources/{source_id\}/locations/{location\}/findings/{finding_id\}/securityMarks"
3156
+ */
3157
+ canonicalName?: string | null;
3158
+ /**
3159
+ * Mutable user specified security marks belonging to the parent resource. Constraints are as follows: * Keys and values are treated as case insensitive * Keys must be between 1 - 256 characters (inclusive) * Keys must be letters, numbers, underscores, or dashes * Values have leading and trailing whitespace trimmed, remaining characters must be between 1 - 4096 characters (inclusive)
3160
+ */
3161
+ marks?: {[key: string]: string} | null;
3162
+ /**
3163
+ * The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name The following list shows some examples: + `organizations/{organization_id\}/assets/{asset_id\}/securityMarks` + `organizations/{organization_id\}/sources/{source_id\}/findings/{finding_id\}/securityMarks` + `organizations/{organization_id\}/sources/{source_id\}/locations/{location\}/findings/{finding_id\}/securityMarks`
3164
+ */
3165
+ name?: string | null;
3166
+ }
3167
+ /**
3168
+ * Represents a posture that is deployed on Google Cloud by the Security Command Center Posture Management service. A posture contains one or more policy sets. A policy set is a group of policies that enforce a set of security rules on Google Cloud.
3169
+ */
3170
+ export interface Schema$GoogleCloudSecuritycenterV2SecurityPosture {
3171
+ /**
3172
+ * The name of the updated policy, for example, `projects/{project_id\}/policies/{constraint_name\}`.
3173
+ */
3174
+ changedPolicy?: string | null;
3175
+ /**
3176
+ * Name of the posture, for example, `CIS-Posture`.
3177
+ */
3178
+ name?: string | null;
3179
+ /**
3180
+ * The ID of the updated policy, for example, `compute-policy-1`.
3181
+ */
3182
+ policy?: string | null;
3183
+ /**
3184
+ * The details about a change in an updated policy that violates the deployed posture.
3185
+ */
3186
+ policyDriftDetails?: Schema$GoogleCloudSecuritycenterV2PolicyDriftDetails[];
3187
+ /**
3188
+ * The name of the updated policy set, for example, `cis-policyset`.
3189
+ */
3190
+ policySet?: string | null;
3191
+ /**
3192
+ * The name of the posture deployment, for example, `organizations/{org_id\}/posturedeployments/{posture_deployment_id\}`.
3193
+ */
3194
+ postureDeployment?: string | null;
3195
+ /**
3196
+ * The project, folder, or organization on which the posture is deployed, for example, `projects/{project_number\}`.
3197
+ */
3198
+ postureDeploymentResource?: string | null;
3199
+ /**
3200
+ * The version of the posture, for example, `c7cfa2a8`.
3201
+ */
3202
+ revisionId?: string | null;
3203
+ }
3204
+ /**
3205
+ * Resource value mapping for Sensitive Data Protection findings If any of these mappings have a resource value that is not unspecified, the resource_value field will be ignored when reading this configuration.
3206
+ */
3207
+ export interface Schema$GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping {
3208
+ /**
3209
+ * Resource value mapping for high-sensitivity Sensitive Data Protection findings
3210
+ */
3211
+ highSensitivityMapping?: string | null;
3212
+ /**
3213
+ * Resource value mapping for medium-sensitivity Sensitive Data Protection findings
3214
+ */
3215
+ mediumSensitivityMapping?: string | null;
3216
+ }
3217
+ /**
3218
+ * Identity delegation history of an authenticated service account.
3219
+ */
3220
+ export interface Schema$GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo {
3221
+ /**
3222
+ * The email address of a Google account.
3223
+ */
3224
+ principalEmail?: string | null;
3225
+ /**
3226
+ * A string representing the principal_subject associated with the identity. As compared to `principal_email`, supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format will be `principal://iam.googleapis.com/{identity pool name\}/subjects/{subject\}` except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool name\}[{subject\}]`
3227
+ */
3228
+ principalSubject?: string | null;
3229
+ }
3230
+ /**
3231
+ * Represents a Kubernetes subject.
3232
+ */
3233
+ export interface Schema$GoogleCloudSecuritycenterV2Subject {
3234
+ /**
3235
+ * Authentication type for the subject.
3236
+ */
3237
+ kind?: string | null;
3238
+ /**
3239
+ * Name for the subject.
3240
+ */
3241
+ name?: string | null;
3242
+ /**
3243
+ * Namespace for the subject.
3244
+ */
3245
+ ns?: string | null;
3246
+ }
3247
+ /**
3248
+ * Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding.
3249
+ */
3250
+ export interface Schema$GoogleCloudSecuritycenterV2TicketInfo {
3251
+ /**
3252
+ * The assignee of the ticket in the ticket system.
3253
+ */
3254
+ assignee?: string | null;
3255
+ /**
3256
+ * The description of the ticket in the ticket system.
3257
+ */
3258
+ description?: string | null;
3259
+ /**
3260
+ * The identifier of the ticket in the ticket system.
3261
+ */
3262
+ id?: string | null;
3263
+ /**
3264
+ * The latest status of the ticket, as reported by the ticket system.
3265
+ */
3266
+ status?: string | null;
3267
+ /**
3268
+ * The time when the ticket was last updated, as reported by the ticket system.
3269
+ */
3270
+ updateTime?: string | null;
3271
+ /**
3272
+ * The link to the ticket in the ticket system.
3273
+ */
3274
+ uri?: string | null;
3275
+ }
3276
+ /**
3277
+ * Refers to common vulnerability fields e.g. cve, cvss, cwe etc.
3278
+ */
3279
+ export interface Schema$GoogleCloudSecuritycenterV2Vulnerability {
3280
+ /**
3281
+ * CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
3282
+ */
3283
+ cve?: Schema$GoogleCloudSecuritycenterV2Cve;
3284
+ /**
3285
+ * The fixed package is relevant to the finding.
3286
+ */
3287
+ fixedPackage?: Schema$GoogleCloudSecuritycenterV2Package;
3288
+ /**
3289
+ * The offending package is relevant to the finding.
3290
+ */
3291
+ offendingPackage?: Schema$GoogleCloudSecuritycenterV2Package;
3292
+ /**
3293
+ * The security bulletin is relevant to this finding.
3294
+ */
3295
+ securityBulletin?: Schema$GoogleCloudSecuritycenterV2SecurityBulletin;
3296
+ }
3297
+ /**
3298
+ * A signature corresponding to a YARA rule.
3299
+ */
3300
+ export interface Schema$GoogleCloudSecuritycenterV2YaraRuleSignature {
3301
+ /**
3302
+ * The name of the YARA rule.
3303
+ */
3304
+ yaraRule?: string | null;
3305
+ }
1741
3306
  /**
1742
3307
  * Request message for grouping by assets.
1743
3308
  */
@@ -2503,15 +4068,15 @@ export namespace securitycenter_v1 {
2503
4068
  version?: number | null;
2504
4069
  }
2505
4070
  /**
2506
- * The policy field that violates the deployed posture and its expected and and detected values.
4071
+ * The policy field that violates the deployed posture and its expected and detected values.
2507
4072
  */
2508
4073
  export interface Schema$PolicyDriftDetails {
2509
4074
  /**
2510
- * The detected value that violates the deployed posture, for example, `false` or `allowed_values={"projects/22831892”\}`.
4075
+ * The detected value that violates the deployed posture, for example, `false` or `allowed_values={"projects/22831892"\}`.
2511
4076
  */
2512
4077
  detectedValue?: string | null;
2513
4078
  /**
2514
- * The value of this field that was configured in a posture, for example, `true` or `allowed_values={"projects/29831892”\}`.
4079
+ * The value of this field that was configured in a posture, for example, `true` or `allowed_values={"projects/29831892"\}`.
2515
4080
  */
2516
4081
  expectedValue?: string | null;
2517
4082
  /**