Skip to content

Commit

Permalink
update permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagoasousa committed Sep 21, 2023
1 parent d7e86b1 commit bc4691a
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions internal/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ var ServiceAccountScopes = []string{
"admin:digital_trust_settings",
"admin:identity_providers",
"admin:projects",
"admin:project_dashboards",
"admin:reports",
"admin:security_settings",
"admin:users",
Expand All @@ -38,12 +39,15 @@ var ServiceAccountScopes = []string{
"create:cloud_event_rules",
"create:connectors",
"create:controls",
"create:dashboards",
"create:host_configuration",
"create:integrations",
"create:ignore_rules",
"create:outposts",
"create:reports",
"create:run_action",
"create:run_control",
"create:run_integration_action",
"create:saved_cloud_event_filters",
"create:saved_graph_queries",
"create:scan_policies",
Expand All @@ -59,7 +63,9 @@ var ServiceAccountScopes = []string{
"delete:cloud_event_rules",
"delete:connectors",
"delete:controls",
"delete:dashboards",
"delete:host_configuration",
"delete:ignore_rules",
"delete:integrations",
"delete:outposts",
"delete:reports",
Expand All @@ -81,27 +87,35 @@ var ServiceAccountScopes = []string{
"read:cloud_events",
"read:connectors",
"read:controls",
"read:dashboards",
"read:data_findings",
"read:data_classifiers",
"read:digital_trust_settings",
"read:host_configuration",
"read:ignore_rules",
"read:integrations",
"read:inventory",
"read:issue_settings",
"read:issues",
"read:kubernetes_clusters",
"read:licenses",
"read:network_exposure",
"read:outposts",
"read:preview_hub",
"read:projects",
"read:reports",
"read:resources",
"read:saved_cloud_event_filters",
"read:saved_graph_queries",
"read:scan_policies",
"read:scanner_settings",
"read:sensors",
"read:security_frameworks",
"read:security_scans",
"read:security_settings",
"read:service_accounts",
"read:system_activities",
"read:threats",
"read:users",
"read:vulnerabilities",
"update:admission_controllers",
Expand All @@ -112,7 +126,9 @@ var ServiceAccountScopes = []string{
"update:cloud_event_rules",
"update:connectors",
"update:controls",
"update:dashboards",
"update:host_configuration",
"update:ignore_rules",
"update:integrations",
"update:inventory",
"update:issue_settings",
Expand All @@ -136,6 +152,7 @@ var ServiceAccountScopes = []string{
"write:connectors",
"write:controls",
"write:host_configuration",
"write:integrations",
"write:issue_settings",
"write:issues",
"write:outposts",
Expand Down

0 comments on commit bc4691a

Please sign in to comment.