Skip to content
Snippets Groups Projects
  1. Mar 22, 2021
    • Yoav Rotem's avatar
      Add logging (#822) · 0cb30276
      Yoav Rotem authored
      
      * Add more logging
      
      The old logging could was lacking and in some cases misleading
      
      * Add Logging
      
      Add more logs and change some old messages, the important part is make each test log more readable by adding ------ test id ------ section in logs
      
      * Fix typos
      
      * more info
      
      add more info in comment about the function and it use cases
      
      Co-authored-by: default avatarLiz Rice <liz@lizrice.com>
      
      * Use switch case
      
      Change the logic from if to switch and tidy up the code
      Unverified
      0cb30276
  2. Dec 21, 2020
    • Liz Rice's avatar
      Refactor group skip (#783) · e4d6ed2e
      Liz Rice authored
      
      * Add example IAM policy
      
      * Pass RotateKubeletServerCertificate related checks if it's not found (#767)
      
      * Allow for environment variables to be checked in tests (#755)
      
      * Initial commit for checking environment variables for etcd
      
      * Revert config changes
      
      * Remove redundant struct data
      
      * Fix issues with failing tests
      
      * Initial changes based on code review
      
      * Add option to disable envTesting + Update docs
      
      * Initial tests
      
      * Finished testing
      
      * Fix broken tests
      
      * Add a total summary and always show all tests. (#759)
      
      Whether the total summary is shown can be specified with an option.
      
      Fixes #528
      
      Signed-off-by: default avatarChristian Zunker <christian.zunker@codecentric.cloud>
      
      * Update Readme.md file with link to Contribution guide (#754)
      
      * Update License with the year and the owner name
      
      Please add this to make your license agreement strong
      
      * Updated Readme.md file with license and proper documentation links
      
      I have added a proper license agreement to the documentation. Also shortened the links to the issues so that it does not break in any on the forks.
      
      * Update LICENSE
      
      * Update README.md
      
      * Update README.md
      
      * Remove erroneous license info
      
      Co-authored-by: default avatarLiz Rice <liz@lizrice.com>
      
      * Support auto-detect platform when running on EKS or GKE (#683)
      
      * Support auto-detect platform when running on EKS or GKE
      
      * Change to get platform name from `kubectl version`
      
      * fix regexp and add test
      
      * Update Server Version match for EKS
      
      * try to get version info from api sever at first
      
      * Refactor group skip
      
      changed group 'skip' from being a bool to be 'type' string as done in check
      
      * Change skip: true -> type: skip
      
      Co-authored-by: default avatarHuang Huang <mozillazg101@gmail.com>
      Co-authored-by: default avatarWicked <jason_attwood@hotmail.co.uk>
      Co-authored-by: default avatarChristian Zunker <827818+czunker@users.noreply.github.com>
      Co-authored-by: default avatarKaiwalya Koparkar <kaiwalyakoparkar@gmail.com>
      Co-authored-by: default avatarYoav Rotem <yoavrotems97@gmail.com>
      Unverified
      e4d6ed2e
  3. Nov 02, 2020
  4. Oct 09, 2020
  5. Oct 07, 2020
    • Tom Kelley's avatar
    • Tom Kelley's avatar
      Improve Proxykubeconfig tests (#708) · a7aa21f3
      Tom Kelley authored
      
      * Changes for 1.5
      
      * Update cis-1.3 through 1.6 to also work with configmaps.
      
      * Switch on if proxykubeconfig is set, instead of setting a variable in the script.
      
      * permissons -> proxykubeconfig for 2.2.5/4.1.3 to keep these tests locked with 2.2.6/4.1.4
      
      * Updating test output? Maybe?
      
      * Copy integration test output files into docker image?
      
      * Make entrypoint move integration folder to host, print 1.5 node info.
      
      * Change the order of tests in travis to load files before testing.
      
      * Return tests to place
      
      Those tests comes first since there is more likely to fail with them and then the test will fail "faster" which will save time
      
      * Remove copy integration 
      
      When running in a container we don't need to test, only when build and running in Travis to make sure everything is working fine.
      
      * Add $ mark before proxykubeconfig
      
      If not having $ before the parameter then it won't get substituted
      
      * Add $ mark before proxykubeconfig
      
      If not having $ before the parameter then it won't get substituted
      
      * Remove test relate lines
      
      We don't test while running, only integration testing when building and unit testing
      
      * Add spaces
      
      * Change 4.1.3 4.1.4
      
      Those tests now should pass.
      
      * Change tests 4.1.3 and 4.1.4
      
      Those tests now should PASS
      
      * Update job.data with more accurate counts. Thanks to @yoavrotems for getting the project this far!
      
      * Thanks for linting, yamllint!
      
      Co-authored-by: default avatarYoav Rotem <yoavrotems97@gmail.com>
      Unverified
      a7aa21f3
  6. Oct 03, 2020
  7. Sep 17, 2020
    • yoavrotems's avatar
      Add cis 1.6 (#678) · 7280438e
      yoavrotems authored
      * Add new cis version yamls
      
      Add new cis version yamls
      
      * Add new cis version yamls
      
      * Add cis-1.6 to versions table
      
      * support version mapping cis-1.6
      
      * support version mapping cis-1.6
      
      * Update controlplane.yaml
      
      * Update etcd.yaml
      
      * Update node.yaml
      
      * Update policies.yaml
      
      * Create job.data
      
      * Create job-node.data
      
      * Create job-master.data
      
      * Create add-tls-kind.yaml
      
      * Change node version to 1.15.0
      
      * Add tests for cis-1.6
      
      * Delete node_only.yaml
      
      * Change tests 1.1.19-1.1.21
      
      Change 1.1.19-1.1.21 because failing tests
      
      * Update job.data
      
      * Update job-master.data
      
      * Update job-master.data
      
      * Update job.data
      
      * fix 1.2.35 remediation 
      
      tabs instead of spaces
      
      * Update job-master.data
      
      * Remove extra space
      
      * Update job.data
      
      * Create node_only.yaml
      
      * Add tests for cis-1.6
      
      Add tests for cis-1.6 and change some from 1,5 to 1.6
      
      * Fix typo
      
      * Add mapping for cis-1.6
      
      * Remove extra space in 1.2.35 remediation
      
      * Update job.data
      
      * Update job-master.data
      
      * Fix type 1.2.35
      
      * Remove trailing spaces
      
      * Remove trailing spaces
      
      * Remove trailing spaces
      
      * Remove trailing spaces
      
      * Add version 1.19 kubernetes support
      
      * Add version 1.19 kubernetes support
      
      * Add version 1.19 kubernetes support
      Unverified
      7280438e
  8. Sep 01, 2020
  9. Aug 30, 2020
  10. Aug 12, 2020
  11. Aug 09, 2020
  12. Aug 04, 2020
  13. Jul 21, 2020
  14. Jun 24, 2020
  15. May 20, 2020
  16. 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>
      Unverified
      06303f6a
  17. Feb 18, 2020
  18. Feb 12, 2020
  19. Jan 21, 2020
  20. Jan 09, 2020
  21. Jan 07, 2020
  22. Jan 06, 2020
    • James Ward's avatar
      Support Linting YAML as part of Travis CI build (#554) · 5f34058d
      James Ward authored
      * add yamllint command to travis CI
      
      installs and runs a linter across the YAML in the
      project to ensure consistency in the written YAML.
      
      this uses yamllint and the default yamllint config with
      "truthy" and "line-length" disabled.
      
      * run dos2unix on CRLF files
      
      * YAMLLINT: remove trailing spaces
      
      * YAMLLint: add YAML document start
      
      * YAMLLint: too many spaces around bracket
      
      * YAMLLint: fix indentation
      
      * YAMLLint: remove duplicate key
      
      * YAMLLint: newline at end of file
      
      * YAMLLint: Too few spaces after comma
      
      * YAMLLint: too many spaces after colon
      5f34058d
  23. Dec 05, 2019
  24. Nov 27, 2019
    • Roberto Rojas's avatar
      Issue #421: Merges PR #422 with master (#523) · 9c6d4de8
      Roberto Rojas authored
      * Add kubeconfig location of kube-proxy for AKS
      
      * Add job for AKS node
      
      * Automate ca file permission check
      
      * removed job-aks.yaml as other PRs added needed features
      
      * fixed integration test due to merge changes
      9c6d4de8
  25. Nov 16, 2019
Loading