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
24 changes: 24 additions & 0 deletions .github/workflows/license-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

name: Check License Compliance
on:
push:
branches:
- main
- v[0-9]+.x
pull_request:

jobs:
license-check:
runs-on: ubuntu-22.04
if: github.repository == 'secureCodeBox/secureCodeBox'
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: REUSE Compliance Check
uses: fsfe/reuse-action@v2
with:
args: --include-submodules lint
9 changes: 8 additions & 1 deletion .reuse/dep5
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: secureCodeBox
Upstream-Contact: Robert Seedorff <robert.seedorff@iteratec.com>
Upstream-Contact: Robert Felber <robert.felber@iteratec.com>
Source: https://github.com/secureCodeBox/secureCodeBox

Files: .github/ISSUE_TEMPLATE/*.md
Copyright: the secureCodeBox authors
License: Apache-2.0

# Workaround because some of the test files hav content which confuses reuse
# and it will skip the file resulting in no copyright/license ifo which will
# fail our check.
Files: **/tests/__snapshot__/*.yaml.snap
Copyright: the secureCodeBox authors
License: Apache-2.0
4 changes: 4 additions & 0 deletions auto-discovery/kubernetes/tests/auto-discovery_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot
templates:
- rbac/*.yaml
Expand Down
4 changes: 4 additions & 0 deletions demo-targets/bodgeit/tests/bodgeit_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
4 changes: 4 additions & 0 deletions demo-targets/dummy-ssh/tests/dummy-ssh_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
4 changes: 4 additions & 0 deletions demo-targets/http-webhook/tests/http-webhook_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
4 changes: 4 additions & 0 deletions demo-targets/juice-shop/tests/juice-shop_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
4 changes: 4 additions & 0 deletions demo-targets/old-joomla/tests/old-joomla_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
4 changes: 4 additions & 0 deletions demo-targets/old-typo3/tests/old-typo3_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
4 changes: 4 additions & 0 deletions demo-targets/old-wordpress/tests/old-wordpress_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
4 changes: 4 additions & 0 deletions demo-targets/unsafe-https/tests/unsafe-https_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
4 changes: 4 additions & 0 deletions hooks/cascading-scans/tests/cascading-scans_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot
tests:
- it: matches the snapshot
Expand Down
4 changes: 4 additions & 0 deletions hooks/generic-webhook/tests/generic-webhook_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
4 changes: 4 additions & 0 deletions hooks/notification/tests/notification_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
4 changes: 4 additions & 0 deletions hooks/persistence-elastic/tests/persistence-elastic_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot
templates:
- import-dashboard.yaml
Expand Down
4 changes: 4 additions & 0 deletions hooks/update-field-hook/tests/update-field-hook_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
4 changes: 4 additions & 0 deletions operator/tests/operator_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot
templates:
- NOTES.txt
Expand Down
4 changes: 4 additions & 0 deletions scanners/amass/tests/scanner_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
4 changes: 4 additions & 0 deletions scanners/cmseek/tests/scanner_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
4 changes: 4 additions & 0 deletions scanners/doggo/tests/scanner_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
4 changes: 4 additions & 0 deletions scanners/ffuf/tests/scanner_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
4 changes: 4 additions & 0 deletions scanners/git-repo-scanner/tests/scanner_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
4 changes: 4 additions & 0 deletions scanners/gitleaks/tests/scanner_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
4 changes: 4 additions & 0 deletions scanners/kube-hunter/tests/scanner_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
4 changes: 4 additions & 0 deletions scanners/kubeaudit/tests/scanner_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
4 changes: 4 additions & 0 deletions scanners/ncrack/tests/scanner_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
4 changes: 4 additions & 0 deletions scanners/nikto/tests/scanner_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
4 changes: 4 additions & 0 deletions scanners/nmap/tests/scanner_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
4 changes: 4 additions & 0 deletions scanners/nuclei/tests/scanner_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
4 changes: 4 additions & 0 deletions scanners/screenshooter/tests/scanner_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
4 changes: 4 additions & 0 deletions scanners/semgrep/tests/scanner_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
4 changes: 4 additions & 0 deletions scanners/ssh-audit/tests/scanner_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
4 changes: 4 additions & 0 deletions scanners/ssh-scan/tests/scanner_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
4 changes: 4 additions & 0 deletions scanners/sslyze/tests/scanner_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
4 changes: 4 additions & 0 deletions scanners/test-scan/tests/scanner_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
4 changes: 4 additions & 0 deletions scanners/trivy/tests/scanner_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
4 changes: 4 additions & 0 deletions scanners/typo3scan/tests/scanner_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
4 changes: 4 additions & 0 deletions scanners/whatweb/tests/scanner_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
4 changes: 4 additions & 0 deletions scanners/wpscan/tests/scanner_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
4 changes: 4 additions & 0 deletions scanners/zap-advanced/tests/scanner_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down
4 changes: 4 additions & 0 deletions scanners/zap/tests/scanner_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

suite: Full Snapshot

tests:
Expand Down