Host the report on Amazon S3
Prerequisites
If you already have a ~/.aws/credentials
file, you can run the command and provide only the profile name and the bucket’s name:
Alternatively, you can pass the access key ID and secret access key:
You can control the location of the report in the bucket by providing --bucket-file-path <REPORT_PATH>
(the report’s file name should end with .html
).
Hosting the report as a website
You can host the report as the bucket’s website so that you can browse to it with a constant URL
like https://<Elementary-Report-Bucket>.s3-website.<Region>.amazonaws.com
.
In order to do that, you’ll need to complete steps 1-4 on
the configure a website on the bucket
guide.
After you’ve completed it, pass --update-bucket-website true
to send-report
in order to update the main page of
the bucket’s website.
Configuration in file
If you prefer to use config.yml
file, you can add the following configuration instead of the CLI arguments:
Send report summary to Slack
In addition to hosting the report, you can send a report summary notification to Slack every time the report is updated.