Commit Graph

13 Commits

Author SHA1 Message Date
Marc Jay 5bab65c56d - Remove securityhub output mode and replace with '-S' flag to send findings to Security Hub
- Move Security Hub related code to a dedicated include/securityhub_integration file
- Check that Security Hub is enabled in the target region before beginning checks when -S is specified
- Add error handling to the batch-import-findings call
- Add CHECK_ASFF_TYPE variables to all CIS checks to override the default
- Add support for CHECK_ASFF_RESOURCE_TYPE variables which override the default 'AwsAccount' value for the resource a finding relates to.
- Add CHECK_ASFF_RESOURCE_TYPE variables to all checks where there is a suitable value in the schema
- Remove json-asff output for info messages as they are not appropriate for possible submission to Security Hub
- Update the README to cover Security Hub integration
- Add an IAM policy JSON document that provides the necessary BatchImportFindings permission for Security Hub
- Remove trailing whitespace and periods in pass/fail messages to be consistent with the majority of messages, to prevent future tidy-up from changing the finding IDs
2020-04-11 03:04:03 +01:00
Tom Crawford 34b6c4446d Added check for integer in response from AWS 2019-02-04 17:01:37 +00:00
Martinus Nel 350d784414 Fixed Bash test. 2018-08-10 11:21:51 +01:00
Nik 0c213ce566 Corrected Password expiration check
The previous check didnt accept lower password expiration time. Updated to accept less than or equal to 90 days. Also edited printed statement to include set value.
2018-06-26 12:29:54 +01:00
MrSecure 1150f2782a mark Level 1 checks as such 2018-04-24 21:02:41 -07:00
Toni de la Fuente 98a1f4bda0 improved error handling on check111 2018-04-11 14:09:55 -04:00
Toni de la Fuente e3e038127f license changes for checks 2018-04-09 15:09:30 -04:00
Toni de la Fuente cd41766e22 added checkid to every check and group title 2018-03-29 10:36:46 -04:00
Toni de la Fuente 07b166baa9 changed outputs to the new ones 2018-03-28 11:07:46 -04:00
Toni de la Fuente 6647702d90 added support of -g groups 2018-03-26 21:32:15 -04:00
Toni de la Fuente da0f266944 first semi functional v2 2018-03-23 19:26:10 -04:00
Toni de la Fuente a2806ad86b populated checks 2018-03-23 10:05:20 -04:00
Toni de la Fuente a21bff31a5 create check files 2018-03-20 22:59:34 -04:00