Skip to content

Commit

Permalink
feat!: Add files field to finding's list of attributes (#515)
Browse files Browse the repository at this point in the history
* feat!: Adding project/folder level parents to notification configs in SCC

PiperOrigin-RevId: 481230115

Source-Link: googleapis/googleapis@94efa50

Source-Link: googleapis/googleapis-gen@cf106b5
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2YxMDZiNWMwZDRmNzI3YThiZmM4ZTIzNzQ5MzMwNDIxZjQwYjgxNyJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* feat: Add files field to finding's list of attributes

PiperOrigin-RevId: 488290111

Source-Link: googleapis/googleapis@7349e1c

Source-Link: googleapis/googleapis-gen@721049d
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNzIxMDQ5ZDUxMmRlZWJhYTk2ZDQzOGFhMjNlOTcwMjk5ZDk3NzEyYiJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* Update deleteNotificationConfig.js

* Update getNotificationConfig.js

* Update updateNotificationConfig.js

* Update notifications.test.js

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: sofisl <[email protected]>
  • Loading branch information
3 people authored Nov 17, 2022
1 parent 9b39a05 commit 939a353
Show file tree
Hide file tree
Showing 25 changed files with 725 additions and 339 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import "google/cloud/securitycenter/v1/container.proto";
import "google/cloud/securitycenter/v1/database.proto";
import "google/cloud/securitycenter/v1/exfiltration.proto";
import "google/cloud/securitycenter/v1/external_system.proto";
import "google/cloud/securitycenter/v1/file.proto";
import "google/cloud/securitycenter/v1/iam_binding.proto";
import "google/cloud/securitycenter/v1/indicator.proto";
import "google/cloud/securitycenter/v1/kubernetes.proto";
Expand Down Expand Up @@ -332,4 +333,7 @@ message Finding {

// Database associated with the finding.
Database database = 44;

// File associated with the finding.
repeated File files = 46;
}
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,9 @@ message MitreAttack {

// T1548
ABUSE_ELEVATION_CONTROL_MECHANISM = 34;

// T1078.001
DEFAULT_ACCOUNTS = 35;
}

// The MITRE ATT&CK tactic most closely represented by this finding, if any.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ message NotificationConfig {
option (google.api.resource) = {
type: "securitycenter.googleapis.com/NotificationConfig"
pattern: "organizations/{organization}/notificationConfigs/{notification_config}"
pattern: "folders/{folder}/notificationConfigs/{notification_config}"
pattern: "projects/{project}/notificationConfigs/{notification_config}"
};

// The config for streaming-based notifications, which send each event as soon
Expand Down
Loading

0 comments on commit 939a353

Please sign in to comment.