Skip to content

Commit

Permalink
(WIP) Test: Verify if secrets are encrypted
Browse files Browse the repository at this point in the history
  • Loading branch information
haskojur committed Apr 24, 2024
1 parent 1d313a1 commit c928f29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tasks/platform/security.cr
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ namespace "platform" do

CNFManager::Task.task_runner(args, task: t, check_cnf_installed: false) do |args, config|
results_json = Kubescape.parse
test_json = Kubescape.test_by_test_name(results_json, "Secret/etcd encryption enabled")
test_json = Kubescape.test_by_test_name(results_json, "Secret/ETCD encryption enabled")
test_report = Kubescape.parse_test_report(test_json)

if test_report.failed_resources.size == 0
Expand Down

0 comments on commit c928f29

Please sign in to comment.