You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'd like to get the current date (year-month-day-hour-minute) as part of the name of the aws-<account-id.html file, currently if we run the report again the program will detect that a file with the previous name exists and will ask the user if we want to override the existing report, it's way more convenient to instruct the program to generate a report with the current date, this way we can have multiple reports to later review.
Also, it would be super useful to add the current date (UTC) to the right side or below the "Provider Name - Account ID" section in the html report, for example:
Provider Name - Account ID (Report date: Mon, 03 Jun 2024 20:20:17 GMT)
Describe the solution you'd like
This is possible by adjusting the loadAccountId function found on ScoutSuite/output/data/inc-scoutsuite/scoutsuite.js and the get_report_name function found on ScoutSuite/providers/aws/provider.py
Is your feature request related to a problem? Please describe.
I'd like to get the current date (year-month-day-hour-minute) as part of the name of the
aws-<account-id.html
file, currently if we run the report again the program will detect that a file with the previous name exists and will ask the user if we want to override the existing report, it's way more convenient to instruct the program to generate a report with the current date, this way we can have multiple reports to later review.Also, it would be super useful to add the current date (UTC) to the right side or below the "Provider Name - Account ID" section in the html report, for example:
Describe the solution you'd like
This is possible by adjusting the
loadAccountId
function found onScoutSuite/output/data/inc-scoutsuite/scoutsuite.js
and theget_report_name
function found onScoutSuite/providers/aws/provider.py
I have opened the following PR to address this:
Additional context
This will greatly help when using ScoutSuite in a given pipeline that potentially runs this every n days.
The text was updated successfully, but these errors were encountered: