Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

Commit

Permalink
feat: add cisdocker to api and orchestrator
Browse files Browse the repository at this point in the history
Signed-off-by: András Jáky <[email protected]>
  • Loading branch information
akijakya committed Feb 26, 2024
1 parent f52a184 commit 407de7e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion api/types/families.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func (c *MisconfigurationsConfig) GetScannersList() []string {
return *c.Scanners
}

return []string{"lynis"}
return []string{"lynis", "cisdocker"}
}

func (c *MalwareConfig) IsEnabled() bool {
Expand Down
4 changes: 4 additions & 0 deletions orchestrator/watcher/assetscan/families.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,10 @@ func withMisconfigurationConfig(config *apitypes.MisconfigurationsConfig, _ *Sca
Lynis: misconfiguration.LynisConfig{
BinaryPath: "",
},
CISDocker: misconfiguration.CISDockerConfig{
Timeout: 0,
Registry: &cliconfig.Registry{},
},
},
}
}
Expand Down

0 comments on commit 407de7e

Please sign in to comment.