Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/composite/todoapp/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ runs:
CMD=./$EXECUTABLE
fi

curl -fsSL https://github.com/NeuraLegion/go-todoapp-demo/releases/latest/download/$EXECUTABLE > ./$EXECUTABLE
curl -fsSL https://github.com/BrightSec/go-todoapp-demo/releases/latest/download/$EXECUTABLE > ./$EXECUTABLE
chmod +x ./$EXECUTABLE

echo "cmd=$CMD" >> "$GITHUB_OUTPUT"
8 changes: 2 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -298,18 +298,14 @@ jobs:
with:
name: build

# The scope does not align with the package name
# FIXME: once GitHub organization name has been changed, we should prevent this behavior
- name: Prepare GPR package
run: |
npm pkg set name='@neuralegion/bright-cli' \
&& npm pkg set brightCli.distribution=gpr
run: npm pkg set brightCli.distribution=gpr

- name: Setup node
uses: ./.github/workflows/composite/npm
with:
registry: 'https://npm.pkg.github.com'
scope: '@NeuraLegion'
scope: '@brightsec'

- run: npm publish --tag ${{ needs.resolve-tag.outputs.tag }}
env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
if [ -n "${{ inputs.version }}" ]; then
echo "version=${{ inputs.version }}" >> $GITHUB_OUTPUT
else
VERSION=$(curl -s https://api.github.com/repos/NeuraLegion/bright-cli/releases/latest | jq -r '.tag_name')
VERSION=$(curl -s https://api.github.com/repos/BrightSec/bright-cli/releases/latest | jq -r '.tag_name')
echo "version=$VERSION" >> $GITHUB_OUTPUT
fi

Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
- name: Download Executable
shell: bash
run: |
curl -fsSL https://github.com/NeuraLegion/bright-cli/releases/download/${{ needs.resolve-version.outputs.version }}/${{ matrix.executable }} > ./${{ matrix.executable }}
curl -fsSL https://github.com/BrightSec/bright-cli/releases/download/${{ needs.resolve-version.outputs.version }}/${{ matrix.executable }} > ./${{ matrix.executable }}
chmod +x ./${{ matrix.executable }}

- name: Download Target
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:
- name: Download and Install Bright CLI using MSI
shell: pwsh
run: |
Invoke-WebRequest -Uri 'https://github.com/NeuraLegion/bright-cli/releases/download/${{ needs.resolve-version.outputs.version }}/bright-cli.msi' -OutFile bright-cli.msi
Invoke-WebRequest -Uri 'https://github.com/BrightSec/bright-cli/releases/download/${{ needs.resolve-version.outputs.version }}/bright-cli.msi' -OutFile bright-cli.msi
$lastExitCode = (Start-Process msiexec.exe `
-ArgumentList "/i bright-cli.msi /qn /norestart /l*v `"$($pwd)\install.log`"" `
-PassThru `
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ ARG VERSION

LABEL org.opencontainers.image.vendor="Bright Security Inc."
LABEL org.opencontainers.image.title="Repeater"
LABEL org.opencontainers.image.source="git@github.com:NeuraLegion/bright-cli.git"
LABEL org.opencontainers.image.url="https://github.com/NeuraLegion/bright-cli"
LABEL org.opencontainers.image.source="git@github.com:BrightSec/bright-cli.git"
LABEL org.opencontainers.image.url="https://github.com/BrightSec/bright-cli"
LABEL org.opencontainers.image.authors="Artem Derevnjuk <artem.derevnjuk@brightsec.com>"
LABEL org.opencontainers.image.version="$VERSION"

Expand Down
2 changes: 1 addition & 1 deletion helm/bright-cli/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ keywords:
- bridge
- security
sources:
- https://github.com/NeuraLegion/bright-cli
- https://github.com/BrightSec/bright-cli
maintainers:
- name: Artsem Dzerauniuk
email: artem.derevnjuk@brightsec.com
Expand Down
6 changes: 3 additions & 3 deletions helm/bright-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Prerequisites:
To install the Bright CLI Helm chart, you need to execute the following command:

```bash
helm install bright-cli oci://ghcr.io/neuralegion/bright-cli \
helm install bright-cli oci://ghcr.io/brightsec/bright-cli \
--set api.hostname="app.brightsec.com" \
--set api.token="your-brightsec-api-token" \
--set repeater.id="your-repeater-id"
Expand All @@ -41,7 +41,7 @@ kubectl create secret generic my-bright-secret \
2. Then install the chart referencing the existing secret:

```bash
helm install bright-cli oci://ghcr.io/neuralegion/bright-cli \
helm install bright-cli oci://ghcr.io/brightsec/bright-cli \
--set api.hostname="app.brightsec.com" \
--set api.existingSecret.name="my-bright-secret" \
--set repeater.id="your-repeater-id"
Expand All @@ -54,7 +54,7 @@ helm install bright-cli oci://ghcr.io/neuralegion/bright-cli \
If you need to upgrade the chart, you can use the following command:

```bash
helm upgrade bright-cli oci://ghcr.io/neuralegion/bright-cli
helm upgrade bright-cli oci://ghcr.io/brightsec/bright-cli
```

## Uninstalling the Chart
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": false,
"repository": {
"type": "git",
"url": "git+https://github.com/NeuraLegion/bright-cli.git"
"url": "git+https://github.com/BrightSec/bright-cli.git"
},
"publishConfig": {
"access": "public"
Expand All @@ -14,7 +14,7 @@
"bright-cli": "./dist/index.js"
},
"bugs": {
"url": "https://github.com/NeuraLegion/bright-cli/issues"
"url": "https://github.com/BrightSec/bright-cli/issues"
},
"commitlint": {
"extends": [
Expand Down Expand Up @@ -106,7 +106,7 @@
"files": [
"dist"
],
"homepage": "https://github.com/NeuraLegion/bright-cli#readme",
"homepage": "https://github.com/BrightSec/bright-cli#readme",
"keywords": [
"nexploit",
"cli",
Expand Down
2 changes: 1 addition & 1 deletion tools/msi/product.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<!-- RegistryValue needed because every Component must have a KeyPath.
Because of ICE43, the Root must be HKCU. -->
<RegistryValue Root="HKCU" Key="$(var.RegistryKeyPath)\Components" Type="integer" Value="1" KeyPath="yes" />
<util:InternetShortcut Id="OnlineWebsiteShortcut" Name="$(var.ProductName) repository" Target="https://github.com/NeuraLegion/bright-cli" Type="url" />
<util:InternetShortcut Id="OnlineWebsiteShortcut" Name="$(var.ProductName) repository" Target="https://github.com/BrightSec/bright-cli" Type="url" />
<util:InternetShortcut Id="OnlineDocumentationShortcut" Name="$(var.ProductName) documentation" Target="https://docs.brightsec.com/docs/about-bright-cli" Type="url" />
<Shortcut Id="UninstallProduct" Name="Uninstall $(var.ProductName)" Target="[System64Folder]msiexec.exe" Arguments="/x [ProductCode]" />
<Shortcut Id="ExeShortcut" Name="$(var.ProductName)" Icon="BrightIcon" Target="[INSTALLDIR]bright-cli.exe" WorkingDirectory="INSTALLDIR" IconIndex="0" />
Expand Down
2 changes: 1 addition & 1 deletion tools/scripts/install.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ if %errorLevel% == 0 (
set "VENDOR=bright"
set "PRODUCT_NAME=%VENDOR%-cli"
set "INSTALL_DIR=%ProgramFiles%\%PRODUCT_NAME%"
set "DOWNLOAD_URL=https://github.com/NeuraLegion/%PRODUCT_NAME%/releases/latest/download/%PRODUCT_NAME%-win-x64.exe"
set "DOWNLOAD_URL=https://github.com/BrightSec/%PRODUCT_NAME%/releases/latest/download/%PRODUCT_NAME%-win-x64.exe"

:: Create an installation folder if not exist
if not exist "%INSTALL_DIR%" (
Expand Down
2 changes: 1 addition & 1 deletion tools/scripts/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if (-not ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdenti
$VENDOR = "bright"
$PRODUCT_NAME = "$VENDOR-cli"
$INSTALL_DIR = Join-Path "$env:ProgramFiles" $VENDOR
$DOWNLOAD_URL = "https://github.com/NeuraLegion/$PRODUCT_NAME/releases/latest/download/$PRODUCT_NAME-win-x64.exe"
$DOWNLOAD_URL = "https://github.com/BrightSec/$PRODUCT_NAME/releases/latest/download/$PRODUCT_NAME-win-x64.exe"

# Create an installation folder if not exist
if (-not (Test-Path $INSTALL_DIR)) {
Expand Down
2 changes: 1 addition & 1 deletion tools/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

# Download an executable
OS=$(uname -s | tr '[:upper:]' '[:lower:]')
DOWNLOAD_URL=https://github.com/NeuraLegion/$PRODUCT_NAME/releases/latest/download/$PRODUCT_NAME
DOWNLOAD_URL=https://github.com/BrightSec/$PRODUCT_NAME/releases/latest/download/$PRODUCT_NAME

if [[ "$OS" == "linux-gnu"* ]]; then
DOWNLOAD_URL+="-linux-x64"
Expand Down
Loading