| Policy | Type |
|---|---|
SecurityAudit | AWS managed |
ViewOnlyAccess | AWS managed |
TigerGateCSPMReadOnly | Inline — the JSON below |
Policy JSON
Save this asTigerGateCSPMReadOnly.json.
TigerGateCSPMReadOnly.json
Create the IAM user and access key
- AWS console
- AWS CLI
Create the user
Go to IAM → Users → Create user. Name it
tigergate-cspm and leave
console access off.Attach the managed policies
Choose Attach policies directly, select
SecurityAudit and
ViewOnlyAccess, and create the user.Add the inline policy
Open the user, then Add permissions → Create inline policy → JSON.
Paste the policy JSON above and name it
TigerGateCSPMReadOnly.Add the account to TigerGate
Open the form
Go to Integrations → Cloud Providers and choose Amazon Web Services.
The same policy and commands are under How to create a read-only access
key at the top of the form.
Enter the key
Fill in Connection Name, Access Key ID, Secret Access Key, and
Default Region (for example
us-east-1). The region is only used for
the first API calls; the scan covers every region. Leave the Advanced
fields blank.Test
Click Connect Provider, then Test on the connection. If the test
fails, the connection shows the error AWS returned.
Rotate the key
Create a second access key fortigergate-cspm, open the connection’s Edit
form, enter the new key pair, and run Test. Once it passes, deactivate and
delete the old key. Fields you leave blank in Edit keep their saved values.
Troubleshooting
| Error | Fix |
|---|---|
InvalidClientTokenId | The access key ID is wrong or deactivated. Re-enter it. |
SignatureDoesNotMatch | The secret access key is wrong. Re-enter the pair, or create a new key. |
| Scan finishes but some services have no findings | A policy is missing. Confirm all three policies are on the user. |