Skip to content

Commit 7349e1c

Browse files
Google APIscopybara-github
authored andcommitted
feat: Add files field to finding's list of attributes
PiperOrigin-RevId: 488290111
1 parent 08f275f commit 7349e1c

3 files changed

Lines changed: 12 additions & 5 deletions

File tree

google/cloud/securitycenter/v1/finding.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import "google/cloud/securitycenter/v1/container.proto";
2626
import "google/cloud/securitycenter/v1/database.proto";
2727
import "google/cloud/securitycenter/v1/exfiltration.proto";
2828
import "google/cloud/securitycenter/v1/external_system.proto";
29+
import "google/cloud/securitycenter/v1/file.proto";
2930
import "google/cloud/securitycenter/v1/iam_binding.proto";
3031
import "google/cloud/securitycenter/v1/indicator.proto";
3132
import "google/cloud/securitycenter/v1/kubernetes.proto";
@@ -332,4 +333,7 @@ message Finding {
332333

333334
// Database associated with the finding.
334335
Database database = 44;
336+
337+
// File associated with the finding.
338+
repeated File files = 46;
335339
}

google/cloud/securitycenter/v1/mitre_attack.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,9 @@ message MitreAttack {
183183

184184
// T1548
185185
ABUSE_ELEVATION_CONTROL_MECHANISM = 34;
186+
187+
// T1078.001
188+
DEFAULT_ACCOUNTS = 35;
186189
}
187190

188191
// The MITRE ATT&CK tactic most closely represented by this finding, if any.

google/cloud/securitycenter/v1/securitycenter_service.proto

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1655,7 +1655,7 @@ message SetFindingStateRequest {
16551655
// Required. The relative resource name of the finding. See:
16561656
// https://cloud.google.com/apis/design/resource_names#relative_resource_name
16571657
// Example:
1658-
// "organizations/{organization_id}/sources/{source_id}/finding/{finding_id}".
1658+
// "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}".
16591659
string name = 1 [
16601660
(google.api.field_behavior) = REQUIRED,
16611661
(google.api.resource_reference) = {
@@ -1676,9 +1676,9 @@ message SetMuteRequest {
16761676
// Required. The relative resource name of the finding. See:
16771677
// https://cloud.google.com/apis/design/resource_names#relative_resource_name
16781678
// Example:
1679-
// "organizations/{organization_id}/sources/{source_id}/finding/{finding_id}",
1680-
// "folders/{folder_id}/sources/{source_id}/finding/{finding_id}",
1681-
// "projects/{project_id}/sources/{source_id}/finding/{finding_id}".
1679+
// "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
1680+
// "folders/{folder_id}/sources/{source_id}/findings/{finding_id}",
1681+
// "projects/{project_id}/sources/{source_id}/findings/{finding_id}".
16821682
string name = 1 [
16831683
(google.api.field_behavior) = REQUIRED,
16841684
(google.api.resource_reference) = {
@@ -1829,7 +1829,7 @@ message UpdateBigQueryExportRequest {
18291829
google.protobuf.FieldMask update_mask = 2;
18301830
}
18311831

1832-
// Request message for listing BigQuery exports at a given scope e.g.
1832+
// Request message for listing BigQuery exports at a given scope e.g.
18331833
// organization, folder or project.
18341834
message ListBigQueryExportsRequest {
18351835
// Required. The parent, which owns the collection of BigQuery exports. Its

0 commit comments

Comments
 (0)