CSPM scanner
Last updated: Oct 28, 2026
For the common configuration file keys of all the scanners, read Use a configuration file.
Specific configuration file keys
The CSPM scanner has this key. Use it to do a cloud security posture management analysis of AWS environments.
cspm
This key has this configuration option:
-
aws_credentials(mandatory): A list of AWS role configurations to analyze. Each entry supports these fields:role(mandatory): The AWS role ARN that the scan assumes.external_id(optional): The external ID that is necessary to assume the role, when the trust policy of the IAM role has an external ID condition.
The two fields support the
${VAR_NAME}syntax. Read the example.
Configuration file example
namespace: my_app
language: EN
output:
file_path: /fluid-attacks-results.sarif
format: SARIF
checks:
- F005
cspm:
aws_credentials:
- role: arn:aws:iam::123456789012:role/MyRole
external_id: my-external-idConfiguration file example with envars
namespace: my_app
language: EN
output:
file_path: /fluid-attacks-results.sarif
format: SARIF
checks:
- F005
cspm:
aws_credentials:
- role: arn:aws:iam::123456789012:role/MyRole
external_id: ${CSPM_AWS_EXTERNAL_ID}Do you have a question about the scanner, or did you find a problem? Read "Scanner FAQ".
Search for vulnerabilities in your apps for free with Fluid Attacks' automated security testing! Start your 21-day free trial and discover the benefits of the Essential plan. If you prefer the Advanced plan, which includes the expertise of Fluid Attacks' pentesting team, complete this contact form.