Skip to content

Commit

Permalink
remove sca optin from scan log description (#661)
Browse files Browse the repository at this point in the history
* remove sca option from scan log description
  • Loading branch information
AlvoBen authored Feb 20, 2024
1 parent ecf2535 commit 75b2b12
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/commands/scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,16 +246,16 @@ func scanLogsSubCommand(logsWrapper wrappers.LogsWrapper) *cobra.Command {
logsCmd := &cobra.Command{
Use: "logs",
Short: "Download scan log for selected scan type",
Long: "Accepts a scan-id and scan type (sast, iac-security or sca) and downloads the related scan log",
Long: "Accepts a scan-id and scan type (sast, iac-security) and downloads the related scan log",
Example: heredoc.Doc(
`
$ cx scan logs --scan-id <scan Id> --scan-type <sast | sca | iac-security>
$ cx scan logs --scan-id <scan Id> --scan-type <sast | iac-security>
`,
),
RunE: runDownloadLogs(logsWrapper),
}
logsCmd.PersistentFlags().String(commonParams.ScanIDFlag, "", "Scan ID to retrieve log for.")
logsCmd.PersistentFlags().String(commonParams.ScanTypeFlag, "", "Scan type to pull log for, ex: sast, iac-security or sca.")
logsCmd.PersistentFlags().String(commonParams.ScanTypeFlag, "", "Scan type to pull log for, ex: sast, iac-security.")
markFlagAsRequired(logsCmd, commonParams.ScanIDFlag)
markFlagAsRequired(logsCmd, commonParams.ScanTypeFlag)

Expand Down

0 comments on commit 75b2b12

Please sign in to comment.