diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ad63731..64e35dc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ permissions: jobs: test: - runs-on: ubuntu-22.04 + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 @@ -28,7 +28,7 @@ jobs: build: needs: test - runs-on: ubuntu-22.04 + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v4 diff --git a/README.md b/README.md index 5fdd657..4639acf 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ sudo apt install ./nssec_0.1.0_amd64.deb The `.deb` installs the binary to `/usr/local/bin/nssec` and reference files (rules, dashboards, insight templates) to `/usr/share/nssec/`. -### From source +### From source (requires Python 3.10+) ```bash git clone https://github.com/jsrobinson3/ns-security.git @@ -43,10 +43,14 @@ pip install -e . | OS | NetSapiens Version | Status | |----|-------------------|--------| +| Ubuntu 24.04 LTS | v44.x | Tested | | Ubuntu 22.04 LTS | v44.x | Tested | +| Ubuntu 20.04 LTS | v44.x | Binary/.deb only | Other Debian-based distributions may work but are untested. Contributions and test reports for additional platforms are welcome. +> **Ubuntu 20.04 note:** U20 ships with Python 3.8 but nssec requires 3.10+. Install from source is not supported on U20 — use the standalone binary or .deb package instead. + ### Requirements - Root access required for WAF installation and hardening commands diff --git a/nfpm.yaml b/nfpm.yaml index 78b9bbe..e5755aa 100644 --- a/nfpm.yaml +++ b/nfpm.yaml @@ -19,9 +19,6 @@ contents: - src: rules/ dst: /usr/share/nssec/rules/ - - src: dashboards/ - dst: /usr/share/nssec/dashboards/ - - src: insight/ dst: /usr/share/nssec/insight/