Prerequisites
~/.aws/credentials
file, you can run the command and provide only the profile name and the bucket’s name:
--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 likehttps://<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 useconfig.yml
file, you can add the following configuration instead of the CLI arguments: