You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introducing account_org_paths to limit the reachable accounts by OU path (#152)
This PR introduces a new optional account_org_paths to the scanner role. This new variable can be used to enforce that the scanner can only reach for roles in the specified organisational unit paths.
Now that the account_roles is optional and defaults to a wildcard allowing to assume roles from any account, to limit the scope of the scanner role, without losing the convenience of specifying a account wildcard.
| <aname="input_account_org_paths"></a> [account\_org\_paths](#input\_account\_org\_paths)| List of AWS Organizations organizational unit (OU) paths in which the agentless scanner is allowed to assume role (default allows all) |`list(string)`| <pre>[<br> "*"<br>]</pre> | no |
42
43
| <aname="input_account_roles"></a> [account\_roles](#input\_account\_roles)| List of cross accounts roles ARN that the Datadog agentless scanner can assume - make sure to respect the same naming convention as the agentless scanner role. |`list(string)`| <pre>[<br> "arn:*:iam::*:role/DatadogAgentlessScannerDelegateRole"<br>]</pre> | no |
43
44
| <aname="input_api_key_secret_arns"></a> [api\_key\_secret\_arns](#input\_api\_key\_secret\_arns)| List of ARNs of the secrets holding the Datadog API keys |`list(string)`| n/a | yes |
44
45
| <aname="input_api_key_secret_kms_key_arns"></a> [api\_key\_secret\_kms\_key\_arns](#input\_api\_key\_secret\_kms\_key\_arns)| List of ARNs of the KMS keys encrypting the secrets |`list(string)`|`[]`| no |
0 commit comments