To host the report on GCS (Google Cloud Storage), provide one of two ways to authenticate:
Service Account (Recommended)
you can send the report to your GCS bucket by running the command:
edr send-report --google-service-account-path <SERVICE_ACCOUNT_PATH> --gcs-bucket-name <BUCKET_NAME>
If you’re using OAuth with
gcloud, simply omit
edr send-report --gcs-bucket-name <BUCKET_NAME>
You can control the location of the report in the bucket by providing
--bucket-file-path <REPORT_PATH> to
edr send-report command. Make sure the report’s file name ends with
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
Here’s an example.
In order to do that, pass
--update-bucket-website true to
send-report in order to update the
index.html file in
Note: You might want to limit or grant access to your reports bucket to certain users.
Configuration in file
If you prefer to use
config.yml file, you can add the following configuration instead of the CLI arguments:
google: service_account_path: [Google service account path] gcs_bucket_name: [GCS bucket name] update_bucket_website: [true | false]
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.