* chore(inventory): option included in main
* chore(inventory): quick inventory
* chore(inventory): functional version
* chore(inventory): functional version without echo
* Update include/quick_inventory
Co-authored-by: Pepe Fagoaga <pepe@verica.io>
* Update prowler
Co-authored-by: Sergio Garcia <38561120+sergargar@users.noreply.github.com>
* Added new line at report line
* Added more information from IAM
Co-authored-by: Pepe Fagoaga <pepe@verica.io>
Co-authored-by: Sergio Garcia <38561120+sergargar@users.noreply.github.com>
* Create checks_7194
ECR Repositories contain docker containers. When automated processes create containers, the old ones tend to take up space. With a lot of containers on the system, the account owner will be paying additional fees for images that are no longer in use. By defining a lifecycle policy, a best practice is followed by reducing the total volume of data being consumed.
* Minor changes
* fix: Include bash header
Co-authored-by: n4ch04 <nachor1992@gmail.com>
Co-authored-by: Pepe Fagoaga <pepe@verica.io>
* docs(readme): Update inventory and checks
* docs(readme): inventory path
Co-authored-by: Toni de la Fuente <toni@blyx.com>
* Update README.md
Co-authored-by: Toni de la Fuente <toni@blyx.com>
Co-authored-by: Toni de la Fuente <toni@blyx.com>
* chore(inventory): option included in main
* chore(inventory): quick inventory
* chore(inventory): functional version
* chore(inventory): functional version without echo
* Update include/quick_inventory
Co-authored-by: Pepe Fagoaga <pepe@verica.io>
* Update prowler
Co-authored-by: Sergio Garcia <38561120+sergargar@users.noreply.github.com>
* Added new line at report line
Co-authored-by: Pepe Fagoaga <pepe@verica.io>
Co-authored-by: Sergio Garcia <38561120+sergargar@users.noreply.github.com>
* fix(dockerignore): Include files
* fix(dockerfile): Keep python2 and organize
* feat(db-connector): Include postgres dependencies
* feat(dockerfile): Include hadolint pre-commit
* 365 DAYS or More Retention log group in cloudwatch
* fix(extra7162): Fix comparison errors
Also include minor changes to texts
* fix(extra7162): Set as Pass log groups that never expires
* fix(typo)
Co-authored-by: Pepe Fagoaga <pepe@verica.io>
* Remove fail positive
Exclude distributions that does not support `POST` requests
* fix(extra767): Overall changes
- Quoted and braced variables
- Fix DefaultCacheBehavior twice in a AWS CLI query
- Use regex =~ to match values
* fix(check767): Change textInfo for textPass
* fix(extra767): Include AWS CLI error handling
Co-authored-by: Pepe Fagoaga <pepe@verica.io>
* fix(aws_profile_loader): New functions
* fix(shellcheck): Temporary remove Shellcheck
* fix(aws_cli_detector): new function
* fix(jq_detector): New function
* fix(os_detector): New function
* fix(output_bucket): Output bucket input check in main
* fix(python_detector): deleted unused python detector
* fix(credentials): credentials check out of whoami
* [break]refactor(main)
* [BREAK] Get list of checks parsing all input options
* [break]refactor(main): execute checks functions
* [break]refactor(main): move functions to libs
* fix(validations): custom check validation and typos
* refactor(validate_options): Include comments
* fix(custom_checks): Minor fixes
* refactor(closing_files): include libraries
* refactor(loader): Include ignored checks
* refactor(main): Fix shellcheck
* refactor(loader): beautify
* refactor(monochrome): without variables
* refactor(modes): MODES array not needed
* refactor(whoami): get error from AWSCLI
* refactor(secrets-detector)
* refactor(secrets-detector)
* fix(html_scoring): html scoring was fixed.
* fix(load_checks_from_file)
* fix(color-code): Print if not mono
* fix(not extra): Fixed if EXCLUDE_CHECK_ID is empty
* fix(IFS): Restore default IFS once modes are parsed
* fix(bucket): validate before whoami
* fix(bucket): validate before whoami
Co-authored-by: n4ch04 <nachor1992@gmail.com>
Co-authored-by: sergargar <sergio@verica.io>
Co-authored-by: Nacho Rivera <59198746+n4ch04@users.noreply.github.com>
* chore(db providers): db providers first version
* chore(db provider): added db provider setup into Readme
* fix(csv_line): csv_line out of conditional
* fix(README): text instead of varchar in table
* fix(help): help message extended
Co-authored-by: Sergio Garcia <38561120+sergargar@users.noreply.github.com>
* fix(typo): Update README.md
Co-authored-by: Pepe Fagoaga <pepe@verica.io>
* fix(table): add if not exists
Co-authored-by: Pepe Fagoaga <pepe@verica.io>
* fix(typo): Readme postgreSQL
Co-authored-by: Pepe Fagoaga <pepe@verica.io>
* fix(db_connector): details to add a new provider
* fix(typo): Uppercase Prowler
Co-authored-by: Toni de la Fuente <toni@blyx.com>
* fix(prowler): deleted unused variable
* chore(checks): test db connector previous to send data
* chore(input tests): input tests moved to main
* fix(typo): Readme typos
* chore(table): table name from pgpass file
* fix(grep test): Added missing -E flag
* chore(table): check of table name and Readme
* chore(error colors): Added error colors
* chore(inputcheck): checks about mode and output inputs into main
* fix(inputs) custom output file name
* fix(outputs): comment profile
* chore(textXXX): both 3 textfunctions using general
* fix(allowlist): allowlist check included as function
* fix(headers): Add headers to certain output files
* fix(reformulate): change structure and delete comments
* fix(testing): Input test after load includes
* fix(variables): Added named vars
* fix(colors): Deleted unused colors
* fix(outputs): fine tuning
* fix(outputs): allowlist parameters read
* fix(allowlist): allowlist logic reformulated
* fix(REPREGION): REPREGION change by REGION_FROM_CHECK
Co-authored-by: Sergio Garcia <38561120+sergargar@users.noreply.github.com>
Co-authored-by: Pepe Fagoaga <pepe@verica.io>
Co-authored-by: Toni de la Fuente <toni@blyx.com>
* chore(db providers): db providers first version
* chore(db provider): added db provider setup into Readme
* fix(csv_line): csv_line out of conditional
* fix(README): text instead of varchar in table
* fix(help): help message extended
Co-authored-by: Sergio Garcia <38561120+sergargar@users.noreply.github.com>
* fix(typo): Update README.md
Co-authored-by: Pepe Fagoaga <pepe@verica.io>
* fix(table): add if not exists
Co-authored-by: Pepe Fagoaga <pepe@verica.io>
* fix(typo): Readme postgreSQL
Co-authored-by: Pepe Fagoaga <pepe@verica.io>
* fix(db_connector): details to add a new provider
* fix(typo): Uppercase Prowler
Co-authored-by: Toni de la Fuente <toni@blyx.com>
* fix(prowler): deleted unused variable
* chore(checks): test db connector previous to send data
* chore(input tests): input tests moved to main
* fix(typo): Readme typos
* chore(table): table name from pgpass file
* fix(grep test): Added missing -E flag
* chore(table): check of table name and Readme
* chore(error colors): Added error colors
* fix(tablename): table name in readme
* fix(typo)
* fix(db_provider): Exact match
* fix(error): One line message
* chore(pgpass check): Check added for pgpass file
* fix(pgpass): pgpass file and permissions test
* fix(unused vars): Deleted unused vars
* fix(TOP_PID): Deleted TOP_PID unused var and comment
* chore(db tests): Credentials, database and table tests added
* fix(empty pgpass): Look for empty fields at pgpass file
Co-authored-by: Sergio Garcia <38561120+sergargar@users.noreply.github.com>
Co-authored-by: Pepe Fagoaga <pepe@verica.io>
Co-authored-by: Toni de la Fuente <toni@blyx.com>