elementary
elementary copied to clipboard
send-report do not use "bucket_file_path" in config file
Describe the bug
This command edr send-report --gcs-bucket-name my-bucket --bucket-file-path elementary_data/report.html work as expected.
But when use config file below, the command edr send-report creates elemetary_data.html in the root level of bucket.
google:
gcs_bucket_name: my-bucket
bucket_file_path: elemetary_data/report.html
To Reproduce
- Use this config:
google:
gcs_bucket_name: my-bucket
bucket_file_path: elemetary_data/report.html
- Run
edr send-report - Go to bucket and check if it creates
my-bucket/elementary_data.htmlinstead ofmy-bucket/elementary_data/report.html