Skip to content
Snippets Groups Projects
  1. Nov 23, 2020
    • Brian Terry's avatar
      Aws asff (#770) · c3f94dd8
      Brian Terry authored
      
      * add aasf
      
      * add AASF format
      
      * credentials provider
      
      * add finding publisher
      
      * add finding publisher
      
      * add write AASF path
      
      * add testing
      
      * read config from file
      
      * update docker file
      
      * refactor
      
      * remove sample
      
      * add comments
      
      * Add comment in EKS config.yaml
      
      * Fix comment typo
      
      * Fix spelling of ASFF
      
      * Fix typo and other small code review suggestions
      
      * Limit length of Actual result field
      
      Avoids this message seen in testing:
        Message:Finding does not adhere to Amazon Finding Format. data.ProductFields['Actual result'] should NOT be longer than 1024 characters.
      
      * Add comment for ASFF schema
      
      * Add Security Hub documentation
      
      * go mod tidy
      
      * remove dupe lines in docs
      
      * support integration in any region
      
      * fix README link
      
      * fix README links
      
      Co-authored-by: default avatarLiz Rice <liz@lizrice.com>
      c3f94dd8
  2. Oct 29, 2020
  3. Oct 19, 2020
  4. Oct 09, 2020
    • Oleksandr Slynko's avatar
      Fix go vet issues (#720) · 58bea9c8
      Oleksandr Slynko authored
      * Fix go vet issues
      
      * to omit the property from JSON parsing one should use "-". "omit" in
      that case would use omit tag
      * The error was not reachable in the tests, so I moved it to the place
      where it make sense for me (but maybe it was just unnecessary)
      
      * Run all go vet linters in CI
      
      * This return breaks the test
      58bea9c8
  5. Sep 17, 2020
    • yoavrotems's avatar
      Set actualResult (#703) · 041c4373
      yoavrotems authored
      actual Result is used later on to get actual value and the --include-test-output values but it never got set so its always empty.
      041c4373
  6. Sep 01, 2020
  7. Aug 13, 2020
    • Liz Rice's avatar
      chore: improve test clarity (#675) · 01c77b23
      Liz Rice authored
      * read-only-port defaults are correct
      
      * Tests that should catch good read-only-port
      
      * Rework checks & tests
      
      * Linting on issue template YAML
      
      * More explicit test for 4.2.4
      
      * Remove verbosity for ease of reading results
      
      * Use subtests
      
      * Tidy more test cases
      01c77b23
  8. Aug 12, 2020
  9. Aug 10, 2020
  10. Aug 03, 2020
  11. Jun 28, 2020
  12. Jun 22, 2020
  13. Mar 16, 2020
    • yoavrotems's avatar
      Add option to do bitmask (#565) · 60f2fb59
      yoavrotems authored
      * Add option to do bitwise and between two value in order to compare permissions
      
      * Update test.go
      
      Removed self debug note
      
      * Update test_test.go
      
      FIx typo
      
      * Update test.go
      
      * Update test.go
      
      Switched between max and requested value, because accidentally assigned them oppositely  and remove old function relate to octal base
      
      * Update test_test.go
      
      * Update test_test.go
      60f2fb59
  14. Mar 05, 2020
    • Liz Rice's avatar
      Add warn reason (#547) · 06303f6a
      Liz Rice authored
      
      * Update check.go
      
      Added new warn_reason value which gives a brief explanation about why the not scored tests failed
      
      * Update common.go
      
      Changed when a not scored test fails because it has a wrong syntax audit command or just running something that can't be run the print the failure. but if the test just fails because it doesn't line up with the cis hardening recommendations then print the remediation text.
      
      * Update check/check.go
      
      fix typo
      
      Co-Authored-By: default avatarLiz Rice <liz@lizrice.com>
      
      * Update check.go
      
      * Update common.go
      
      * Update check.go
      
      added back os.Exit(1) to  exitWithError
      
      * Update job-master.data
      
      Change some tests output to fit warn reason. (No change to the summary)
      
      * Update job-node.data
      
      Changed some tests output to fit warn reason. (No change to the summary)
      
      * Update job.data
      
      Change some tests output to fit warn reason. (No change to the summary)
      
      * Update common.go
      
      Keep to old way to print manual test output
      
      Co-authored-by: default avatarLiz Rice <liz@lizrice.com>
      Co-authored-by: default avatarRoberto Rojas <robertojrojas@gmail.com>
      06303f6a
  15. Mar 03, 2020
  16. Jan 03, 2020
  17. Dec 13, 2019
  18. Dec 05, 2019
    • Roberto Rojas's avatar
      Fixes Issue #494 - add tests for CIS 1.5 (#530) · af976e6f
      Roberto Rojas authored
      
      * Initial commit.
      
      * Add master and node config.
      
      * Add section 5 of CIS 1.5.1.
      
      * Split sections into section files
      
      * Fix YAML issues.
      
      * adds target translation
      
      * adds target translation
      
      * adds cis-1.5 mapping
      
      * fixed tests
      
      * fixes are per PR
      
      * fixed intergration test
      
      * integration kind test file to appropriate ks8 version
      
      * fixed etcd text
      
      * fixed README
      
      * fixed text
      
      * etcd: fixed grep path
      
      * etcd: fixes
      
      * fixed error message bug
      
      * Update README.md
      
      Co-Authored-By: default avatarLiz Rice <liz@lizrice.com>
      
      * Update README.md
      
      Co-Authored-By: default avatarLiz Rice <liz@lizrice.com>
      
      * fixes as per PR review
  19. Nov 13, 2019
  20. Nov 06, 2019
  21. Oct 14, 2019
    • Roberto Rojas's avatar
      Fixes issue #289: removed versions prior to 1.11 (#429) · a6ee61fd
      Roberto Rojas authored
      * removed version prior to 1.11
      
      * removed references to kubernetes versions prior to 1.11
      a6ee61fd
    • Roberto Rojas's avatar
      Issue #353: Merges JSON and Exec Params files (#426) · 3aa41db1
      Roberto Rojas authored
      
      * starts fixes #353
      
      * new approach to minize duplications
      
      * applied merged yaml files for v1.11 and v1.13
      
      * yaml files json/params merged
      
      * fixes to remove double quotes from numbers and booleans
      
      * fixed bug
      
      * fixed certificate check
      
      * removed -json files
      
      * changes based on PR review
      
      * Update check/check_test.go
      
      Yay more tests!
      
      Co-Authored-By: default avatarLiz Rice <liz@lizrice.com>
      
      * changes as PR review
      
      * fixed bug when scored check is missing tests
      
      * attempt to improve the code
      
      * fixed list breaks
      
      * removes handleError function
      
      * Update check/check.go
      
      Accepting suggested log level.
      
      Co-Authored-By: default avatarLiz Rice <liz@lizrice.com>
      3aa41db1
  22. Oct 12, 2019
  23. Jul 26, 2019
  24. Jul 17, 2019
    • Roberto Rojas's avatar
      Issue #363: Adds Unit Tests for Test Comparisons (#366) · dab5e92b
      Roberto Rojas authored
      * issue #363: starts unit tests for Test Comparison.
      
      * issue #363: Adds tests for "eq" operation
      
      * changes test result message
      
      * issue #363: Adds tests for "noteq" operation
      
      * issue #363: Adds tests for "gt" operation
      
      * issue #363: Adds tests for "lt" operation
      
      * issue #363: Adds tests for "gte" operation
      
      * issue #363: Adds tests for "lte" operation
      
      * issue #363: Adds tests for "has" operation
      
      * issue #363: Adds tests for "nothave" operation
      
      * issue #363: Adds tests for "regex" operation
      dab5e92b
  25. Jul 13, 2019
  26. Jul 12, 2019
  27. Jun 10, 2019
  28. Jun 05, 2019
  29. Jun 04, 2019
  30. May 26, 2019
  31. May 19, 2019
  32. May 16, 2019
  33. May 05, 2019
  34. May 03, 2019
Loading