Skip to content

Commit

Permalink
chore: add cloud note (#1066)
Browse files Browse the repository at this point in the history
  • Loading branch information
gotbadger authored Jun 14, 2023
1 parent ee0362f commit 751614b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/report/output/security/.snapshots/TestBuildReportString
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,5 @@ WARNING: 0

Need help or want to discuss the output? Join the Community https://discord.gg/eaHZBJUXRF

Ready to take the next step, learn more about Bearer Cloud https://www.bearer.com/bearer-cloud

4 changes: 4 additions & 0 deletions pkg/report/output/security/security.go
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,10 @@ func BuildReportString(config settings.Config, results *Results, lineOfCodeOutpu

reportStr.WriteString("\nNeed help or want to discuss the output? Join the Community https://discord.gg/eaHZBJUXRF\n")

if config.Client == nil {
reportStr.WriteString("\nReady to take the next step, learn more about Bearer Cloud https://www.bearer.com/bearer-cloud\n")
}

color.NoColor = initialColorSetting

return reportStr, reportPassed
Expand Down

0 comments on commit 751614b

Please sign in to comment.