Skip to content

Commit

Permalink
Merge pull request #111 from Splinter0/main
Browse files Browse the repository at this point in the history
Fix access token creation link
  • Loading branch information
zozs authored Sep 8, 2023
2 parents 9356f6f + 236569c commit 3aaa3e3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ docker pull debricked/cli
## Scan
Once you've installed the CLI, you're ready to scan your project. You can scan a local project, or integrate a scanning mechanism in your CI/CD pipeline.
1. [Sign up to Debricked](https://debricked.com/app/en/register)
2. [Create an access token](https://debricked.com/docs/administration/access-tokens.html#creating-access-tokens)
2. [Create an access token](https://portal.debricked.com/administration-47/how-do-i-generate-an-access-token-130)
3. `debricked scan -t <access-token>`

When the scan is complete, you will see the total number of vulnerabilities found and a list of automation rules that have been evaluated. Read more about automations [here](https://debricked.com/docs/automation/automation-overview.html#automation-overview).
Expand Down
2 changes: 1 addition & 1 deletion internal/client/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func interpret(res *http.Response, request func() (*http.Response, error), debCl
return nil, NoResErr
} else if res.StatusCode == http.StatusUnauthorized {
errMsg := `Unauthorized. Specify access token.
Read more on https://debricked.com/docs/administration/access-tokens.html`
Read more on https://portal.debricked.com/administration-47/how-do-i-generate-an-access-token-130`
if retry {
err := debClient.authenticate()
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/root/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Complete documentation is available at https://portal.debricked.com/debricked-cl
"t",
"",
`Debricked access token.
Read more: https://debricked.com/docs/administration/access-tokens.html`,
Read more: https://portal.debricked.com/administration-47/how-do-i-generate-an-access-token-130`,
)

var debClient = container.DebClient()
Expand Down

0 comments on commit 3aaa3e3

Please sign in to comment.