Up to Documentation
Creating an AWS STS Role for JASP
One way to allow JASP to scan your AWS environment is for you to provide the ARN of a role with the necessary privilege which can be assumed to obtain an STS token. This role must have the privileges necessary to read your environment configuration.
This document describes the steps to create such a role.
Create JASP role
- Open the AWS Configuration dialog in JASP:
- Login to JASP
- Click on the environment matching the AWS account where you will create the JASP role.
- On the environment detail page, click Configure Env Access.
- Under “Option 2” in the pop-up dialog,
- If your account is in the US GOV partition, click where indicated to reveal settings for GovCloud.
- Note the JASP Account Id and the Environment External Id, they get used below.
-
Navigate to the IAM console and login with credentials permitted to create policies and users.
- Create the JASP role:
- Navigate to Roles
- Select Create Role
- Select Another AWS account
- Enter the JASP Account Id (copied from JASP) in the Account ID field.
- Select Require external ID.
- Enter your environment’s external ID (the Environment External Id copied from JASP, above)
- Click Next: Permissions
- Select the following AWS managed polices
- ReadOnlyAccess: provides read-only access to all AWS services and resources.
- SecurityAudit: provides read-only permissions useful for conducting security audits.
- Click Next: Review
- Name the role jasp.
- Click Create role
- Increase max session duration, then copy the ARN:
- Click on the newly created role.
- Click Edit for Maximum CLI/API session duration
- Select 4 hours from the drop-down and click Save Changes
- Click the icon to the right of the Role ARN to copy it to the clipboard.
- Update environment credentials in JASP:
- Login to JASP (if you’re not still logged in)
- Click on the environment matching the AWS account where you just created the JASP role.
- On the environment detail page, click Configure Env Access.
- Paste the Role ARN in the AWS Role ARN field under “Option 2”. (Do not fill in anything for “Option 1”.)
- Click Submit
That’s it! JASP will now be able to scan your environment by assuming the role you provisioned.