Skip to content

Commit a06b5b6

Browse files
changed the help text
1 parent 4d71ef5 commit a06b5b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/commands/pre-receive.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
)
1313

1414
const (
15-
SuccessFullSecretsLicenceValidation = "Successfully Validated the Enterprise Secrets licence!"
15+
SuccessFullSecretsLicenceValidation = "License for pre-receive secret detection has been validated successfully"
1616
)
1717

1818
func PreReceiveCommand(jwtWrapper wrappers.JWTWrapper) *cobra.Command {
@@ -76,7 +76,7 @@ func checkLicence(jwtWrapper wrappers.JWTWrapper) func(cmd *cobra.Command, args
7676
log.Fatalf("%s: %s", "Failed the licence check", err)
7777
}
7878
if !isAllowed {
79-
log.Fatalf("Error: License validation failed. Please ensure your CxOne license includes Enterprise Secrets")
79+
log.Fatalf("Error: License validation failed. Please ensure that your Checkmarx One license includes Enterprise Secrets")
8080
}
8181
_, _ = fmt.Fprintln(cmd.OutOrStdout(), SuccessFullSecretsLicenceValidation)
8282
return nil

0 commit comments

Comments
 (0)