From b28e750e154aacd9647c3418e6e1328ccf57f62b Mon Sep 17 00:00:00 2001 From: UncleVic Date: Wed, 20 Apr 2022 17:41:29 +0300 Subject: [PATCH] docs: fix app --- README.md | 4 ++-- action.yml | 2 +- src/index.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4837f1b..7b1ba07 100644 --- a/README.md +++ b/README.md @@ -41,13 +41,13 @@ More information is available on Bright’s: ### `api_token` -**Required**. Your Bright API authorization token (key). You can generate it in the **Organization** section in [the Bright app](https://app.brightsec.com/login). Find more information [here](https://docs.brightsec.com/docs/manage-your-organization#manage-organization-apicli-authentication-tokens). +**Required**. Your Bright API authorization token (key). You can generate it in the **Organization** section in [the Bright app](https://app.neuralegion.com/login). Find more information [here](https://docs.brightsec.com/docs/manage-your-organization#manage-organization-apicli-authentication-tokens). _Example:_ `api_token: ${{ secrets.NEURALEGION_TOKEN }}` ### `scan` -**Required**. ID of an existing scan to be restarted. You can get the scan ID in the Scans section in [the Bright app](https://app.brightsec.com/login). +**Required**. ID of an existing scan to be restarted. You can get the scan ID in the Scans section in [the Bright app](https://app.neuralegion.com/login). _Example:_ `scan: ${{ steps.start.outputs.id }}` diff --git a/action.yml b/action.yml index ff3a2cd..38d7a0c 100644 --- a/action.yml +++ b/action.yml @@ -11,7 +11,7 @@ inputs: description: 'Scan ID to wait for' required: true hostname: - description: 'Hostname. Default is app.brightsec.com' + description: 'Hostname. Default is app.neuralegion.com' required: false wait_for: description: 'Wait for first issue: *any*, *medium*, *high*' diff --git a/src/index.ts b/src/index.ts index 25b1d96..aa27c4b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -27,7 +27,7 @@ const interval = 20000; const timeout = 1000 * Number(core.getInput('timeout')); const baseUrl = ( - hostname ? `https://${hostname}` : 'https://app.brightsec.com' + hostname ? `https://${hostname}` : 'https://app.neuralegion.com' ).replace(/\/$/, ''); axiosRetry(axios, { retries: 3 });