@maxim_mazurok/gapi.client.securitycenter-v1beta2 0.0.20231208 → 0.0.20240101

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.
Files changed (2) hide show
  1. package/index.d.ts +57 -648
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://securitycenter.googleapis.com/$discovery/rest?version=v1beta2
12
- // Revision: 20231208
12
+ // Revision: 20240101
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -146,24 +146,6 @@ declare namespace gapi.client {
146
146
  /** Version of the standard or benchmark, for example, 1.1 */
147
147
  version?: string;
148
148
  }
149
- interface ComplianceSnapshot {
150
- /** The category of Findings matching. */
151
- category?: string;
152
- /** The compliance standard (ie CIS). */
153
- complianceStandard?: string;
154
- /** The compliance version (ie 1.3) in CIS 1.3. */
155
- complianceVersion?: string;
156
- /** Total count of findings for the given properties. */
157
- count?: string;
158
- /** The leaf container resource name that is closest to the snapshot. */
159
- leafContainerResource?: string;
160
- /** The compliance snapshot name. Format: //sources//complianceSnapshots/ */
161
- name?: string;
162
- /** The CRM resource display name that is closest to the snapshot the Findings belong to. */
163
- projectDisplayName?: string;
164
- /** The snapshot time of the snapshot. */
165
- snapshotTime?: string;
166
- }
167
149
  interface Config {
168
150
  /** The state of enablement for the module at its level of the resource hierarchy. */
169
151
  moduleEnablementState?: string;
@@ -272,6 +254,12 @@ declare namespace gapi.client {
272
254
  /** The percentage of memory page hashes in the signature that were matched. */
273
255
  percentPagesMatched?: number;
274
256
  }
257
+ interface DiskPath {
258
+ /** UUID of the partition (format https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid) */
259
+ partitionUuid?: string;
260
+ /** Relative path of the file in the partition as a JSON encoded string. Example: /home/user1/executable_file.sh */
261
+ relativePath?: string;
262
+ }
275
263
  interface EnvironmentVariable {
276
264
  /** Environment variable name as a JSON encoded string. */
277
265
  name?: string;
@@ -315,6 +303,8 @@ declare namespace gapi.client {
315
303
  interface File {
316
304
  /** Prefix of the file contents as a JSON-encoded string. */
317
305
  contents?: string;
306
+ /** Path of the file in terms of underlying disk/partition identifiers. */
307
+ diskPath?: DiskPath;
318
308
  /** The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file. */
319
309
  hashedSize?: string;
320
310
  /** True when the hash covers only a prefix of the file. */
@@ -496,6 +486,12 @@ declare namespace gapi.client {
496
486
  interface GoogleCloudSecuritycenterV1ExternalSystem {
497
487
  /** References primary/secondary etc assignees in the external system. */
498
488
  assignees?: string[];
489
+ /** The priority of the finding's corresponding case in the external system. */
490
+ casePriority?: string;
491
+ /** The SLA of the finding's corresponding case in the external system. */
492
+ caseSla?: string;
493
+ /** The link to the finding's corresponding case in the external system. */
494
+ caseUri?: string;
499
495
  /** The time when the case was last updated, as reported by the external system. */
500
496
  externalSystemUpdateTime?: string;
501
497
  /** The identifier that's used to track the finding's corresponding case in the external system. */
@@ -504,6 +500,8 @@ declare namespace gapi.client {
504
500
  name?: string;
505
501
  /** The most recent status of the finding's corresponding case, as reported by the external system. */
506
502
  status?: string;
503
+ /** Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding. */
504
+ ticketInfo?: TicketInfo;
507
505
  }
508
506
  interface GoogleCloudSecuritycenterV1MuteConfig {
509
507
  /** 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. */
@@ -667,635 +665,6 @@ declare namespace gapi.client {
667
665
  /** Output only. The time at which the custom module was last updated. */
668
666
  updateTime?: string;
669
667
  }
670
- interface GoogleCloudSecuritycenterV2Access {
671
- /** Caller's IP address, such as "1.1.1.1". */
672
- callerIp?: string;
673
- /** The caller IP's geolocation, which identifies where the call came from. */
674
- callerIpGeo?: GoogleCloudSecuritycenterV2Geolocation;
675
- /** The method that the service account called, e.g. "SetIamPolicy". */
676
- methodName?: string;
677
- /** 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). */
678
- principalEmail?: string;
679
- /** 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}]`. */
680
- principalSubject?: string;
681
- /** 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. */
682
- serviceAccountDelegationInfo?: GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo[];
683
- /** 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}". */
684
- serviceAccountKeyName?: string;
685
- /** This is the API service that the service account made a call to, e.g. "iam.googleapis.com" */
686
- serviceName?: string;
687
- /** The caller's user agent string associated with the finding. */
688
- userAgent?: string;
689
- /** Type of user agent associated with the finding. For example, an operating system shell or an embedded or standalone application. */
690
- userAgentFamily?: string;
691
- /** 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. */
692
- userName?: string;
693
- }
694
- interface GoogleCloudSecuritycenterV2AccessReview {
695
- /** The API group of the resource. "*" means all. */
696
- group?: string;
697
- /** The name of the resource being requested. Empty means all. */
698
- name?: string;
699
- /** Namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces. Both are represented by "" (empty). */
700
- ns?: string;
701
- /** The optional resource type requested. "*" means all. */
702
- resource?: string;
703
- /** The optional subresource type. */
704
- subresource?: string;
705
- /** A Kubernetes resource API verb, like get, list, watch, create, update, delete, proxy. "*" means all. */
706
- verb?: string;
707
- /** The API version of the resource. "*" means all. */
708
- version?: string;
709
- }
710
- interface GoogleCloudSecuritycenterV2Application {
711
- /** 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 */
712
- baseUri?: string;
713
- /** The full URI with payload that could be used to reproduce the vulnerability. Example: http://11.22.33.44/reflected/parameter/attribute/singlequoted/js?p=aMmYgI6H */
714
- fullUri?: string;
715
- }
716
- interface GoogleCloudSecuritycenterV2AttackExposure {
717
- /** The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: organizations/123/attackExposureResults/456 */
718
- attackExposureResult?: string;
719
- /** The number of high value resources that are exposed as a result of this finding. */
720
- exposedHighValueResourcesCount?: number;
721
- /** The number of high value resources that are exposed as a result of this finding. */
722
- exposedLowValueResourcesCount?: number;
723
- /** The number of medium value resources that are exposed as a result of this finding. */
724
- exposedMediumValueResourcesCount?: number;
725
- /** The most recent time the attack exposure was updated on this finding. */
726
- latestCalculationTime?: string;
727
- /** 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. */
728
- score?: number;
729
- /** Output only. What state this AttackExposure is in. This captures whether or not an attack exposure has been calculated or not. */
730
- state?: string;
731
- }
732
- interface GoogleCloudSecuritycenterV2BackupDisasterRecovery {
733
- /** The name of the Backup and DR appliance that captures, moves, and manages the lifecycle of backup data. For example, “backup-server-57137”. */
734
- appliance?: string;
735
- /** 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”. */
736
- applications?: string[];
737
- /** The timestamp at which the Backup and DR backup was created. */
738
- backupCreateTime?: string;
739
- /** 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”. */
740
- backupTemplate?: string;
741
- /** The backup type of the Backup and DR image. For example, “Snapshot”, “Remote Snapshot”, “OnVault”. */
742
- backupType?: string;
743
- /** 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”. */
744
- host?: string;
745
- /** 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”. */
746
- policies?: string[];
747
- /** 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”. */
748
- policyOptions?: string[];
749
- /** 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”. */
750
- profile?: string;
751
- /** 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”. */
752
- storagePool?: string;
753
- }
754
- interface GoogleCloudSecuritycenterV2BigQueryExport {
755
- /** 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. */
756
- createTime?: string;
757
- /** 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 (_). */
758
- dataset?: string;
759
- /** The description of the export (max of 1024 characters). */
760
- description?: string;
761
- /** 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. */
762
- filter?: string;
763
- /** 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. */
764
- mostRecentEditor?: string;
765
- /** 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. */
766
- name?: string;
767
- /** Output only. The service account that needs permission to create table and upload data to the BigQuery dataset. */
768
- principal?: string;
769
- /** 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. */
770
- updateTime?: string;
771
- }
772
- interface GoogleCloudSecuritycenterV2Binding {
773
- /** Name for the binding. */
774
- name?: string;
775
- /** Namespace for the binding. */
776
- ns?: string;
777
- /** The Role or ClusterRole referenced by the binding. */
778
- role?: GoogleCloudSecuritycenterV2Role;
779
- /** Represents one or more subjects that are bound to the role. Not always available for PATCH requests. */
780
- subjects?: GoogleCloudSecuritycenterV2Subject[];
781
- }
782
- interface GoogleCloudSecuritycenterV2BulkMuteFindingsResponse {}
783
- interface GoogleCloudSecuritycenterV2CloudDlpDataProfile {
784
- /** Name of the data profile, for example, `projects/123/locations/europe/tableProfiles/8383929`. */
785
- dataProfile?: string;
786
- /** The resource hierarchy level at which the data profile was generated. */
787
- parentType?: string;
788
- }
789
- interface GoogleCloudSecuritycenterV2CloudDlpInspection {
790
- /** Whether Cloud DLP scanned the complete resource or a sampled subset. */
791
- fullScan?: boolean;
792
- /** The type of information (or *[infoType](https://cloud.google.com/dlp/docs/infotypes-reference)*) found, for example, `EMAIL_ADDRESS` or `STREET_ADDRESS`. */
793
- infoType?: string;
794
- /** The number of times Cloud DLP found this infoType within this job and resource. */
795
- infoTypeCount?: string;
796
- /** Name of the inspection job, for example, `projects/123/locations/europe/dlpJobs/i-8383929`. */
797
- inspectJob?: string;
798
- }
799
- interface GoogleCloudSecuritycenterV2CloudLoggingEntry {
800
- /** A unique identifier for the log entry. */
801
- insertId?: string;
802
- /** 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`. */
803
- logId?: string;
804
- /** The organization, folder, or project of the monitored resource that produced this log entry. */
805
- resourceContainer?: string;
806
- /** The time the event described by the log entry occurred. */
807
- timestamp?: string;
808
- }
809
- interface GoogleCloudSecuritycenterV2Compliance {
810
- /** Policies within the standard or benchmark, for example, A.12.4.1 */
811
- ids?: string[];
812
- /** Industry-wide compliance standards or benchmarks, such as CIS, PCI, and OWASP. */
813
- standard?: string;
814
- /** Version of the standard or benchmark, for example, 1.1 */
815
- version?: string;
816
- }
817
- interface GoogleCloudSecuritycenterV2Connection {
818
- /** Destination IP address. Not present for sockets that are listening and not connected. */
819
- destinationIp?: string;
820
- /** Destination port. Not present for sockets that are listening and not connected. */
821
- destinationPort?: number;
822
- /** IANA Internet Protocol Number such as TCP(6) and UDP(17). */
823
- protocol?: string;
824
- /** Source IP address. */
825
- sourceIp?: string;
826
- /** Source port. */
827
- sourcePort?: number;
828
- }
829
- interface GoogleCloudSecuritycenterV2Contact {
830
- /** An email address. For example, "`person123@company.com`". */
831
- email?: string;
832
- }
833
- interface GoogleCloudSecuritycenterV2ContactDetails {
834
- /** A list of contacts */
835
- contacts?: GoogleCloudSecuritycenterV2Contact[];
836
- }
837
- interface GoogleCloudSecuritycenterV2Container {
838
- /** The time that the container was created. */
839
- createTime?: string;
840
- /** Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest. */
841
- imageId?: string;
842
- /** Container labels, as provided by the container runtime. */
843
- labels?: GoogleCloudSecuritycenterV2Label[];
844
- /** Name of the container. */
845
- name?: string;
846
- /** Container image URI provided when configuring a pod or container. This string can identify a container image version using mutable tags. */
847
- uri?: string;
848
- }
849
- interface GoogleCloudSecuritycenterV2Cve {
850
- /** Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document */
851
- cvssv3?: GoogleCloudSecuritycenterV2Cvssv3;
852
- /** The unique identifier for the vulnerability. e.g. CVE-2021-34527 */
853
- id?: string;
854
- /** Additional information about the CVE. e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527 */
855
- references?: GoogleCloudSecuritycenterV2Reference[];
856
- /** Whether upstream fix is available for the CVE. */
857
- upstreamFixAvailable?: boolean;
858
- }
859
- interface GoogleCloudSecuritycenterV2Cvssv3 {
860
- /** This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability. */
861
- attackComplexity?: string;
862
- /** 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. */
863
- attackVector?: string;
864
- /** This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability. */
865
- availabilityImpact?: string;
866
- /** The base score is a function of the base metric scores. */
867
- baseScore?: number;
868
- /** This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability. */
869
- confidentialityImpact?: string;
870
- /** This metric measures the impact to integrity of a successfully exploited vulnerability. */
871
- integrityImpact?: string;
872
- /** This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability. */
873
- privilegesRequired?: string;
874
- /** The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope. */
875
- scope?: string;
876
- /** This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component. */
877
- userInteraction?: string;
878
- }
879
- interface GoogleCloudSecuritycenterV2Database {
880
- /** The human-readable name of the database that the user connected to. */
881
- displayName?: string;
882
- /** The target usernames, roles, or groups of an SQL privilege grant, which is not an IAM policy change. */
883
- grantees?: string[];
884
- /** 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. */
885
- name?: string;
886
- /** The SQL statement that is associated with the database access. */
887
- query?: string;
888
- /** The username used to connect to the database. The username might not be an IAM principal and does not have a set format. */
889
- userName?: string;
890
- /** 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). */
891
- version?: string;
892
- }
893
- interface GoogleCloudSecuritycenterV2Detection {
894
- /** The name of the binary associated with the memory hash signature detection. */
895
- binary?: string;
896
- /** The percentage of memory page hashes in the signature that were matched. */
897
- percentPagesMatched?: number;
898
- }
899
- interface GoogleCloudSecuritycenterV2EnvironmentVariable {
900
- /** Environment variable name as a JSON encoded string. */
901
- name?: string;
902
- /** Environment variable value as a JSON encoded string. */
903
- val?: string;
904
- }
905
- interface GoogleCloudSecuritycenterV2ExfilResource {
906
- /** 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. */
907
- components?: string[];
908
- /** The resource's [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name). */
909
- name?: string;
910
- }
911
- interface GoogleCloudSecuritycenterV2Exfiltration {
912
- /** 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. */
913
- sources?: GoogleCloudSecuritycenterV2ExfilResource[];
914
- /** If there are multiple targets, each target would get a complete copy of the "joined" source data. */
915
- targets?: GoogleCloudSecuritycenterV2ExfilResource[];
916
- /** Total exfiltrated bytes processed for the entire job. */
917
- totalExfiltratedBytes?: string;
918
- }
919
- interface GoogleCloudSecuritycenterV2ExternalSystem {
920
- /** References primary/secondary etc assignees in the external system. */
921
- assignees?: string[];
922
- /** The time when the case was last updated, as reported by the external system. */
923
- externalSystemUpdateTime?: string;
924
- /** The identifier that's used to track the finding's corresponding case in the external system. */
925
- externalUid?: string;
926
- /** 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` */
927
- name?: string;
928
- /** The most recent status of the finding's corresponding case, as reported by the external system. */
929
- status?: string;
930
- }
931
- interface GoogleCloudSecuritycenterV2File {
932
- /** Prefix of the file contents as a JSON-encoded string. */
933
- contents?: string;
934
- /** The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file. */
935
- hashedSize?: string;
936
- /** True when the hash covers only a prefix of the file. */
937
- partiallyHashed?: boolean;
938
- /** Absolute path of the file as a JSON encoded string. */
939
- path?: string;
940
- /** 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. */
941
- sha256?: string;
942
- /** Size of the file in bytes. */
943
- size?: string;
944
- }
945
- interface GoogleCloudSecuritycenterV2Finding {
946
- /** Access details associated with the finding, such as more information on the caller, which method was accessed, and from where. */
947
- access?: GoogleCloudSecuritycenterV2Access;
948
- /** Represents an application associated with the finding. */
949
- application?: GoogleCloudSecuritycenterV2Application;
950
- /** The results of an attack path simulation relevant to this finding. */
951
- attackExposure?: GoogleCloudSecuritycenterV2AttackExposure;
952
- /** Fields related to Backup and DR findings. */
953
- backupDisasterRecovery?: GoogleCloudSecuritycenterV2BackupDisasterRecovery;
954
- /** 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. */
955
- canonicalName?: string;
956
- /** Immutable. The additional taxonomy group within findings from a given source. Example: "XSS_FLASH_INJECTION" */
957
- category?: string;
958
- /** Cloud DLP data profile that is associated with the finding. */
959
- cloudDlpDataProfile?: GoogleCloudSecuritycenterV2CloudDlpDataProfile;
960
- /** Cloud Data Loss Prevention (Cloud DLP) inspection results that are associated with the finding. */
961
- cloudDlpInspection?: GoogleCloudSecuritycenterV2CloudDlpInspection;
962
- /** Contains compliance information for security standards associated to the finding. */
963
- compliances?: GoogleCloudSecuritycenterV2Compliance[];
964
- /** Contains information about the IP connection associated with the finding. */
965
- connections?: GoogleCloudSecuritycenterV2Connection[];
966
- /** 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" } ] } } */
967
- contacts?: {[P in string]: GoogleCloudSecuritycenterV2ContactDetails};
968
- /** Containers associated with the finding. This field provides information for both Kubernetes and non-Kubernetes containers. */
969
- containers?: GoogleCloudSecuritycenterV2Container[];
970
- /** Output only. The time at which the finding was created in Security Command Center. */
971
- createTime?: string;
972
- /** Database associated with the finding. */
973
- database?: GoogleCloudSecuritycenterV2Database;
974
- /** Contains more details about the finding. */
975
- description?: string;
976
- /** 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. */
977
- eventTime?: string;
978
- /** Represents exfiltrations associated with the finding. */
979
- exfiltration?: GoogleCloudSecuritycenterV2Exfiltration;
980
- /** Output only. Third party SIEM/SOAR fields within SCC, contains external system information and external system finding fields. */
981
- externalSystems?: {
982
- [P in string]: GoogleCloudSecuritycenterV2ExternalSystem;
983
- };
984
- /** 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. */
985
- externalUri?: string;
986
- /** File associated with the finding. */
987
- files?: GoogleCloudSecuritycenterV2File[];
988
- /** The class of the finding. */
989
- findingClass?: string;
990
- /** Represents IAM bindings associated with the finding. */
991
- iamBindings?: GoogleCloudSecuritycenterV2IamBinding[];
992
- /** 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). */
993
- indicator?: GoogleCloudSecuritycenterV2Indicator;
994
- /** Signature of the kernel rootkit. */
995
- kernelRootkit?: GoogleCloudSecuritycenterV2KernelRootkit;
996
- /** Kubernetes resources associated with the finding. */
997
- kubernetes?: GoogleCloudSecuritycenterV2Kubernetes;
998
- /** The load balancers associated with the finding. */
999
- loadBalancers?: GoogleCloudSecuritycenterV2LoadBalancer[];
1000
- /** Log entries that are relevant to the finding. */
1001
- logEntries?: GoogleCloudSecuritycenterV2LogEntry[];
1002
- /** MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org */
1003
- mitreAttack?: GoogleCloudSecuritycenterV2MitreAttack;
1004
- /** Unique identifier of the module which generated the finding. Example: folders/598186756061/securityHealthAnalyticsSettings/customModules/56799441161885 */
1005
- moduleName?: string;
1006
- /** 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. */
1007
- mute?: string;
1008
- /** 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. */
1009
- muteInitiator?: string;
1010
- /** Output only. The most recent time this finding was muted or unmuted. */
1011
- muteUpdateTime?: string;
1012
- /** 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}` */
1013
- name?: string;
1014
- /** Steps to address the finding. */
1015
- nextSteps?: string;
1016
- /** Contains information about the org policies associated with the finding. */
1017
- orgPolicies?: GoogleCloudSecuritycenterV2OrgPolicy[];
1018
- /** 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}` */
1019
- parent?: string;
1020
- /** Output only. The human readable display name of the finding source such as "Event Threat Detection" or "Security Health Analytics". */
1021
- parentDisplayName?: string;
1022
- /** Represents operating system processes associated with the Finding. */
1023
- processes?: GoogleCloudSecuritycenterV2Process[];
1024
- /** 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. */
1025
- resourceName?: string;
1026
- /** 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. */
1027
- securityMarks?: GoogleCloudSecuritycenterV2SecurityMarks;
1028
- /** The security posture associated with the finding. */
1029
- securityPosture?: GoogleCloudSecuritycenterV2SecurityPosture;
1030
- /** The severity of the finding. This field is managed by the source that writes the finding. */
1031
- severity?: string;
1032
- /** 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. */
1033
- sourceProperties?: {[P in string]: any};
1034
- /** Output only. The state of the finding. */
1035
- state?: string;
1036
- /** Represents vulnerability-specific fields like CVE and CVSS scores. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/) */
1037
- vulnerability?: GoogleCloudSecuritycenterV2Vulnerability;
1038
- }
1039
- interface GoogleCloudSecuritycenterV2Geolocation {
1040
- /** A CLDR. */
1041
- regionCode?: string;
1042
- }
1043
- interface GoogleCloudSecuritycenterV2IamBinding {
1044
- /** The action that was performed on a Binding. */
1045
- action?: string;
1046
- /** A single identity requesting access for a Cloud Platform resource, for example, "foo@google.com". */
1047
- member?: string;
1048
- /** Role that is assigned to "members". For example, "roles/viewer", "roles/editor", or "roles/owner". */
1049
- role?: string;
1050
- }
1051
- interface GoogleCloudSecuritycenterV2Indicator {
1052
- /** List of domains associated to the Finding. */
1053
- domains?: string[];
1054
- /** The list of IP addresses that are associated with the finding. */
1055
- ipAddresses?: string[];
1056
- /** The list of matched signatures indicating that the given process is present in the environment. */
1057
- signatures?: GoogleCloudSecuritycenterV2ProcessSignature[];
1058
- /** The list of URIs associated to the Findings. */
1059
- uris?: string[];
1060
- }
1061
- interface GoogleCloudSecuritycenterV2KernelRootkit {
1062
- /** Rootkit name, when available. */
1063
- name?: string;
1064
- /** True if unexpected modifications of kernel code memory are present. */
1065
- unexpectedCodeModification?: boolean;
1066
- /** True if `ftrace` points are present with callbacks pointing to regions that are not in the expected kernel or module code range. */
1067
- unexpectedFtraceHandler?: boolean;
1068
- /** True if interrupt handlers that are are not in the expected kernel or module code regions are present. */
1069
- unexpectedInterruptHandler?: boolean;
1070
- /** True if kernel code pages that are not in the expected kernel or module code regions are present. */
1071
- unexpectedKernelCodePages?: boolean;
1072
- /** True if `kprobe` points are present with callbacks pointing to regions that are not in the expected kernel or module code range. */
1073
- unexpectedKprobeHandler?: boolean;
1074
- /** 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. */
1075
- unexpectedProcessesInRunqueue?: boolean;
1076
- /** True if unexpected modifications of kernel read-only data memory are present. */
1077
- unexpectedReadOnlyDataModification?: boolean;
1078
- /** True if system call handlers that are are not in the expected kernel or module code regions are present. */
1079
- unexpectedSystemCallHandler?: boolean;
1080
- }
1081
- interface GoogleCloudSecuritycenterV2Kubernetes {
1082
- /** Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding. */
1083
- accessReviews?: GoogleCloudSecuritycenterV2AccessReview[];
1084
- /** 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). */
1085
- bindings?: GoogleCloudSecuritycenterV2Binding[];
1086
- /** 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. */
1087
- nodePools?: GoogleCloudSecuritycenterV2NodePool[];
1088
- /** Provides Kubernetes [node](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture#nodes) information. */
1089
- nodes?: GoogleCloudSecuritycenterV2Node[];
1090
- /** Kubernetes objects related to the finding. */
1091
- objects?: GoogleCloudSecuritycenterV2Object[];
1092
- /** 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. */
1093
- pods?: GoogleCloudSecuritycenterV2Pod[];
1094
- /** Provides Kubernetes role information for findings that involve [Roles or ClusterRoles](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control). */
1095
- roles?: GoogleCloudSecuritycenterV2Role[];
1096
- }
1097
- interface GoogleCloudSecuritycenterV2Label {
1098
- /** Name of the label. */
1099
- name?: string;
1100
- /** Value that corresponds to the label's name. */
1101
- value?: string;
1102
- }
1103
- interface GoogleCloudSecuritycenterV2LoadBalancer {
1104
- /** The name of the load balancer associated with the finding. */
1105
- name?: string;
1106
- }
1107
- interface GoogleCloudSecuritycenterV2LogEntry {
1108
- /** An individual entry in a log stored in Cloud Logging. */
1109
- cloudLoggingEntry?: GoogleCloudSecuritycenterV2CloudLoggingEntry;
1110
- }
1111
- interface GoogleCloudSecuritycenterV2MemoryHashSignature {
1112
- /** The binary family. */
1113
- binaryFamily?: string;
1114
- /** The list of memory hash detections contributing to the binary family match. */
1115
- detections?: GoogleCloudSecuritycenterV2Detection[];
1116
- }
1117
- interface GoogleCloudSecuritycenterV2MitreAttack {
1118
- /** Additional MITRE ATT&CK tactics related to this finding, if any. */
1119
- additionalTactics?: string[];
1120
- /** Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques. */
1121
- additionalTechniques?: string[];
1122
- /** The MITRE ATT&CK tactic most closely represented by this finding, if any. */
1123
- primaryTactic?: string;
1124
- /** 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`). */
1125
- primaryTechniques?: string[];
1126
- /** The MITRE ATT&CK version referenced by the above fields. E.g. "8". */
1127
- version?: string;
1128
- }
1129
- interface GoogleCloudSecuritycenterV2MuteConfig {
1130
- /** 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. */
1131
- createTime?: string;
1132
- /** A description of the mute config. */
1133
- description?: string;
1134
- /** 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: `=`, `:` */
1135
- filter?: string;
1136
- /** 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. */
1137
- mostRecentEditor?: string;
1138
- /** 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}` */
1139
- name?: string;
1140
- /** 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. */
1141
- updateTime?: string;
1142
- }
1143
- interface GoogleCloudSecuritycenterV2Node {
1144
- /** [Full resource name](https://google.aip.dev/122#full-resource-names) of the Compute Engine VM running the cluster node. */
1145
- name?: string;
1146
- }
1147
- interface GoogleCloudSecuritycenterV2NodePool {
1148
- /** Kubernetes node pool name. */
1149
- name?: string;
1150
- /** Nodes associated with the finding. */
1151
- nodes?: GoogleCloudSecuritycenterV2Node[];
1152
- }
1153
- interface GoogleCloudSecuritycenterV2NotificationMessage {
1154
- /** If it's a Finding based notification config, this field will be populated. */
1155
- finding?: GoogleCloudSecuritycenterV2Finding;
1156
- /** Name of the notification config that generated current notification. */
1157
- notificationConfigName?: string;
1158
- /** The Cloud resource tied to this notification's Finding. */
1159
- resource?: GoogleCloudSecuritycenterV2Resource;
1160
- }
1161
- interface GoogleCloudSecuritycenterV2Object {
1162
- /** Pod containers associated with this finding, if any. */
1163
- containers?: GoogleCloudSecuritycenterV2Container[];
1164
- /** Kubernetes object group, such as "policy.k8s.io/v1". */
1165
- group?: string;
1166
- /** Kubernetes object kind, such as "Namespace". */
1167
- kind?: string;
1168
- /** Kubernetes object name. For details see https://kubernetes.io/docs/concepts/overview/working-with-objects/names/. */
1169
- name?: string;
1170
- /** 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/. */
1171
- ns?: string;
1172
- }
1173
- interface GoogleCloudSecuritycenterV2OrgPolicy {
1174
- /** The resource name of the org policy. Example: "organizations/{organization_id}/policies/{constraint_name}" */
1175
- name?: string;
1176
- }
1177
- interface GoogleCloudSecuritycenterV2Pod {
1178
- /** Pod containers associated with this finding, if any. */
1179
- containers?: GoogleCloudSecuritycenterV2Container[];
1180
- /** Pod labels. For Kubernetes containers, these are applied to the container. */
1181
- labels?: GoogleCloudSecuritycenterV2Label[];
1182
- /** Kubernetes Pod name. */
1183
- name?: string;
1184
- /** Kubernetes Pod namespace. */
1185
- ns?: string;
1186
- }
1187
- interface GoogleCloudSecuritycenterV2Process {
1188
- /** Process arguments as JSON encoded strings. */
1189
- args?: string[];
1190
- /** True if `args` is incomplete. */
1191
- argumentsTruncated?: boolean;
1192
- /** File information for the process executable. */
1193
- binary?: GoogleCloudSecuritycenterV2File;
1194
- /** Process environment variables. */
1195
- envVariables?: GoogleCloudSecuritycenterV2EnvironmentVariable[];
1196
- /** True if `env_variables` is incomplete. */
1197
- envVariablesTruncated?: boolean;
1198
- /** File information for libraries loaded by the process. */
1199
- libraries?: GoogleCloudSecuritycenterV2File[];
1200
- /** 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)`. */
1201
- name?: string;
1202
- /** The parent process ID. */
1203
- parentPid?: string;
1204
- /** The process ID. */
1205
- pid?: string;
1206
- /** 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. */
1207
- script?: GoogleCloudSecuritycenterV2File;
1208
- }
1209
- interface GoogleCloudSecuritycenterV2ProcessSignature {
1210
- /** Signature indicating that a binary family was matched. */
1211
- memoryHashSignature?: GoogleCloudSecuritycenterV2MemoryHashSignature;
1212
- /** Signature indicating that a YARA rule was matched. */
1213
- yaraRuleSignature?: GoogleCloudSecuritycenterV2YaraRuleSignature;
1214
- }
1215
- interface GoogleCloudSecuritycenterV2Reference {
1216
- /** Source of the reference e.g. NVD */
1217
- source?: string;
1218
- /** Uri for the mentioned source e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527. */
1219
- uri?: string;
1220
- }
1221
- interface GoogleCloudSecuritycenterV2Resource {
1222
- /** The human readable name of the resource. */
1223
- displayName?: string;
1224
- /** The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name */
1225
- name?: string;
1226
- /** The full resource type of the resource. */
1227
- type?: string;
1228
- }
1229
- interface GoogleCloudSecuritycenterV2ResourceValueConfig {
1230
- /** Output only. Timestamp this resource value config was created. */
1231
- createTime?: string;
1232
- /** Description of the resource value config. */
1233
- description?: string;
1234
- /** Name for the resource value config */
1235
- name?: string;
1236
- /** 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 */
1237
- resourceLabelsSelector?: {[P in string]: string};
1238
- /** 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. */
1239
- resourceType?: string;
1240
- /** Required. Resource value level this expression represents */
1241
- resourceValue?: string;
1242
- /** 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. */
1243
- scope?: string;
1244
- /** 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 */
1245
- tagValues?: string[];
1246
- /** Output only. Timestamp this resource value config was last updated. */
1247
- updateTime?: string;
1248
- }
1249
- interface GoogleCloudSecuritycenterV2Role {
1250
- /** Role type. */
1251
- kind?: string;
1252
- /** Role name. */
1253
- name?: string;
1254
- /** Role namespace. */
1255
- ns?: string;
1256
- }
1257
- interface GoogleCloudSecuritycenterV2SecurityMarks {
1258
- /** 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" */
1259
- canonicalName?: string;
1260
- /** 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) */
1261
- marks?: {[P in string]: string};
1262
- /** 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` */
1263
- name?: string;
1264
- }
1265
- interface GoogleCloudSecuritycenterV2SecurityPosture {
1266
- /** The name of the policy that has been updated, for example, `projects/{project_id}/policies/{constraint_name}`. */
1267
- changedPolicy?: string;
1268
- /** Name of the posture, for example, `organizations/{org_id}/locations/{location}/postures/{posture_name}`. */
1269
- name?: string;
1270
- /** The name of the posture deployment, for example, `projects/{project_id}/posturedeployments/{posture_deployment_id}`. */
1271
- postureDeployment?: string;
1272
- /** The project, folder, or organization on which the posture is deployed, for example, `projects/{project_id}`. */
1273
- postureDeploymentResource?: string;
1274
- /** The version of the posture, for example, `c7cfa2a8`. */
1275
- revisionId?: string;
1276
- }
1277
- interface GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo {
1278
- /** The email address of a Google account. */
1279
- principalEmail?: string;
1280
- /** 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}]` */
1281
- principalSubject?: string;
1282
- }
1283
- interface GoogleCloudSecuritycenterV2Subject {
1284
- /** Authentication type for the subject. */
1285
- kind?: string;
1286
- /** Name for the subject. */
1287
- name?: string;
1288
- /** Namespace for the subject. */
1289
- ns?: string;
1290
- }
1291
- interface GoogleCloudSecuritycenterV2Vulnerability {
1292
- /** CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/) */
1293
- cve?: GoogleCloudSecuritycenterV2Cve;
1294
- }
1295
- interface GoogleCloudSecuritycenterV2YaraRuleSignature {
1296
- /** The name of the YARA rule. */
1297
- yaraRule?: string;
1298
- }
1299
668
  interface IamBinding {
1300
669
  /** The action that was performed on a Binding. */
1301
670
  action?: string;
@@ -1409,6 +778,16 @@ declare namespace gapi.client {
1409
778
  /** The resource name of the org policy. Example: "organizations/{organization_id}/policies/{constraint_name}" */
1410
779
  name?: string;
1411
780
  }
781
+ interface Package {
782
+ /** The CPE URI where the vulnerability was detected. */
783
+ cpeUri?: string;
784
+ /** The name of the package where the vulnerability was detected. */
785
+ packageName?: string;
786
+ /** Type of package, for example, os, maven, or go. */
787
+ packageType?: string;
788
+ /** The version of the package. */
789
+ packageVersion?: string;
790
+ }
1412
791
  interface Pod {
1413
792
  /** Pod containers associated with this finding, if any. */
1414
793
  containers?: Container[];
@@ -1444,6 +823,8 @@ declare namespace gapi.client {
1444
823
  interface ProcessSignature {
1445
824
  /** Signature indicating that a binary family was matched. */
1446
825
  memoryHashSignature?: MemoryHashSignature;
826
+ /** Describes the type of resource associated with the signature. */
827
+ signatureType?: string;
1447
828
  /** Signature indicating that a YARA rule was matched. */
1448
829
  yaraRuleSignature?: YaraRuleSignature;
1449
830
  }
@@ -1471,6 +852,14 @@ declare namespace gapi.client {
1471
852
  /** Role namespace. */
1472
853
  ns?: string;
1473
854
  }
855
+ interface SecurityBulletin {
856
+ /** ID of the bulletin corresponding to the vulnerability. */
857
+ bulletinId?: string;
858
+ /** Submission time of this Security Bulletin. */
859
+ submissionTime?: string;
860
+ /** This represents a version that the cluster receiving this notification should be upgraded to, based on its current version. For example, 1.15.0 */
861
+ suggestedUpgradeVersion?: string;
862
+ }
1474
863
  interface SecurityCenterSettings {
1475
864
  /** The resource name of the project to send logs to. This project must be part of the organization this resource resides in. The format is `projects/{project_id}`. An empty value disables logging. This value is only referenced by services that support log sink. Please refer to the documentation for an updated list of compatible services. This may only be specified for organization level onboarding. */
1476
865
  logSinkProject?: string;
@@ -1535,6 +924,20 @@ declare namespace gapi.client {
1535
924
  /** The tier of SCC features this organization currently has access to. */
1536
925
  tier?: string;
1537
926
  }
927
+ interface TicketInfo {
928
+ /** The assignee of the ticket in the ticket system. */
929
+ assignee?: string;
930
+ /** The description of the ticket in the ticket system. */
931
+ description?: string;
932
+ /** The identifier of the ticket in the ticket system. */
933
+ id?: string;
934
+ /** The latest status of the ticket, as reported by the ticket system. */
935
+ status?: string;
936
+ /** The time when the ticket was last updated, as reported by the ticket system. */
937
+ updateTime?: string;
938
+ /** The link to the ticket in the ticket system. */
939
+ uri?: string;
940
+ }
1538
941
  interface VirtualMachineThreatDetectionSettings {
1539
942
  /** The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its parent's. */
1540
943
  modules?: {[P in string]: Config};
@@ -1550,6 +953,12 @@ declare namespace gapi.client {
1550
953
  interface Vulnerability {
1551
954
  /** CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/) */
1552
955
  cve?: Cve;
956
+ /** The fixed package is relevant to the finding. */
957
+ fixedPackage?: Package;
958
+ /** The offending package is relevant to the finding. */
959
+ offendingPackage?: Package;
960
+ /** The security bulletin is relevant to this finding. */
961
+ securityBulletin?: SecurityBulletin;
1553
962
  }
1554
963
  interface WebSecurityScannerSettings {
1555
964
  /** The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its parent's. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.securitycenter-v1beta2",
3
- "version": "0.0.20231208",
3
+ "version": "0.0.20240101",
4
4
  "description": "TypeScript typings for Security Command Center API v1beta2",
5
5
  "repository": {
6
6
  "type": "git",