@maxim_mazurok/gapi.client.securitycenter-v1beta2 0.0.20240203 → 0.0.20240213
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/index.d.ts +744 -1
- 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:
|
|
12
|
+
// Revision: 20240213
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -146,6 +146,24 @@ 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
|
+
}
|
|
149
167
|
interface Config {
|
|
150
168
|
/** The state of enablement for the module at its level of the resource hierarchy. */
|
|
151
169
|
moduleEnablementState?: string;
|
|
@@ -199,12 +217,20 @@ declare namespace gapi.client {
|
|
|
199
217
|
interface Cve {
|
|
200
218
|
/** Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document */
|
|
201
219
|
cvssv3?: Cvssv3;
|
|
220
|
+
/** The exploitation activity of the vulnerability in the wild. */
|
|
221
|
+
exploitationActivity?: string;
|
|
202
222
|
/** The unique identifier for the vulnerability. e.g. CVE-2021-34527 */
|
|
203
223
|
id?: string;
|
|
224
|
+
/** The potential impact of the vulnerability if it was to be exploited. */
|
|
225
|
+
impact?: string;
|
|
226
|
+
/** Whether or not the vulnerability has been observed in the wild. */
|
|
227
|
+
observedInTheWild?: boolean;
|
|
204
228
|
/** Additional information about the CVE. e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527 */
|
|
205
229
|
references?: Reference[];
|
|
206
230
|
/** Whether upstream fix is available for the CVE. */
|
|
207
231
|
upstreamFixAvailable?: boolean;
|
|
232
|
+
/** Whether or not the vulnerability was zero day when the finding was published. */
|
|
233
|
+
zeroDay?: boolean;
|
|
208
234
|
}
|
|
209
235
|
interface Cvssv3 {
|
|
210
236
|
/** This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability. */
|
|
@@ -673,6 +699,723 @@ declare namespace gapi.client {
|
|
|
673
699
|
/** Resource value mapping for medium-sensitivity Sensitive Data Protection findings */
|
|
674
700
|
mediumSensitivityMapping?: string;
|
|
675
701
|
}
|
|
702
|
+
interface GoogleCloudSecuritycenterV2Access {
|
|
703
|
+
/** Caller's IP address, such as "1.1.1.1". */
|
|
704
|
+
callerIp?: string;
|
|
705
|
+
/** The caller IP's geolocation, which identifies where the call came from. */
|
|
706
|
+
callerIpGeo?: GoogleCloudSecuritycenterV2Geolocation;
|
|
707
|
+
/** The method that the service account called, e.g. "SetIamPolicy". */
|
|
708
|
+
methodName?: string;
|
|
709
|
+
/** 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). */
|
|
710
|
+
principalEmail?: string;
|
|
711
|
+
/** 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}]`. */
|
|
712
|
+
principalSubject?: string;
|
|
713
|
+
/** 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. */
|
|
714
|
+
serviceAccountDelegationInfo?: GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo[];
|
|
715
|
+
/** 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}". */
|
|
716
|
+
serviceAccountKeyName?: string;
|
|
717
|
+
/** This is the API service that the service account made a call to, e.g. "iam.googleapis.com" */
|
|
718
|
+
serviceName?: string;
|
|
719
|
+
/** The caller's user agent string associated with the finding. */
|
|
720
|
+
userAgent?: string;
|
|
721
|
+
/** Type of user agent associated with the finding. For example, an operating system shell or an embedded or standalone application. */
|
|
722
|
+
userAgentFamily?: string;
|
|
723
|
+
/** 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. */
|
|
724
|
+
userName?: string;
|
|
725
|
+
}
|
|
726
|
+
interface GoogleCloudSecuritycenterV2AccessReview {
|
|
727
|
+
/** The API group of the resource. "*" means all. */
|
|
728
|
+
group?: string;
|
|
729
|
+
/** The name of the resource being requested. Empty means all. */
|
|
730
|
+
name?: string;
|
|
731
|
+
/** Namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces. Both are represented by "" (empty). */
|
|
732
|
+
ns?: string;
|
|
733
|
+
/** The optional resource type requested. "*" means all. */
|
|
734
|
+
resource?: string;
|
|
735
|
+
/** The optional subresource type. */
|
|
736
|
+
subresource?: string;
|
|
737
|
+
/** A Kubernetes resource API verb, like get, list, watch, create, update, delete, proxy. "*" means all. */
|
|
738
|
+
verb?: string;
|
|
739
|
+
/** The API version of the resource. "*" means all. */
|
|
740
|
+
version?: string;
|
|
741
|
+
}
|
|
742
|
+
interface GoogleCloudSecuritycenterV2Application {
|
|
743
|
+
/** 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 */
|
|
744
|
+
baseUri?: string;
|
|
745
|
+
/** 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 */
|
|
746
|
+
fullUri?: string;
|
|
747
|
+
}
|
|
748
|
+
interface GoogleCloudSecuritycenterV2AttackExposure {
|
|
749
|
+
/** 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 */
|
|
750
|
+
attackExposureResult?: string;
|
|
751
|
+
/** The number of high value resources that are exposed as a result of this finding. */
|
|
752
|
+
exposedHighValueResourcesCount?: number;
|
|
753
|
+
/** The number of high value resources that are exposed as a result of this finding. */
|
|
754
|
+
exposedLowValueResourcesCount?: number;
|
|
755
|
+
/** The number of medium value resources that are exposed as a result of this finding. */
|
|
756
|
+
exposedMediumValueResourcesCount?: number;
|
|
757
|
+
/** The most recent time the attack exposure was updated on this finding. */
|
|
758
|
+
latestCalculationTime?: string;
|
|
759
|
+
/** 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. */
|
|
760
|
+
score?: number;
|
|
761
|
+
/** Output only. What state this AttackExposure is in. This captures whether or not an attack exposure has been calculated or not. */
|
|
762
|
+
state?: string;
|
|
763
|
+
}
|
|
764
|
+
interface GoogleCloudSecuritycenterV2BackupDisasterRecovery {
|
|
765
|
+
/** The name of the Backup and DR appliance that captures, moves, and manages the lifecycle of backup data. For example, “backup-server-57137”. */
|
|
766
|
+
appliance?: string;
|
|
767
|
+
/** 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”. */
|
|
768
|
+
applications?: string[];
|
|
769
|
+
/** The timestamp at which the Backup and DR backup was created. */
|
|
770
|
+
backupCreateTime?: string;
|
|
771
|
+
/** 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”. */
|
|
772
|
+
backupTemplate?: string;
|
|
773
|
+
/** The backup type of the Backup and DR image. For example, “Snapshot”, “Remote Snapshot”, “OnVault”. */
|
|
774
|
+
backupType?: string;
|
|
775
|
+
/** 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”. */
|
|
776
|
+
host?: string;
|
|
777
|
+
/** 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”. */
|
|
778
|
+
policies?: string[];
|
|
779
|
+
/** 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”. */
|
|
780
|
+
policyOptions?: string[];
|
|
781
|
+
/** 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”. */
|
|
782
|
+
profile?: string;
|
|
783
|
+
/** 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”. */
|
|
784
|
+
storagePool?: string;
|
|
785
|
+
}
|
|
786
|
+
interface GoogleCloudSecuritycenterV2BigQueryExport {
|
|
787
|
+
/** 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. */
|
|
788
|
+
createTime?: string;
|
|
789
|
+
/** 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 (_). */
|
|
790
|
+
dataset?: string;
|
|
791
|
+
/** The description of the export (max of 1024 characters). */
|
|
792
|
+
description?: string;
|
|
793
|
+
/** 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. */
|
|
794
|
+
filter?: string;
|
|
795
|
+
/** 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. */
|
|
796
|
+
mostRecentEditor?: string;
|
|
797
|
+
/** 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. */
|
|
798
|
+
name?: string;
|
|
799
|
+
/** Output only. The service account that needs permission to create table and upload data to the BigQuery dataset. */
|
|
800
|
+
principal?: string;
|
|
801
|
+
/** 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. */
|
|
802
|
+
updateTime?: string;
|
|
803
|
+
}
|
|
804
|
+
interface GoogleCloudSecuritycenterV2Binding {
|
|
805
|
+
/** Name for the binding. */
|
|
806
|
+
name?: string;
|
|
807
|
+
/** Namespace for the binding. */
|
|
808
|
+
ns?: string;
|
|
809
|
+
/** The Role or ClusterRole referenced by the binding. */
|
|
810
|
+
role?: GoogleCloudSecuritycenterV2Role;
|
|
811
|
+
/** Represents one or more subjects that are bound to the role. Not always available for PATCH requests. */
|
|
812
|
+
subjects?: GoogleCloudSecuritycenterV2Subject[];
|
|
813
|
+
}
|
|
814
|
+
interface GoogleCloudSecuritycenterV2BulkMuteFindingsResponse {}
|
|
815
|
+
interface GoogleCloudSecuritycenterV2CloudDlpDataProfile {
|
|
816
|
+
/** Name of the data profile, for example, `projects/123/locations/europe/tableProfiles/8383929`. */
|
|
817
|
+
dataProfile?: string;
|
|
818
|
+
/** The resource hierarchy level at which the data profile was generated. */
|
|
819
|
+
parentType?: string;
|
|
820
|
+
}
|
|
821
|
+
interface GoogleCloudSecuritycenterV2CloudDlpInspection {
|
|
822
|
+
/** Whether Cloud DLP scanned the complete resource or a sampled subset. */
|
|
823
|
+
fullScan?: boolean;
|
|
824
|
+
/** The type of information (or *[infoType](https://cloud.google.com/dlp/docs/infotypes-reference)*) found, for example, `EMAIL_ADDRESS` or `STREET_ADDRESS`. */
|
|
825
|
+
infoType?: string;
|
|
826
|
+
/** The number of times Cloud DLP found this infoType within this job and resource. */
|
|
827
|
+
infoTypeCount?: string;
|
|
828
|
+
/** Name of the inspection job, for example, `projects/123/locations/europe/dlpJobs/i-8383929`. */
|
|
829
|
+
inspectJob?: string;
|
|
830
|
+
}
|
|
831
|
+
interface GoogleCloudSecuritycenterV2CloudLoggingEntry {
|
|
832
|
+
/** A unique identifier for the log entry. */
|
|
833
|
+
insertId?: string;
|
|
834
|
+
/** 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`. */
|
|
835
|
+
logId?: string;
|
|
836
|
+
/** The organization, folder, or project of the monitored resource that produced this log entry. */
|
|
837
|
+
resourceContainer?: string;
|
|
838
|
+
/** The time the event described by the log entry occurred. */
|
|
839
|
+
timestamp?: string;
|
|
840
|
+
}
|
|
841
|
+
interface GoogleCloudSecuritycenterV2Compliance {
|
|
842
|
+
/** Policies within the standard or benchmark, for example, A.12.4.1 */
|
|
843
|
+
ids?: string[];
|
|
844
|
+
/** Industry-wide compliance standards or benchmarks, such as CIS, PCI, and OWASP. */
|
|
845
|
+
standard?: string;
|
|
846
|
+
/** Version of the standard or benchmark, for example, 1.1 */
|
|
847
|
+
version?: string;
|
|
848
|
+
}
|
|
849
|
+
interface GoogleCloudSecuritycenterV2Connection {
|
|
850
|
+
/** Destination IP address. Not present for sockets that are listening and not connected. */
|
|
851
|
+
destinationIp?: string;
|
|
852
|
+
/** Destination port. Not present for sockets that are listening and not connected. */
|
|
853
|
+
destinationPort?: number;
|
|
854
|
+
/** IANA Internet Protocol Number such as TCP(6) and UDP(17). */
|
|
855
|
+
protocol?: string;
|
|
856
|
+
/** Source IP address. */
|
|
857
|
+
sourceIp?: string;
|
|
858
|
+
/** Source port. */
|
|
859
|
+
sourcePort?: number;
|
|
860
|
+
}
|
|
861
|
+
interface GoogleCloudSecuritycenterV2Contact {
|
|
862
|
+
/** An email address. For example, "`person123@company.com`". */
|
|
863
|
+
email?: string;
|
|
864
|
+
}
|
|
865
|
+
interface GoogleCloudSecuritycenterV2ContactDetails {
|
|
866
|
+
/** A list of contacts */
|
|
867
|
+
contacts?: GoogleCloudSecuritycenterV2Contact[];
|
|
868
|
+
}
|
|
869
|
+
interface GoogleCloudSecuritycenterV2Container {
|
|
870
|
+
/** The time that the container was created. */
|
|
871
|
+
createTime?: string;
|
|
872
|
+
/** Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest. */
|
|
873
|
+
imageId?: string;
|
|
874
|
+
/** Container labels, as provided by the container runtime. */
|
|
875
|
+
labels?: GoogleCloudSecuritycenterV2Label[];
|
|
876
|
+
/** Name of the container. */
|
|
877
|
+
name?: string;
|
|
878
|
+
/** Container image URI provided when configuring a pod or container. This string can identify a container image version using mutable tags. */
|
|
879
|
+
uri?: string;
|
|
880
|
+
}
|
|
881
|
+
interface GoogleCloudSecuritycenterV2Cve {
|
|
882
|
+
/** Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document */
|
|
883
|
+
cvssv3?: GoogleCloudSecuritycenterV2Cvssv3;
|
|
884
|
+
/** The exploitation activity of the vulnerability in the wild. */
|
|
885
|
+
exploitationActivity?: string;
|
|
886
|
+
/** The unique identifier for the vulnerability. e.g. CVE-2021-34527 */
|
|
887
|
+
id?: string;
|
|
888
|
+
/** The potential impact of the vulnerability if it was to be exploited. */
|
|
889
|
+
impact?: string;
|
|
890
|
+
/** Whether or not the vulnerability has been observed in the wild. */
|
|
891
|
+
observedInTheWild?: boolean;
|
|
892
|
+
/** Additional information about the CVE. e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527 */
|
|
893
|
+
references?: GoogleCloudSecuritycenterV2Reference[];
|
|
894
|
+
/** Whether upstream fix is available for the CVE. */
|
|
895
|
+
upstreamFixAvailable?: boolean;
|
|
896
|
+
/** Whether or not the vulnerability was zero day when the finding was published. */
|
|
897
|
+
zeroDay?: boolean;
|
|
898
|
+
}
|
|
899
|
+
interface GoogleCloudSecuritycenterV2Cvssv3 {
|
|
900
|
+
/** This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability. */
|
|
901
|
+
attackComplexity?: string;
|
|
902
|
+
/** 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. */
|
|
903
|
+
attackVector?: string;
|
|
904
|
+
/** This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability. */
|
|
905
|
+
availabilityImpact?: string;
|
|
906
|
+
/** The base score is a function of the base metric scores. */
|
|
907
|
+
baseScore?: number;
|
|
908
|
+
/** This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability. */
|
|
909
|
+
confidentialityImpact?: string;
|
|
910
|
+
/** This metric measures the impact to integrity of a successfully exploited vulnerability. */
|
|
911
|
+
integrityImpact?: string;
|
|
912
|
+
/** This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability. */
|
|
913
|
+
privilegesRequired?: string;
|
|
914
|
+
/** The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope. */
|
|
915
|
+
scope?: string;
|
|
916
|
+
/** This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component. */
|
|
917
|
+
userInteraction?: string;
|
|
918
|
+
}
|
|
919
|
+
interface GoogleCloudSecuritycenterV2Database {
|
|
920
|
+
/** The human-readable name of the database that the user connected to. */
|
|
921
|
+
displayName?: string;
|
|
922
|
+
/** The target usernames, roles, or groups of an SQL privilege grant, which is not an IAM policy change. */
|
|
923
|
+
grantees?: string[];
|
|
924
|
+
/** 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. */
|
|
925
|
+
name?: string;
|
|
926
|
+
/** The SQL statement that is associated with the database access. */
|
|
927
|
+
query?: string;
|
|
928
|
+
/** The username used to connect to the database. The username might not be an IAM principal and does not have a set format. */
|
|
929
|
+
userName?: string;
|
|
930
|
+
/** 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). */
|
|
931
|
+
version?: string;
|
|
932
|
+
}
|
|
933
|
+
interface GoogleCloudSecuritycenterV2Detection {
|
|
934
|
+
/** The name of the binary associated with the memory hash signature detection. */
|
|
935
|
+
binary?: string;
|
|
936
|
+
/** The percentage of memory page hashes in the signature that were matched. */
|
|
937
|
+
percentPagesMatched?: number;
|
|
938
|
+
}
|
|
939
|
+
interface GoogleCloudSecuritycenterV2DiskPath {
|
|
940
|
+
/** UUID of the partition (format https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid) */
|
|
941
|
+
partitionUuid?: string;
|
|
942
|
+
/** Relative path of the file in the partition as a JSON encoded string. Example: /home/user1/executable_file.sh */
|
|
943
|
+
relativePath?: string;
|
|
944
|
+
}
|
|
945
|
+
interface GoogleCloudSecuritycenterV2EnvironmentVariable {
|
|
946
|
+
/** Environment variable name as a JSON encoded string. */
|
|
947
|
+
name?: string;
|
|
948
|
+
/** Environment variable value as a JSON encoded string. */
|
|
949
|
+
val?: string;
|
|
950
|
+
}
|
|
951
|
+
interface GoogleCloudSecuritycenterV2ExfilResource {
|
|
952
|
+
/** 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. */
|
|
953
|
+
components?: string[];
|
|
954
|
+
/** The resource's [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name). */
|
|
955
|
+
name?: string;
|
|
956
|
+
}
|
|
957
|
+
interface GoogleCloudSecuritycenterV2Exfiltration {
|
|
958
|
+
/** 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. */
|
|
959
|
+
sources?: GoogleCloudSecuritycenterV2ExfilResource[];
|
|
960
|
+
/** If there are multiple targets, each target would get a complete copy of the "joined" source data. */
|
|
961
|
+
targets?: GoogleCloudSecuritycenterV2ExfilResource[];
|
|
962
|
+
/** Total exfiltrated bytes processed for the entire job. */
|
|
963
|
+
totalExfiltratedBytes?: string;
|
|
964
|
+
}
|
|
965
|
+
interface GoogleCloudSecuritycenterV2ExternalSystem {
|
|
966
|
+
/** References primary/secondary etc assignees in the external system. */
|
|
967
|
+
assignees?: string[];
|
|
968
|
+
/** The priority of the finding's corresponding case in the external system. */
|
|
969
|
+
casePriority?: string;
|
|
970
|
+
/** The SLA of the finding's corresponding case in the external system. */
|
|
971
|
+
caseSla?: string;
|
|
972
|
+
/** The link to the finding's corresponding case in the external system. */
|
|
973
|
+
caseUri?: string;
|
|
974
|
+
/** The time when the case was last updated, as reported by the external system. */
|
|
975
|
+
externalSystemUpdateTime?: string;
|
|
976
|
+
/** The identifier that's used to track the finding's corresponding case in the external system. */
|
|
977
|
+
externalUid?: string;
|
|
978
|
+
/** 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` */
|
|
979
|
+
name?: string;
|
|
980
|
+
/** The most recent status of the finding's corresponding case, as reported by the external system. */
|
|
981
|
+
status?: string;
|
|
982
|
+
/** Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding. */
|
|
983
|
+
ticketInfo?: GoogleCloudSecuritycenterV2TicketInfo;
|
|
984
|
+
}
|
|
985
|
+
interface GoogleCloudSecuritycenterV2File {
|
|
986
|
+
/** Prefix of the file contents as a JSON-encoded string. */
|
|
987
|
+
contents?: string;
|
|
988
|
+
/** Path of the file in terms of underlying disk/partition identifiers. */
|
|
989
|
+
diskPath?: GoogleCloudSecuritycenterV2DiskPath;
|
|
990
|
+
/** The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file. */
|
|
991
|
+
hashedSize?: string;
|
|
992
|
+
/** True when the hash covers only a prefix of the file. */
|
|
993
|
+
partiallyHashed?: boolean;
|
|
994
|
+
/** Absolute path of the file as a JSON encoded string. */
|
|
995
|
+
path?: string;
|
|
996
|
+
/** 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. */
|
|
997
|
+
sha256?: string;
|
|
998
|
+
/** Size of the file in bytes. */
|
|
999
|
+
size?: string;
|
|
1000
|
+
}
|
|
1001
|
+
interface GoogleCloudSecuritycenterV2Finding {
|
|
1002
|
+
/** Access details associated with the finding, such as more information on the caller, which method was accessed, and from where. */
|
|
1003
|
+
access?: GoogleCloudSecuritycenterV2Access;
|
|
1004
|
+
/** Represents an application associated with the finding. */
|
|
1005
|
+
application?: GoogleCloudSecuritycenterV2Application;
|
|
1006
|
+
/** The results of an attack path simulation relevant to this finding. */
|
|
1007
|
+
attackExposure?: GoogleCloudSecuritycenterV2AttackExposure;
|
|
1008
|
+
/** Fields related to Backup and DR findings. */
|
|
1009
|
+
backupDisasterRecovery?: GoogleCloudSecuritycenterV2BackupDisasterRecovery;
|
|
1010
|
+
/** 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. */
|
|
1011
|
+
canonicalName?: string;
|
|
1012
|
+
/** Immutable. The additional taxonomy group within findings from a given source. Example: "XSS_FLASH_INJECTION" */
|
|
1013
|
+
category?: string;
|
|
1014
|
+
/** Cloud DLP data profile that is associated with the finding. */
|
|
1015
|
+
cloudDlpDataProfile?: GoogleCloudSecuritycenterV2CloudDlpDataProfile;
|
|
1016
|
+
/** Cloud Data Loss Prevention (Cloud DLP) inspection results that are associated with the finding. */
|
|
1017
|
+
cloudDlpInspection?: GoogleCloudSecuritycenterV2CloudDlpInspection;
|
|
1018
|
+
/** Contains compliance information for security standards associated to the finding. */
|
|
1019
|
+
compliances?: GoogleCloudSecuritycenterV2Compliance[];
|
|
1020
|
+
/** Contains information about the IP connection associated with the finding. */
|
|
1021
|
+
connections?: GoogleCloudSecuritycenterV2Connection[];
|
|
1022
|
+
/** 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" } ] } } */
|
|
1023
|
+
contacts?: {[P in string]: GoogleCloudSecuritycenterV2ContactDetails};
|
|
1024
|
+
/** Containers associated with the finding. This field provides information for both Kubernetes and non-Kubernetes containers. */
|
|
1025
|
+
containers?: GoogleCloudSecuritycenterV2Container[];
|
|
1026
|
+
/** Output only. The time at which the finding was created in Security Command Center. */
|
|
1027
|
+
createTime?: string;
|
|
1028
|
+
/** Database associated with the finding. */
|
|
1029
|
+
database?: GoogleCloudSecuritycenterV2Database;
|
|
1030
|
+
/** Contains more details about the finding. */
|
|
1031
|
+
description?: string;
|
|
1032
|
+
/** 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. */
|
|
1033
|
+
eventTime?: string;
|
|
1034
|
+
/** Represents exfiltrations associated with the finding. */
|
|
1035
|
+
exfiltration?: GoogleCloudSecuritycenterV2Exfiltration;
|
|
1036
|
+
/** Output only. Third party SIEM/SOAR fields within SCC, contains external system information and external system finding fields. */
|
|
1037
|
+
externalSystems?: {
|
|
1038
|
+
[P in string]: GoogleCloudSecuritycenterV2ExternalSystem;
|
|
1039
|
+
};
|
|
1040
|
+
/** 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. */
|
|
1041
|
+
externalUri?: string;
|
|
1042
|
+
/** File associated with the finding. */
|
|
1043
|
+
files?: GoogleCloudSecuritycenterV2File[];
|
|
1044
|
+
/** The class of the finding. */
|
|
1045
|
+
findingClass?: string;
|
|
1046
|
+
/** Represents IAM bindings associated with the finding. */
|
|
1047
|
+
iamBindings?: GoogleCloudSecuritycenterV2IamBinding[];
|
|
1048
|
+
/** 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). */
|
|
1049
|
+
indicator?: GoogleCloudSecuritycenterV2Indicator;
|
|
1050
|
+
/** Signature of the kernel rootkit. */
|
|
1051
|
+
kernelRootkit?: GoogleCloudSecuritycenterV2KernelRootkit;
|
|
1052
|
+
/** Kubernetes resources associated with the finding. */
|
|
1053
|
+
kubernetes?: GoogleCloudSecuritycenterV2Kubernetes;
|
|
1054
|
+
/** The load balancers associated with the finding. */
|
|
1055
|
+
loadBalancers?: GoogleCloudSecuritycenterV2LoadBalancer[];
|
|
1056
|
+
/** Log entries that are relevant to the finding. */
|
|
1057
|
+
logEntries?: GoogleCloudSecuritycenterV2LogEntry[];
|
|
1058
|
+
/** MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org */
|
|
1059
|
+
mitreAttack?: GoogleCloudSecuritycenterV2MitreAttack;
|
|
1060
|
+
/** Unique identifier of the module which generated the finding. Example: folders/598186756061/securityHealthAnalyticsSettings/customModules/56799441161885 */
|
|
1061
|
+
moduleName?: string;
|
|
1062
|
+
/** 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. */
|
|
1063
|
+
mute?: string;
|
|
1064
|
+
/** 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. */
|
|
1065
|
+
muteInitiator?: string;
|
|
1066
|
+
/** Output only. The most recent time this finding was muted or unmuted. */
|
|
1067
|
+
muteUpdateTime?: string;
|
|
1068
|
+
/** 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}` */
|
|
1069
|
+
name?: string;
|
|
1070
|
+
/** Steps to address the finding. */
|
|
1071
|
+
nextSteps?: string;
|
|
1072
|
+
/** Contains information about the org policies associated with the finding. */
|
|
1073
|
+
orgPolicies?: GoogleCloudSecuritycenterV2OrgPolicy[];
|
|
1074
|
+
/** 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}` */
|
|
1075
|
+
parent?: string;
|
|
1076
|
+
/** Output only. The human readable display name of the finding source such as "Event Threat Detection" or "Security Health Analytics". */
|
|
1077
|
+
parentDisplayName?: string;
|
|
1078
|
+
/** Represents operating system processes associated with the Finding. */
|
|
1079
|
+
processes?: GoogleCloudSecuritycenterV2Process[];
|
|
1080
|
+
/** 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. */
|
|
1081
|
+
resourceName?: string;
|
|
1082
|
+
/** 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. */
|
|
1083
|
+
securityMarks?: GoogleCloudSecuritycenterV2SecurityMarks;
|
|
1084
|
+
/** The security posture associated with the finding. */
|
|
1085
|
+
securityPosture?: GoogleCloudSecuritycenterV2SecurityPosture;
|
|
1086
|
+
/** The severity of the finding. This field is managed by the source that writes the finding. */
|
|
1087
|
+
severity?: string;
|
|
1088
|
+
/** 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. */
|
|
1089
|
+
sourceProperties?: {[P in string]: any};
|
|
1090
|
+
/** Output only. The state of the finding. */
|
|
1091
|
+
state?: string;
|
|
1092
|
+
/** Represents vulnerability-specific fields like CVE and CVSS scores. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/) */
|
|
1093
|
+
vulnerability?: GoogleCloudSecuritycenterV2Vulnerability;
|
|
1094
|
+
}
|
|
1095
|
+
interface GoogleCloudSecuritycenterV2Geolocation {
|
|
1096
|
+
/** A CLDR. */
|
|
1097
|
+
regionCode?: string;
|
|
1098
|
+
}
|
|
1099
|
+
interface GoogleCloudSecuritycenterV2IamBinding {
|
|
1100
|
+
/** The action that was performed on a Binding. */
|
|
1101
|
+
action?: string;
|
|
1102
|
+
/** A single identity requesting access for a Cloud Platform resource, for example, "foo@google.com". */
|
|
1103
|
+
member?: string;
|
|
1104
|
+
/** Role that is assigned to "members". For example, "roles/viewer", "roles/editor", or "roles/owner". */
|
|
1105
|
+
role?: string;
|
|
1106
|
+
}
|
|
1107
|
+
interface GoogleCloudSecuritycenterV2Indicator {
|
|
1108
|
+
/** List of domains associated to the Finding. */
|
|
1109
|
+
domains?: string[];
|
|
1110
|
+
/** The list of IP addresses that are associated with the finding. */
|
|
1111
|
+
ipAddresses?: string[];
|
|
1112
|
+
/** The list of matched signatures indicating that the given process is present in the environment. */
|
|
1113
|
+
signatures?: GoogleCloudSecuritycenterV2ProcessSignature[];
|
|
1114
|
+
/** The list of URIs associated to the Findings. */
|
|
1115
|
+
uris?: string[];
|
|
1116
|
+
}
|
|
1117
|
+
interface GoogleCloudSecuritycenterV2KernelRootkit {
|
|
1118
|
+
/** Rootkit name, when available. */
|
|
1119
|
+
name?: string;
|
|
1120
|
+
/** True if unexpected modifications of kernel code memory are present. */
|
|
1121
|
+
unexpectedCodeModification?: boolean;
|
|
1122
|
+
/** True if `ftrace` points are present with callbacks pointing to regions that are not in the expected kernel or module code range. */
|
|
1123
|
+
unexpectedFtraceHandler?: boolean;
|
|
1124
|
+
/** True if interrupt handlers that are are not in the expected kernel or module code regions are present. */
|
|
1125
|
+
unexpectedInterruptHandler?: boolean;
|
|
1126
|
+
/** True if kernel code pages that are not in the expected kernel or module code regions are present. */
|
|
1127
|
+
unexpectedKernelCodePages?: boolean;
|
|
1128
|
+
/** True if `kprobe` points are present with callbacks pointing to regions that are not in the expected kernel or module code range. */
|
|
1129
|
+
unexpectedKprobeHandler?: boolean;
|
|
1130
|
+
/** 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. */
|
|
1131
|
+
unexpectedProcessesInRunqueue?: boolean;
|
|
1132
|
+
/** True if unexpected modifications of kernel read-only data memory are present. */
|
|
1133
|
+
unexpectedReadOnlyDataModification?: boolean;
|
|
1134
|
+
/** True if system call handlers that are are not in the expected kernel or module code regions are present. */
|
|
1135
|
+
unexpectedSystemCallHandler?: boolean;
|
|
1136
|
+
}
|
|
1137
|
+
interface GoogleCloudSecuritycenterV2Kubernetes {
|
|
1138
|
+
/** Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding. */
|
|
1139
|
+
accessReviews?: GoogleCloudSecuritycenterV2AccessReview[];
|
|
1140
|
+
/** 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). */
|
|
1141
|
+
bindings?: GoogleCloudSecuritycenterV2Binding[];
|
|
1142
|
+
/** 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. */
|
|
1143
|
+
nodePools?: GoogleCloudSecuritycenterV2NodePool[];
|
|
1144
|
+
/** Provides Kubernetes [node](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture#nodes) information. */
|
|
1145
|
+
nodes?: GoogleCloudSecuritycenterV2Node[];
|
|
1146
|
+
/** Kubernetes objects related to the finding. */
|
|
1147
|
+
objects?: GoogleCloudSecuritycenterV2Object[];
|
|
1148
|
+
/** 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. */
|
|
1149
|
+
pods?: GoogleCloudSecuritycenterV2Pod[];
|
|
1150
|
+
/** Provides Kubernetes role information for findings that involve [Roles or ClusterRoles](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control). */
|
|
1151
|
+
roles?: GoogleCloudSecuritycenterV2Role[];
|
|
1152
|
+
}
|
|
1153
|
+
interface GoogleCloudSecuritycenterV2Label {
|
|
1154
|
+
/** Name of the label. */
|
|
1155
|
+
name?: string;
|
|
1156
|
+
/** Value that corresponds to the label's name. */
|
|
1157
|
+
value?: string;
|
|
1158
|
+
}
|
|
1159
|
+
interface GoogleCloudSecuritycenterV2LoadBalancer {
|
|
1160
|
+
/** The name of the load balancer associated with the finding. */
|
|
1161
|
+
name?: string;
|
|
1162
|
+
}
|
|
1163
|
+
interface GoogleCloudSecuritycenterV2LogEntry {
|
|
1164
|
+
/** An individual entry in a log stored in Cloud Logging. */
|
|
1165
|
+
cloudLoggingEntry?: GoogleCloudSecuritycenterV2CloudLoggingEntry;
|
|
1166
|
+
}
|
|
1167
|
+
interface GoogleCloudSecuritycenterV2MemoryHashSignature {
|
|
1168
|
+
/** The binary family. */
|
|
1169
|
+
binaryFamily?: string;
|
|
1170
|
+
/** The list of memory hash detections contributing to the binary family match. */
|
|
1171
|
+
detections?: GoogleCloudSecuritycenterV2Detection[];
|
|
1172
|
+
}
|
|
1173
|
+
interface GoogleCloudSecuritycenterV2MitreAttack {
|
|
1174
|
+
/** Additional MITRE ATT&CK tactics related to this finding, if any. */
|
|
1175
|
+
additionalTactics?: string[];
|
|
1176
|
+
/** Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques. */
|
|
1177
|
+
additionalTechniques?: string[];
|
|
1178
|
+
/** The MITRE ATT&CK tactic most closely represented by this finding, if any. */
|
|
1179
|
+
primaryTactic?: string;
|
|
1180
|
+
/** 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`). */
|
|
1181
|
+
primaryTechniques?: string[];
|
|
1182
|
+
/** The MITRE ATT&CK version referenced by the above fields. E.g. "8". */
|
|
1183
|
+
version?: string;
|
|
1184
|
+
}
|
|
1185
|
+
interface GoogleCloudSecuritycenterV2MuteConfig {
|
|
1186
|
+
/** 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. */
|
|
1187
|
+
createTime?: string;
|
|
1188
|
+
/** A description of the mute config. */
|
|
1189
|
+
description?: string;
|
|
1190
|
+
/** 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: `=`, `:` */
|
|
1191
|
+
filter?: string;
|
|
1192
|
+
/** 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. */
|
|
1193
|
+
mostRecentEditor?: string;
|
|
1194
|
+
/** 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}` */
|
|
1195
|
+
name?: string;
|
|
1196
|
+
/** Required. The type of the mute config, which determines what type of mute state the config affects. Immutable after creation. */
|
|
1197
|
+
type?: string;
|
|
1198
|
+
/** 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. */
|
|
1199
|
+
updateTime?: string;
|
|
1200
|
+
}
|
|
1201
|
+
interface GoogleCloudSecuritycenterV2Node {
|
|
1202
|
+
/** [Full resource name](https://google.aip.dev/122#full-resource-names) of the Compute Engine VM running the cluster node. */
|
|
1203
|
+
name?: string;
|
|
1204
|
+
}
|
|
1205
|
+
interface GoogleCloudSecuritycenterV2NodePool {
|
|
1206
|
+
/** Kubernetes node pool name. */
|
|
1207
|
+
name?: string;
|
|
1208
|
+
/** Nodes associated with the finding. */
|
|
1209
|
+
nodes?: GoogleCloudSecuritycenterV2Node[];
|
|
1210
|
+
}
|
|
1211
|
+
interface GoogleCloudSecuritycenterV2NotificationMessage {
|
|
1212
|
+
/** If it's a Finding based notification config, this field will be populated. */
|
|
1213
|
+
finding?: GoogleCloudSecuritycenterV2Finding;
|
|
1214
|
+
/** Name of the notification config that generated current notification. */
|
|
1215
|
+
notificationConfigName?: string;
|
|
1216
|
+
/** The Cloud resource tied to this notification's Finding. */
|
|
1217
|
+
resource?: GoogleCloudSecuritycenterV2Resource;
|
|
1218
|
+
}
|
|
1219
|
+
interface GoogleCloudSecuritycenterV2Object {
|
|
1220
|
+
/** Pod containers associated with this finding, if any. */
|
|
1221
|
+
containers?: GoogleCloudSecuritycenterV2Container[];
|
|
1222
|
+
/** Kubernetes object group, such as "policy.k8s.io/v1". */
|
|
1223
|
+
group?: string;
|
|
1224
|
+
/** Kubernetes object kind, such as "Namespace". */
|
|
1225
|
+
kind?: string;
|
|
1226
|
+
/** Kubernetes object name. For details see https://kubernetes.io/docs/concepts/overview/working-with-objects/names/. */
|
|
1227
|
+
name?: string;
|
|
1228
|
+
/** 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/. */
|
|
1229
|
+
ns?: string;
|
|
1230
|
+
}
|
|
1231
|
+
interface GoogleCloudSecuritycenterV2OrgPolicy {
|
|
1232
|
+
/** The resource name of the org policy. Example: "organizations/{organization_id}/policies/{constraint_name}" */
|
|
1233
|
+
name?: string;
|
|
1234
|
+
}
|
|
1235
|
+
interface GoogleCloudSecuritycenterV2Package {
|
|
1236
|
+
/** The CPE URI where the vulnerability was detected. */
|
|
1237
|
+
cpeUri?: string;
|
|
1238
|
+
/** The name of the package where the vulnerability was detected. */
|
|
1239
|
+
packageName?: string;
|
|
1240
|
+
/** Type of package, for example, os, maven, or go. */
|
|
1241
|
+
packageType?: string;
|
|
1242
|
+
/** The version of the package. */
|
|
1243
|
+
packageVersion?: string;
|
|
1244
|
+
}
|
|
1245
|
+
interface GoogleCloudSecuritycenterV2Pod {
|
|
1246
|
+
/** Pod containers associated with this finding, if any. */
|
|
1247
|
+
containers?: GoogleCloudSecuritycenterV2Container[];
|
|
1248
|
+
/** Pod labels. For Kubernetes containers, these are applied to the container. */
|
|
1249
|
+
labels?: GoogleCloudSecuritycenterV2Label[];
|
|
1250
|
+
/** Kubernetes Pod name. */
|
|
1251
|
+
name?: string;
|
|
1252
|
+
/** Kubernetes Pod namespace. */
|
|
1253
|
+
ns?: string;
|
|
1254
|
+
}
|
|
1255
|
+
interface GoogleCloudSecuritycenterV2PolicyDriftDetails {
|
|
1256
|
+
/** The detected value that violates the deployed posture, for example, `false` or `allowed_values={"projects/22831892”}`. */
|
|
1257
|
+
detectedValue?: string;
|
|
1258
|
+
/** The value of this field that was configured in a posture, for example, `true` or `allowed_values={"projects/29831892”}`. */
|
|
1259
|
+
expectedValue?: string;
|
|
1260
|
+
/** The name of the updated field, for example constraint.implementation.policy_rules[0].enforce */
|
|
1261
|
+
field?: string;
|
|
1262
|
+
}
|
|
1263
|
+
interface GoogleCloudSecuritycenterV2Process {
|
|
1264
|
+
/** Process arguments as JSON encoded strings. */
|
|
1265
|
+
args?: string[];
|
|
1266
|
+
/** True if `args` is incomplete. */
|
|
1267
|
+
argumentsTruncated?: boolean;
|
|
1268
|
+
/** File information for the process executable. */
|
|
1269
|
+
binary?: GoogleCloudSecuritycenterV2File;
|
|
1270
|
+
/** Process environment variables. */
|
|
1271
|
+
envVariables?: GoogleCloudSecuritycenterV2EnvironmentVariable[];
|
|
1272
|
+
/** True if `env_variables` is incomplete. */
|
|
1273
|
+
envVariablesTruncated?: boolean;
|
|
1274
|
+
/** File information for libraries loaded by the process. */
|
|
1275
|
+
libraries?: GoogleCloudSecuritycenterV2File[];
|
|
1276
|
+
/** 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)`. */
|
|
1277
|
+
name?: string;
|
|
1278
|
+
/** The parent process ID. */
|
|
1279
|
+
parentPid?: string;
|
|
1280
|
+
/** The process ID. */
|
|
1281
|
+
pid?: string;
|
|
1282
|
+
/** 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. */
|
|
1283
|
+
script?: GoogleCloudSecuritycenterV2File;
|
|
1284
|
+
}
|
|
1285
|
+
interface GoogleCloudSecuritycenterV2ProcessSignature {
|
|
1286
|
+
/** Signature indicating that a binary family was matched. */
|
|
1287
|
+
memoryHashSignature?: GoogleCloudSecuritycenterV2MemoryHashSignature;
|
|
1288
|
+
/** Describes the type of resource associated with the signature. */
|
|
1289
|
+
signatureType?: string;
|
|
1290
|
+
/** Signature indicating that a YARA rule was matched. */
|
|
1291
|
+
yaraRuleSignature?: GoogleCloudSecuritycenterV2YaraRuleSignature;
|
|
1292
|
+
}
|
|
1293
|
+
interface GoogleCloudSecuritycenterV2Reference {
|
|
1294
|
+
/** Source of the reference e.g. NVD */
|
|
1295
|
+
source?: string;
|
|
1296
|
+
/** Uri for the mentioned source e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527. */
|
|
1297
|
+
uri?: string;
|
|
1298
|
+
}
|
|
1299
|
+
interface GoogleCloudSecuritycenterV2Resource {
|
|
1300
|
+
/** The human readable name of the resource. */
|
|
1301
|
+
displayName?: string;
|
|
1302
|
+
/** The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name */
|
|
1303
|
+
name?: string;
|
|
1304
|
+
/** The full resource type of the resource. */
|
|
1305
|
+
type?: string;
|
|
1306
|
+
}
|
|
1307
|
+
interface GoogleCloudSecuritycenterV2ResourceValueConfig {
|
|
1308
|
+
/** Output only. Timestamp this resource value config was created. */
|
|
1309
|
+
createTime?: string;
|
|
1310
|
+
/** Description of the resource value config. */
|
|
1311
|
+
description?: string;
|
|
1312
|
+
/** Name for the resource value config */
|
|
1313
|
+
name?: string;
|
|
1314
|
+
/** 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 */
|
|
1315
|
+
resourceLabelsSelector?: {[P in string]: string};
|
|
1316
|
+
/** 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. */
|
|
1317
|
+
resourceType?: string;
|
|
1318
|
+
/** Resource value level this expression represents Only required when there is no SDP mapping in the request */
|
|
1319
|
+
resourceValue?: string;
|
|
1320
|
+
/** 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. */
|
|
1321
|
+
scope?: string;
|
|
1322
|
+
/** 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". */
|
|
1323
|
+
sensitiveDataProtectionMapping?: GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping;
|
|
1324
|
+
/** 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 */
|
|
1325
|
+
tagValues?: string[];
|
|
1326
|
+
/** Output only. Timestamp this resource value config was last updated. */
|
|
1327
|
+
updateTime?: string;
|
|
1328
|
+
}
|
|
1329
|
+
interface GoogleCloudSecuritycenterV2Role {
|
|
1330
|
+
/** Role type. */
|
|
1331
|
+
kind?: string;
|
|
1332
|
+
/** Role name. */
|
|
1333
|
+
name?: string;
|
|
1334
|
+
/** Role namespace. */
|
|
1335
|
+
ns?: string;
|
|
1336
|
+
}
|
|
1337
|
+
interface GoogleCloudSecuritycenterV2SecurityBulletin {
|
|
1338
|
+
/** ID of the bulletin corresponding to the vulnerability. */
|
|
1339
|
+
bulletinId?: string;
|
|
1340
|
+
/** Submission time of this Security Bulletin. */
|
|
1341
|
+
submissionTime?: string;
|
|
1342
|
+
/** This represents a version that the cluster receiving this notification should be upgraded to, based on its current version. For example, 1.15.0 */
|
|
1343
|
+
suggestedUpgradeVersion?: string;
|
|
1344
|
+
}
|
|
1345
|
+
interface GoogleCloudSecuritycenterV2SecurityMarks {
|
|
1346
|
+
/** 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" */
|
|
1347
|
+
canonicalName?: string;
|
|
1348
|
+
/** 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) */
|
|
1349
|
+
marks?: {[P in string]: string};
|
|
1350
|
+
/** 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` */
|
|
1351
|
+
name?: string;
|
|
1352
|
+
}
|
|
1353
|
+
interface GoogleCloudSecuritycenterV2SecurityPosture {
|
|
1354
|
+
/** The name of the updated policy, for example, `projects/{project_id}/policies/{constraint_name}`. */
|
|
1355
|
+
changedPolicy?: string;
|
|
1356
|
+
/** Name of the posture, for example, `CIS-Posture`. */
|
|
1357
|
+
name?: string;
|
|
1358
|
+
/** The ID of the updated policy, for example, `compute-policy-1`. */
|
|
1359
|
+
policy?: string;
|
|
1360
|
+
/** The details about a change in an updated policy that violates the deployed posture. */
|
|
1361
|
+
policyDriftDetails?: GoogleCloudSecuritycenterV2PolicyDriftDetails[];
|
|
1362
|
+
/** The name of the updated policy set, for example, `cis-policyset`. */
|
|
1363
|
+
policySet?: string;
|
|
1364
|
+
/** The name of the posture deployment, for example, `organizations/{org_id}/posturedeployments/{posture_deployment_id}`. */
|
|
1365
|
+
postureDeployment?: string;
|
|
1366
|
+
/** The project, folder, or organization on which the posture is deployed, for example, `projects/{project_number}`. */
|
|
1367
|
+
postureDeploymentResource?: string;
|
|
1368
|
+
/** The version of the posture, for example, `c7cfa2a8`. */
|
|
1369
|
+
revisionId?: string;
|
|
1370
|
+
}
|
|
1371
|
+
interface GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping {
|
|
1372
|
+
/** Resource value mapping for high-sensitivity Sensitive Data Protection findings */
|
|
1373
|
+
highSensitivityMapping?: string;
|
|
1374
|
+
/** Resource value mapping for medium-sensitivity Sensitive Data Protection findings */
|
|
1375
|
+
mediumSensitivityMapping?: string;
|
|
1376
|
+
}
|
|
1377
|
+
interface GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo {
|
|
1378
|
+
/** The email address of a Google account. */
|
|
1379
|
+
principalEmail?: string;
|
|
1380
|
+
/** 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}]` */
|
|
1381
|
+
principalSubject?: string;
|
|
1382
|
+
}
|
|
1383
|
+
interface GoogleCloudSecuritycenterV2Subject {
|
|
1384
|
+
/** Authentication type for the subject. */
|
|
1385
|
+
kind?: string;
|
|
1386
|
+
/** Name for the subject. */
|
|
1387
|
+
name?: string;
|
|
1388
|
+
/** Namespace for the subject. */
|
|
1389
|
+
ns?: string;
|
|
1390
|
+
}
|
|
1391
|
+
interface GoogleCloudSecuritycenterV2TicketInfo {
|
|
1392
|
+
/** The assignee of the ticket in the ticket system. */
|
|
1393
|
+
assignee?: string;
|
|
1394
|
+
/** The description of the ticket in the ticket system. */
|
|
1395
|
+
description?: string;
|
|
1396
|
+
/** The identifier of the ticket in the ticket system. */
|
|
1397
|
+
id?: string;
|
|
1398
|
+
/** The latest status of the ticket, as reported by the ticket system. */
|
|
1399
|
+
status?: string;
|
|
1400
|
+
/** The time when the ticket was last updated, as reported by the ticket system. */
|
|
1401
|
+
updateTime?: string;
|
|
1402
|
+
/** The link to the ticket in the ticket system. */
|
|
1403
|
+
uri?: string;
|
|
1404
|
+
}
|
|
1405
|
+
interface GoogleCloudSecuritycenterV2Vulnerability {
|
|
1406
|
+
/** CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/) */
|
|
1407
|
+
cve?: GoogleCloudSecuritycenterV2Cve;
|
|
1408
|
+
/** The fixed package is relevant to the finding. */
|
|
1409
|
+
fixedPackage?: GoogleCloudSecuritycenterV2Package;
|
|
1410
|
+
/** The offending package is relevant to the finding. */
|
|
1411
|
+
offendingPackage?: GoogleCloudSecuritycenterV2Package;
|
|
1412
|
+
/** The security bulletin is relevant to this finding. */
|
|
1413
|
+
securityBulletin?: GoogleCloudSecuritycenterV2SecurityBulletin;
|
|
1414
|
+
}
|
|
1415
|
+
interface GoogleCloudSecuritycenterV2YaraRuleSignature {
|
|
1416
|
+
/** The name of the YARA rule. */
|
|
1417
|
+
yaraRule?: string;
|
|
1418
|
+
}
|
|
676
1419
|
interface IamBinding {
|
|
677
1420
|
/** The action that was performed on a Binding. */
|
|
678
1421
|
action?: string;
|