Releases: prowler-cloud/prowler
Prowler 2.3.0RC
List of Contributors for this release:
This new version of Prowler wouldn't be possible without you all. Thanks!
Marc Jay
Urjit Singh Bhatia
Philipp Zeuner
Ngọ Anh Đức
Patrick Downey
Nimrod Kor and the Bridgecrewio guys
Huang Yaming
Marcel Beck
Faraz Angabini
Kasprzykowski
Huang Yaming
Alex Gray
nalansitan
jonjozwiak
dhirajdatar
Julio Delgado Jr
He.Longfei
Christopher Morrow
Reach out to me on Twitter @toniblyx if you have contributed to this release and you have been missed, sorry about that!
New features:
- Security Hub native integration and ASFF format
- Whitelist support
- Multiple reports and formats at the same time (mono,csv,json,json-asff,junit-xml) like
prowler-output-accountid-timestamp.json
- Support for Junit output to use it with Jenkins (
-M junit-xml
) - New checks for Trusted boundaries, Elasticsearch, IMDSv2, ECR vulnerabilities, more find secrets and VPC security groups. Comprehensive list below.
- Support for assume role and multi-accounts
- Improved support for AWS GovCloud (US)
- Improved support for AWS-CLI v1 and v2
Other improvements:
- Improved listing of Checks and Groups (
-l
to see all checks,-L
for all groups and-l g groupname
to list checks in a particular group) - Enhanced set entropy for detect-secrets from env BASE64_LIMIT and HEX_LIMIT @yumminhuang (3df2786)
- Improved GetCallerIdentity handling / credentials
- Enhanced documentation with more commands and examples
New checks:
- 7.75 [extra775] Find secrets in EC2 Auto Scaling Launch Configuration (Not Scored) (Not part of CIS benchmark) [extras, secrets]
- 7.76 [extra776] Check if ECR image scan found vulnerabilities in the newest image version (Not Scored) (Not part of CIS benchmark) [extras]
- 7.77 [extra777] Find VPC security groups with many ingress or egress rules (Not Scored) (Not part of CIS benchmark) [extras]
- 7.78 [extra778] Find VPC security groups with wide-open public IPv4 CIDR ranges (non-RFC1918) (Not Scored) (Not part of CIS benchmark) [extras]
- 7.79 [extra779] Ensure no security groups allow ingress from 0.0.0.0/0 or ::/0 to Elasticsearch/Kibana ports [extras, elasticsearch]
- 7.80 [extra780] Check if Amazon Elasticsearch Service (ES) domains has Amazon Cognito authentication for Kibana enabled [extras, elasticsearch]
- 7.81 [extra781] Check if Amazon Elasticsearch Service (ES) domains has encryption at-rest enabled [extras, elasticsearch]
- 7.82 [extra782] Check if Amazon Elasticsearch Service (ES) domains has node-to-node encryption enabled [extras, elasticsearch]
- 7.83 [extra783] Check if Amazon Elasticsearch Service (ES) domains has enforce HTTPS enabled [extras, elasticsearch]
- 7.84 [extra784] Check if Amazon Elasticsearch Service (ES) domains internal user database enabled [extras, elasticsearch]
- 7.85 [extra785] Check if Amazon Elasticsearch Service (ES) domains have updates available [extras, elasticsearch]
- 7.86 [extra786] Check if EC2 Instance Metadata Service Version 2 (IMDSv2) is Enabled and Required (Not Scored) (Not part of CIS benchmark) [extras]
- 7.87 [extra787] Check connection and authentication for Internet exposed Elasticsearch/Kibana ports [extras, elasticsearch]
- 7.88 [extra788] Check connection and authentication for Internet exposed Amazon Elasticsearch Service (ES) domains [extras, elasticsearch]
- 7.89 [extra789] Find trust boundaries in VPC endpoint services connections [trustboundaries]
- 7.90 [extra790] Find trust boundaries in VPC endpoint services whitelisted principles [trustboundaries]
And in case you missed them because they were hidden:
- 7.59 [extra759] Find secrets in Lambda functions variables (Not Scored) (Not part of CIS benchmark) [secrets]
- 7.60 [extra760] Find secrets in Lambda functions code (Not Scored) (Not part of CIS benchmark) [secrets]
Fixes and minor changes:
- Fixed AWS partition variable on generateJsonAsffOutput (f618a16)
- Added back LIST_OF_CHECKS_AND_GROUPS.md (412c9c1)
- Print warnings with the right color code (8cdf383)
- Improve check21 If no account cloudtrail trail is found, check org trail @nimrodkor @bridgecrewio (996f785)
- If no local cloudtrail trail is found - check org trail (dd0ef8c)
- Fix issue with aws-cli v2 and timestamp on check24 #585 (a2cbcc0)
- Fix check12's grep to find users with true in their name who really have password access @nimrodkor @bridgecrewio (5450bf9)
- Ensure that hyphen is at end of tr string to prevent 'reverse collating sequence order' error in GNU tr @marcjay (e4ae0a4)
- Improved AWS partition handle (1f949b4)
- Add $ to end of regex (dbca70e)
- Fix check12's grep to find users who really have password access (54f2b72)
- Fix output modes strings to ensure correct outputs are selected @marcjay (6844733)
- Ensure that hyphen is at end of tr string to prevent 'reverse collating sequence order' error in GNU tr Stop echo from adding newlines using
-n
, removing the need to stop replacing new-line characters with underscores (e25125f) - Updated checks with hardcoded arn to support GovCloud partition (13ca147)
- Improved extra734 for GovCloud (dbb3ed9)
- Fixed issue with govcloud on extra764 #536 (7dc790a)
- Improved GetCallerIdentity handling / credentials (8c9aea1)
- Added txt output as mono for -M (9f03bd7)
- Added account id to the output filename (43fb877)
- Simplified caller id info on outputs (ef952ce)
- Check if gbase64 (GNU) is available on Mac and use it in preference to BSD base64 @marcjay (0cca77a)
- Fix -E flag no longer excluding checks @marcjay (5b9cf7f)
- Added CSV header to the output file too #565 (9cbdefc)
- Extend check13 to meet all CIS rules and consolidate with extra774 (ad66254)
- Updated textInfo message on extra712 (d6374f8)
- Enhancement: extra768 only check latest version of ECS task definition (38a970f)
- Get the list of families and then get latest task definition (5b83701)
- Fix invalid references to $i when it should reference a local $group_index variable (8f17933)
- Improved extra716 and extra788 (6747b20)
- Only check latest version of task definition (172f4b2)
- Fix arithmetic expression for calculating test duration (fa17829)
- Add the ability to generate JUnit XML reports with a -J flag (9943903)
- Ignore inline whitelist comments, pass checkid to filter ignores specifically for checks (bf72025)
- Merge branch 'marcjay-simplify-check-id-variables' (4625270)
- Fixed title in group16_trustboundaries (f065beb)
- Added more sample commands and updates (2de49c3)
- Allow multiple report types at once #345 (4ea1864)
- Fixed issue with regions on check21 (11c182c)
- support arn:aws:s3::: on extra725 (036ae64)
- Adjust execute_check() now that check71's ID has changed Fix minor typo in a comment (7e5a4a1)
- Limit CHECK_ID to a single value, handing the left-pad formatting in one place (0f49468)
- Fix: extra741 - Check if User Data is a valid GZIP file before attempting to gunzip @marcjay (df52057)
- Add clarifying text to pass/fail messages (460f656)
- Extra741 - Check if User Data is a valid GZIP file before attempting to gunzip (c4374a2)
- Prowler IAM Policy Enhancements and README Updates @tekdj7 (9be0b3f)
- Extra725 - Improved support cross account and region cloudtrail @patdowney (a426462)
- Extra720 - Support cross account and cross-region cloudtrail @patdowney (8a7344e)
- Fixed check23_error_fails (7f2e097)
- Fixed check26_error_fails (67504e8)
- Fixed check121-filter-out-password-access-513 (3c77130)
- Fixed fix-no-information-extra774-501 (d855432)
- Fixed handle-gnu-date-as-default-on-mac-osx-534 (3e1d9ea)
- Convert tabs to spaces within modified function (24e6919)
- Avoid changing the execution order of checks when some checks are excluded (57c15c2)
- Fixed check121 - Filter out users who do not have a console password (4f623b4)
- Detect when GNU coreutils is installed on Mac OS X and use the correct date functions (d9588f4)
- Remove the varying number of days in the message so that message stays consistent over time (ce1058d)
- Handle IAM credential report containing 'no_information' for a user's last console login date (8d9c7e8)
- Add CHECK_ASFF_RESOURCE_TYPE variables for recently added checks (c02811f)
- Remove --output text in CLOUDTRAILBUCKET_LOGENABLED (7982cc4)
- Support cross-region and cross-account object-level cloudtrail logs for S3 (b6adfd5)
- Remove HomeRegion predicate from describe-trails in extras725 (78ccc7d)
- Use TrailARN property to query get-event-selectors in checks_extra725 (fc83a98)
- Added new checks to group extras (effc3eb)
- Improvements and new checks for elasticsearch (6ea37b0)
- Remove HomeRegion predicate from describe-trails to look for cross-region trails too (84711d1)
- Use TrailARN property to query get-event-selectors (4ff6856)
- Fixed typo in extra786 (9c4e629)
- New check for Metadata Service Version 2 #413 (bd432fe)
- Improved policy handling on extra716 (b5e1c90)
- Improved policy handling on extra716 (afb908f)
- v2.2.1 with new function and Improved extra779 and extra716 (e567ccb)
- Improved extra716 filters and auth check (2e2fe96)
- Added custom ports variable to extra779 (1ae5d5d)
- Ignore imported ACM Certificate in check_extra724 (1419d48)
- Added connection test for port 9300 in both linux and macosx on extra779 (8faf1f4)
- Updated ES check titles and results (eae4722)
- Enhanced extra...
Prowler 2.2.0
Special thanks to all contributors mentioned below.
This new version of Prowler wouldn't be possible without you all. Thanks!
List of Contributors for this release:
zfLQ2qx2
gabrielsoltz
Nimrod Kor
Mr. Secure
Tobi Fuhrimann
jonnyCodev
Or Evron
soffensive
Venki
angabini
Venkatadri Duggina
Samuel Dugo
Martin Kemp
Marcus Maxwell
Fayez Barbari
Dominick Bellizzi
David Lladro
C.J
Ricardo Oliveira
Kim Oliver Fehrs
Kasprzykowski
Jonathan Rau
Jerome Caffet
Barak Schoster Goihman
tomcrawf90
shaunography
james-portman-contino
bgeesaman
barnhartguy
alphad05
Will Thames
Tom Crawford
Ryan John Peck
Roman Vynar
Richard Nienaber
Ralph Rodkey
Nick Malcolm
Nic Doye
Ngọ Anh Đức
Morey Straus
Michael Peterson
Kinnaird McQuade
Kevin Pawloski
JohnVonNeumann
Dom Bellizzi
Clint Moyer
Christopher Morrow
Brian Fallik
Artashes Arabajyan
Affan Malik
New features:
f3bfe90: Add native support for AssumeRole
f979c73: Add quiet mode that only shows failures
be4bbe4: New POC for scoring report
00e5e65: Option "-c" supports one or multiple checks
71355b0: New option "-E" supports exclusion of one or multiple checks
ab5968c: Re remove colors in json output
f006c81: Use custom AWS profile with Role to assume
cea0cfb: Prevent colorization on Failed and Info
8bb1529: More jq_improvements
61ef02e: Reduced API calls
64e38dd: Added megaprowler code for multiaccount (sample implementation)
f32b769: Make 3.x tests simpler and more useful
4bc64e9: Create Pipfile
ea6d9c9: Integration with Yelp detect-secrets
58fdd45: Ability to exclude check from group run
e273ae3: Adding detect_secrets support to Docker
da9cb41: Added jq to Dockerfile and fixes
bc9d4fe: Created a new Dockerfile based on Alpine
a2ccac9: FreeBSD support
New checks:
4098521: Check find secrets in UserData for Auto Scaling groups check_extra775
a824e06: Check if user have unused console login
2f17cfb: Check if CloudFront is using a WAF
4c1d188: Check for unused Elastic IP addresses
3b264d5: Check for internet facing instances with an Instance Profile attached.
7b5ece8: Check IAM Access Analyzer
fe65eaf: Check ECS scan on push
b61af3a: Check secrets in ECS task definition environment variables
961b79a: Check for CloudFront field level encryption
264b84a: Check for ECR scanning
2c531a2: Check for unsupported lambda runtimes
66c59ea: Check for EBS default encryption
40117ed: Checks for EC2 age
b8c7915: Check extra756 Redshift cluster public
5cd7214: Check extra755 open Memcached port
4f00760: Check extra754 open Cassandra port
660b573: Check open MongoDB port
1d45c45: Check open Redis port
3693ee3: Check SG open Postgres port
c36a606: Check SG open MySQL ports
5325bab: Check SG open MySQL ports
e283d35: Check SG open Oracle ports
b95cf5b: Check SG open to any port
c6dfbfd: Check IPv6 support to networking checks
62991cf: Check RDS CloudWatch Log integration
8b4b59e: Check RDS backup and RDS group of checks
a6569a0: Added group12 apigateway checks
50b6e63: Check API Gateway has authorizers
3582b42: Check API Gateway has CloudWatch Logs
65e2ff7: Check API Gateway has authorizers
504a11b: Check API Gateway public or private
f03eccf: Check API Gateway has a WAF ACL attached
d078985: Check API Gateway has client certificate enabled
bde9482: Check to find keys in CloudFormation Outputs
Documentation improvements:
e5e5e84: Add documentation for excluding group checks
4f4591d: Added more install details and docker run
1e1de4f: Added Security Hub integration link
24780b4: Improve documentation with prowler-additions-policy.json
2da125f: UPDATE README.md - fix incorrect group flag
04acb74: Enhanced requirements and installation
bc12717: Added MFA help
d818381: Wazuh integration guide DRAFT
b59d5db: Added new option exclude
2700365: Improved rules ID
08cdf35: Added CODE_OF_CONDUCT.md
Fixes:
0210c43: check_11_check_access_keys_usage
4a1d406: Check Extra 774 - Fixed bug - was checking account creation time instead of last logon date.
44716cf: mark_only_available_rds_instances_as_violating
1f3aaa8: es_public_domains_filter_condition
6213a74: public_bucket_policy_check_for_conditions
bf9ffc0: extra748_check_for_all_ports
fff605b: fix_extra_764_handle_all_aws
a6516e4: Check 1.1 - check password access and access key usage
4fe5750: Filter for only available rds instances in check
178a34e: Add conditions check for extra716
5f3293a: Add conditions check for extra771
28a8ae7: Check extra748 should fail in case of all ports (0-65535) open
daa26ed: extra764 should also check for principal being AWS = ""
9bd54ca: Fixed issue #378
4d683a7: fix-check11
4476571: check if last_login_date is a valid date
5069fd2: Associate VPCFlowLog with VPC
0d1807b: Remove ses:sendemails
a77d3b0: handle_get_bucket_policy_error
5cebebb: handle_get_bucket_policy_error
528e14d: Update check119
fe2d2b4: check root account access login and fail if used in the last day
74cbbdd: add text info in case of error occurred
029c330: fix check extra 764
2abe360: Update group7_extras
d473ebe: moving MAX_DAYS to the inner scope of the function
f038074: Update prowler-additions-policy.json
f797805: issue 458
ef001af: issue 459
2d712f6: issue-163-CloudFront-WAF
278e382: Update group7_extras
3452ecd: eip_check
f2f8216: issue 460
f735de8: Rewrite of check extra73
9fc0f6c: Remove check 766, dupe of check 765
41ccd45: Add additional error checking to address issue 459
9ed7d75: Add command for check119
b3b9039: cleanup_temp_files
4806d5f: update_check_extra764
a755ec8: update_extra769
3c703de: update_check_extra726
7d324be: Resolve issue with not_available state in results
b22b0af: Misc fixes to check extra764
4cc5cd1: Try to make sure prowler cleans up its temporary files
688f028: Add additional error checkings to check extra769
c84190c: Add error checking to checks extra77 and extra765
23be47a: Enhanced title for check extra723
ab75f19: small_fixes_to_extra731_extra716
20b127f: Added DS IAM actions
cc5da42: add lambda:get to prowler-additions-policy
1087d60: Small check fixes
d2b3e5e: Added new checks to extras group
0d120a4: check_bucket_policies_public_write
0ab5d87: public-instance-with-instance-profile-attached
39c7ea5: Add feature custom checks folder issue #439
933e415: fix_check26
fc3f4e8: Reuse ACCOUNT_NUM
7e803bb: Change to check 771
8e1aa17: Fix check26 - get the account ID from sts
dd5bf6c: fix_check21
7cb869a: use more generic access-analyzer:List*
559b058: Add trail count to check21 and fail if no trail exist
53f097c: Add "access-analyzer:ListTagsForResource" to prowler-additions-policy.json
b6e34ad: Fix issue #409
4af3dc1: Fix issue #426 updated base64 function
923fadb: check-3xx-whitespace-tolerance
3f68acc: Added missing file iam/prowler-additions-policy.json
2e11e0a: Fix extra764 check
c630c02: Update check_extra768
e18cea2: consolidated ProwlerReadOnlyPolicy and available json
8f91bfe: clean up documentation and added info to check_sample
c513e7a: ecs_task_definition_secrets_check_contribute
2e1cead: extra719
5c8b0aa: check726
15dda01: prowler-misc-updates
d19ae27: Fix merge issue
687686c: Filter out private zones in check extra719
94a9059: Handle Trusted Advisor entitlement issue gracefully
669469e: Update extra764 and extra734, add .gitignore rules for vim
031b68a: fixed typo in iam policy
d737193: extra75-enhancement
f83ce78: prowler-3x-checks
054043d: Update extra75 to aware of default security groups
603ed0b: Update log metric filter checks to latest AWS CIS Foundations Benchmark and provide hints on how to remediate
3a89388: Misc prowler fixes
2e18192: Added pull request template
508a935: fix jq array
6389869: remove_old_check
d026ed5: improve_extra727
529fc64: better_output
5cadd0c: remove_unused_variable
df5def4: comments_and_fix
5252518: extra73
be0bc7a: extra 7.62 - output cleanup
c460e35: obsolete_runtimes
827b1fd: add region info to textFail,textPass output
23a7c7f: fix spelling error in message
e683ea5: fix over-quoting bug
826cc00: replacing git clone with ADD as to not cache layer indefinetely
77b3a9b: unsetting excluded_checks
d4fad17: update pipeline commands to use multi-account path
ddb4983: bring in quoting nits
31a4024: Merge pull request #392 from MrSecure/mega
40a2ea6: fixed region for extra757 and extra758
7e28f85: add cli options
64667ea: grant codebuild the ability to assume audit role
70304dc: suppress remaining shell check warnings
e0a77b3: cleanup using shellcheck
70de023: more output structure cleanup
b5ccdad: change bucket resource name
d0af7f4: remove 'out' from artifact storage path
fc77b4a: Merge pull request #390 from Quiq/master
4540fd7: Add missing permission
44cfa71: updated logging
ecde624: remove unnecessary variables and removed echo
d5f22ab: fixing check26 cross access bug
72b1421: fixing cross account cloudtrail issue
cd52bf8: fix typo
aba697a: List CloudFront distributions only once
49994d1: List successful cases as PASS! for 7.27
f3d617a: Fix Pipfile
1be58e0: Fix issue #323
8333c57: Fixed issue #348 -e option back to work
02d2561: Fix issue #354
30b2f55: support_role_added_to_groups
253fa5e: #351
188a681: check314_case_sensitivity
9e06297: fix_check_extra741
eecb272: Fixed output for PR #339
2ed3378: refactor_check_extra734
bd9ae4b: improve_check_extra73
30e2360: remove filter by roles so that groups are included as well
033e262: [FIX] remove duplicated filter condition | kf/aa/if
2b95f69: [FIX] allow 1.22 checks on policies with only one statement block | kf/aa/if
5bd3f0b: Fix typo
a430ad4: Tabs to 4 spaces
85dc040: Made check314 less case sensitive
a259571: Fixing missing &&
8b2c113: add_detect_secrets_to_docker
cea45f4: remove REGION from Bucket Listing
d7d2246: improved for other file types like empty and very short
e6992e8: ignore None when user data is empty
c8622bc: better check denied
76e665...
Prowler 2.0
New features:
- Refactored code:
- reduced number of lines in prowler main script and add
includes
folder with parts to easily find and manage all components - dedicated folder for
checks
, a check per file, - same for
groups
of checks, now we can create custom groups and run Prowler against your custom group (for example only the checks that your company needs). - moved Dockerfile to
utils
folder. - moved IAM policy additions to
iam
folder
- reduced number of lines in prowler main script and add
- Output changed
PASS
andFAIL
instead ofOK
andWARNING
messages displayed. - Option
-g <group_id>
: run specific group from the existing or new one - Option
-b
: hide banner - Check whitelisting: thanks to the new groups management, you can create your own checks based on your needs.
- Custom checks: now it is easier to add a new check, just create your check based on the sample one and add it to a group, or create your own group.
- Added version to the banner and changed description
- Added new check
extra723
that looks for public RDS snapshots (single and cluster) - Added check
extra724
Certificate Transparency - Added check ID on every check and group title.
- Added check
extra725
S3 object-level logging (extras and forensics) - Added check
extra726
Trusted Advisor errors and warnings - Added check
extra727
SQS queues have policy public - Added check
extra728
SQS queues have encryption enabled - Added
-V
flag to see version - Added check
extra729
no EBS Volumes unencrypted - Added check
extra730
ACM Certificates are about to expire in 7 days or less - Added check
extra731
SNS topics have policy set as Public - Added check
extra732
Geo restrictions are enabled in CloudFront distributions - Added check
extra733
SAML Providers then STS can be used - Added check
extra734
S3 buckets have default encryption (SSE) enabled and policy to enforce it - Added check
extra735
RDS instances storage is encrypted - Added check
extra736
exposed KMS keys - Added check
extra737
KMS keys with key rotation disabled - Added check
extra738
CloudFront distributions are set to HTTPS - Added check
extra739
ELBs have logging enabled - Added check
extra740
EBS snapshots are encrypted - JSON support as output mode
-M json
, thanks to @hb3b - Added support to run on Fargate and uses metadata for credentials, thanks to @mattfinlayson
- Added group checks for GDPR and HIPAA, thanks to @crashGoBoom for helping out with HIPAA
Improvements:
- Adapted to the latest CIS for AWS 1.2, thanks to @gpatt
- option
-l
now shows all groups not only default ones, with all its checks title. - changed
#!/bin/bash
to#!/usr/bin/env bash
#182 thanks to @doshitan check28
#181 thanks to @doshitancheck41
andcheck44
#180 thanks to @subramani95- Changed output functions to
textInfo
,textFail
andtextPass
- Hide banner on CSV output mode for group check
- Added version to banner
- Improved current directory handler for includes
- Improved error handling on
check111
- Improved instance profile handling issue #200, thanks to @netflash and @ceyes
- Improved default region handling issue #202, thanks to @ceyes
- Improvements on account ID handling in CSV output issue #205, thanks to @MrSecure
- Improved
check28
, thanks to @nexeck - Improved
check_extra73
to support graceful failing of buckets with corrupt/unintended permissions, thanks to @hb3b - Improved
check111
, thanks to @roo7break and @martinusnel - Improved
check27
- Improved group error handling
- Improved
check115
,check315
andcheck13
and its documentaion, thanks to @rheak - Improved
extra725
, thanks to @martinusnel - Improved username filtering for
check12
for CIS 1.2, thanks to @gpatt - Improved username filtering for
check116
for CIS 1.2, thanks to @gpatt - Improved
extra713
, thanks to @mbode - Improved credentials handling, thanks to @flomotlik
- Improved
check112
to avoid extra API call, thanks to @jlamande - Improved
check29
, thanks @onkymykiss1
Fixes:
check22
#194 thanks to @mbodecheck717
#188 thanks to @ahhh- Fixed required IAM permissions #187 thanks to @rtkjbillo
- Disable concurrency checks to
check_extra73
due to API limits - Fixed issue #268
- Mark CIS level2 and 2 properly, also marker to sample check thanks to @MrSecure
- Fixed mismatched check_type on
check18
thanks to @MrSecure - Fixed typo on
check311
thanks to @MrSecure - Ensure credential report is available before running any checks thanks to @MrSecure
- Fixed checks on group3 to prevent duplicates, thanks to @myoung34
- Fixed
extra73
to use$PROFILE_OPT
properly, thanks to @sidewinder12s - Fixed checks
extra727
andextra728
to use$PROFILE_OPT
properly, thanks to @tmonk42 - Fixed
check14
, thanks to @atomdampflok - Fixed checks listing, thanks to @UranusBytes
- Fixed
check13
for never logged users, thanks to @jlamande
Documentation:
- Added new way to create custom checks and custom groups
- Improved Prowler description
- Added command to save report to S3
- Update all CIS document links to AWS version thanks to @sidewinder12s
- Changed license for checks that are not CIS and rest of code but CIS checks to Apache 2.0
- Added license and commercial use disclaimer to README
- Added info about GDPR and HIPAA
- Improved README formatting and typos, thanks to @craighurley and @slmingol
- Added new needed IAM roles, thanks to @yapale, @mixmatch and @jlamande
Special thanks to:
@philipmeadows for his help and ideas on code refactoring
Prowler 2.0 Beta
New features:
- Refactored code:
- reduced number of lines in prowler main script and add
includes
folder with parts to easily find and manage all components - dedicated folder for
checks
, a check per file, - same for
groups
of checks, now we can create custom groups and run Prowler against your custom group (for example only the checks that your company needs). - moved Dockerfile to
utils
folder. - moved IAM policy additions to
iam
folder
- reduced number of lines in prowler main script and add
- Output changed
PASS
andFAIL
instead ofOK
andWARNING
messages displayed. - Option
-g <group_id>
: run specific group from the existing or new one - Option
-b
: hide banner - Check whitelisting: thanks to the new groups management, you can create your own checks based on your needs.
- Custom checks: now it is easier to add a new check, just create your check based on the sample one and add it to a group, or create your own group.
- Added version to the banner and changed description
- Added new check
extra723
that looks for public RDS snapshots (single and cluster)
Improvements:
- option
-l
now shows all groups not only default ones, with all its checks title. check73
now doees the S3 check in parallel thanks to @vsMeecles and Jonathan Glass- changed
#!/bin/bash
to#!/usr/bin/env bash
#182 thanks to @doshitan check28
#181 thanks to @doshitancheck41
andcheck44
#180 thanks to @subramani95
Fixes:
check22
#194 thanks to @mbodecheck717
#188 thanks to @ahhh- fixed required IAM permissions #187 thanks to @rtkjbillo
Documentation:
- Added new way to create custom checks and custom groups
Special thanks to:
@philipmeadows for his help and ideas on code refactoring
Prowler 1.6
New features:
- New forensics ready group of checks: it includes existing and new ones to ensure your AWS account is ready for a deep forensic investigation if needed
prowler -c forensics-ready
- Added option
-e
to exclude all extra checks (they may make prowler take longer to finish) - New check
extra78
Ensure there are no Public Accessible RDS instances (Not Scored) (Not part of CIS benchmark) thanks to @sidewinder12s - New check
extra79
Check for internet facing Elastic Load Balancers (Not Scored) (Not part of CIS benchmark) thanks to @sidewinder12s - New check
extra710
Check for internet facing EC2 Instances (Not Scored) (Not part of CIS benchmark) thanks to @sidewinder12s - New check
extra711
Check for Publicly Accessible Redshift Clusters (Not Scored) (Not part of CIS benchmark) thanks to @sidewinder12s - New check
extra712
Check if Amazon Macie is enabled (Not Scored) (Not part of CIS benchmark) - New check
extra713
Check if GuardDuty is enabled (Not Scored) (Not part of CIS benchmark) - New check
extra714
Check if CloudFront distributions have logging enabled (Not Scored) (Not part of CIS benchmark) - New check
extra715
Check if Elasticsearch Service domains have logging enabled (Not Scored) (Not part of CIS benchmark) - New check
extra716
Check if Elasticsearch Service domains allow open access (Not Scored) (Not part of CIS benchmark) - New check
extra717
Check if Elastic Load Balancers have logging enabled (Not Scored) (Not part of CIS benchmark) - New check
extra718
Check if S3 buckets have server access logging enabled (Not Scored) (Not part of CIS benchmark) - New check
extra719
Check if Route53 hosted zones are logging queries to CloudWatch Logs (Not Scored) (Not part of CIS benchmark) - New check
extra720
Check if Lambda functions invoke API operations are being recorded by CloudTrail (Not Scored) (Not part of CIS benchmark) - New check
extra721
Check if Redshift cluster has audit logging enabled (Not Scored) (Not part of CIS benchmark) - New check
extra722
Check if API Gateway has logging enabled (Not Scored) (Not part of CIS benchmark)
Fixes:
- Typo in extra72 by @neonbunny
- check114 by @subramani95
Improvements:
- PR #150 Load of authentication credentials
- PR #164 check31 by @subramani95
- PR #167 OSTYPE handling to support Alpine docker containers
Documentation:
- Added section https://github.com/Alfresco/prowler#forensics-ready-checks to README
- Added all new extra checks to README
Special thanks to:
Prowler 1.5
New features:
- More extra checks to find public AMIs, ECR repos and EC2 snapshots
- New flag
-l
to list all available checks - New Dockerfile to create your own image with prowler
Fixes:
- Issue #133 text fix in check36
- Issue #137 fix in check114
- Issue #136 fix in check113
- Issue #135 fix regarding [[]] statements
- Issue #134 fix in check124
- Issue #131 fix in check312
- Issue #130 fix in check12
- Issue #129 fix in checks section 3
Improvements:
- Refactored title and checks id in the script
Documentation:
- Added section how to add Custom Checks to README
- Added section Third Party Integrations to README
Prowler 1.4
- New features
#101 Added -n option to show check numbers easier to sort, ie. 1.02 instead of 1.2. - Improvements
#83 better check73 checking bucket permissions (ACL and Policies)
#81 Improved extra73 - S3 bucket permissions
#84 Improved and error handling for check15 and check111, improved check41 - Fixes
#82 Fixed bug in extra73 for buckets in EU (eu-west-1)
#86 Fix LICENSE
#87 Fix temp file issue
#91 Broken sed expression & typos
#92 Fix scored output
#95 Added --max-items option to extra72
#97 Removed printCurrentDate() and added current date to banner
#98 Updated infoReferenceLong() text and moved the function call
#99 Remove bit.ly reference
#100 Removed printCurrentDate reference
#103 Fix check14 if users contain same strings as table tittle
Thanks @MrSecure @neonbunny @hemedga @jphuynh @steverigby for your help and suggestions.
Prowler 1.3
- Fixes regarding SNS checks and some other small fixes
- Added CIS profile definitions (profile1 and profile2 as stated in their documentation)
- Added extra checks (extra71, extra72 and extra73 to check admins w/o MFA, Search Publicly shared EBS Snapshots and S3 buckets open to the internet)
- Improved documentation
Prowler 1.2
Prowler 1.1.1
Merge pull request #55 from MrSecure/spelling fix spelling error in CSV output