8000 Remove kubeaudit scanner by J12934 · Pull Request #3026 · secureCodeBox/secureCodeBox · GitHub
[go: up one dir, main page]

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
8000
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,6 @@ jobs:
- ffuf
- git-repo-scanner
- gitleaks
- kubeaudit
- kube-hunter
- ncrack
- nikto
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/release-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,6 @@ jobs:
- git-repo-scanner
- gitleaks
- kube-hunter
- kubeaudit
- ncrack
- nikto
- nmap
Expand Down Expand Up @@ -415,7 +414,6 @@ jobs:
- cmseek
- ffuf
- kube-hunter
- kubeaudit
- ncrack
- nmap
- nikto
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/scb-bot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ jobs:
- ffuf
- gitleaks
- kube-hunter
- kubeaudit
- ncrack
- nuclei
- semgrep
Expand Down
2 changes: 0 additions & 2 deletions bin/release-note-grouper.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ Example Usage: `pbpaste | release-version-grouper.js`

E.g. turn this:
```md
[SCB-Bot] Upgraded kubeaudit from 0.22.0 to 0.22.1 @secureCodeBoxBot (#2111)
[SCB-Bot] Upgraded semgrep from 1.50.0 to 1.51.0 @secureCodeBoxBot (#2112)
[SCB-Bot] Upgraded nuclei from v3.0.4 to v3.1.0 @secureCodeBoxBot (#2114)
[SCB-Bot] Upgraded gitleaks from v8.18.0 to v8.18.1 @secureCodeBoxBot (#2103)
Expand All @@ -23,7 +22,6 @@ E.g. turn this:
into this:
```md
- Upgraded gitleaks from v8.18.0 to v8.18.1 @secureCodeBoxBot (#2103)
- Upgraded kubeaudit from 0.22.0 to 0.22.1 @secureCodeBoxBot (#2111)
- Upgraded nuclei from v3.0.3 to v3.1.0 @secureCodeBoxBot (#2114, #2104)
- Upgraded semgrep from 1.48.0 to 1.51.0 @secureCodeBoxBot (#2112, #2101)
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ This adds the old-wordpress demo-target to your integration tests. You can find
```makefile
#!/usr/bin/make -f
include_guard = set
scanner = kubeaudit
scanner = nmap
custom_scanner = set

include ../../scanners.mk
Expand All @@ -67,18 +67,16 @@ deploy-with-scanner:
--set="parser.image.repository=docker.io/$(IMG_NS)/$(parser-prefix)-$(scanner)" \
--set="parser.image.tag=$(IMG_TAG)" \
--set="scanner.image.repository=docker.io/$(IMG_NS)/$(scanner-prefix)-$(scanner)" \
--set="scanner.image.tag=$(IMG_TAG)" \
--set="kubeauditScope=cluster"
--set="scanner.image.tag=$(IMG_TAG)"

deploy-test-deps:
# If not exists create namespace where the tests will be executed
kubectl create namespace kubeaudit-tests --dry-run=client -o yaml | kubectl apply -f -
# Install jshop in kubeaudit-tests namespace
helm -n kubeaudit-tests upgrade --install juice-shop ../../demo-targets/juice-shop/ --wait
kubectl create namespace nmap-tests --dry-run=client -o yaml | kubectl apply -f -
# Install jshop in nmap-tests namespace
helm -n nmap-tests upgrade --install juice-shop ../../demo-targets/juice-shop/ --wait
```

This makefile overrides the deploy-with-scanner target such that the `kubeauditScope` can be overwritten.
Furthermore, it overrides the deploy-test-deps target such that juice-shop is installed in the correct namespace (kubeaudit-tests).
Furthermore, it overrides the deploy-test-deps target such that juice-shop is installed in the correct namespace (nmap-tests).

### Reusing components from other scanners

Expand Down
1 change: 1 addition & 0 deletions documentation/docs/getting-started/upgrading.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ sidebar_position: 3
### Removed / Replaced ScanTypes

* `typo3scan` was removed as the scanner itself [isn't maintaned anymore](https://github.com/whoot/Typo3Scan?tab=readme-ov-file#unsupported). Most security aspects of typo3 are now hard to verify from the outside as it requires authentication (which is really good). Some typo3 security aspects (e.g. a incomplete installation) can be verified by [nuclei](https://www.securecodebox.io/docs/scanners/nuclei).
* `kubeaudit` was removed as the scanner itself [isn't maintaned anymore](https://github.com/Shopify/kubeaudit?tab=readme-ov-file#-deprecation-notice-). As a replacement you can use the `trivy` with it's `k8s` scanning mode, see [trivy ScanType k8s example](https://www.securecodebox.io/docs/scanners/trivy#k8s).

➡️ [Reference: #2670](https://github.com/secureCodeBox/secureCodeBox/issues/2670)

Expand Down
7 changes: 0 additions & 7 deletions documentation/src/integrations.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,6 @@ export const Scanners = [
path: "docs/scanners/kube-hunter",
imageUrl: "img/integrationIcons/Default.svg",
},
{
title: "Kubeaudit",
type: "Kubernetes",
usecase: "Kubernetes Configuration Scanner",
path: "docs/scanners/kubeaudit",
imageUrl: "img/integrationIcons/Kubeaudit.svg",
},
{
title: "Ncrack",
type: "Authentication",
Expand Down
2 changes: 1 addition & 1 deletion operator/internal/telemetry/telemetry.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ var officialScanTypes map[string]bool = map[string]bool{
"git-repo-scanner": true,
"gitleaks": true,
"kube-hunter": true,
"kubeaudit": true,
"kubeaudit": true, // deprecated. we'll keep it in this list to still recieve telemetry data from older versions
"ncrack": true,
"nikto": true,
"nmap": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -487,27 +487,6 @@
"archived": false,
},
},
{
"name": "GitHub Repo",
"description": "A GitHub repository",
"category": "Git Repository",
"osi_layer": "APPLICATION",
"severity": "INFORMATIONAL",
"attributes":
{
"id": "303349727",
"web_url": "https://github.com/secureCodeBox/kubeaudit",
"full_name": "secureCodeBox/kubeaudit",
"owner_type": "Organization",
"owner_id": "34573705",
"topics": [],
"owner_name": "secureCodeBox",
"created_at": "2020-10-12T09:58:26Z",
"last_activity_at": "2020-10-12T09:58:28Z",
"visibility": "public",
"archived": false,
},
},
{
"name": "GitHub Repo",
"description": "A GitHub repository",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -520,23 +520,5 @@
"last_activity_at": "2020-10-21T15:11:56Z",
"visibility": "private"
}
},
{
"name": "GitHub Repo",
"description": "A GitHub repository",
"category": "Git Repository",
"osi_layer": "APPLICATION",
"severity": "INFORMATIONAL",
"attributes": {
"id": 303349727,
"web_url": "https://github.com/secureCodeBox/kubeaudit",
"full_name": "secureCodeBox/kubeaudit",
"owner_type": "Organization",
"owner_id": 34573705,
"owner_name": "secureCodeBox",
"created_at": "2020-10-12T09:58:26Z",
"last_activity_at": "2020-10-12T09:58:28Z",
"visibility": "public"
}
}
]
18 changes: 0 additions & 18 deletions scanners/git-repo-scanner/parser/parser.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -554,24 +554,6 @@ test("should properly parse git-scanner json file", async () => {
"osi_layer": "APPLICATION",
"severity": "INFORMATIONAL",
},
Object {
"attributes": Object {
"created_at": "2020-10-12T09:58:26Z",
"full_name": "secureCodeBox/kubeaudit",
"id": 303349727,
"last_activity_at": "2020-10-12T09:58:28Z",
"owner_id": 34573705,
"owner_name": "secureCodeBox",
"owner_type": "Organization",
"visibility": "public",
"web_url": "https://github.com/secureCodeBox/kubeaudit",
},
"category": "Git Repository",
"description": "A GitHub repository",
"name": "GitHub Repo",
"osi_layer": "APPLICATION",
"severity": "INFORMATIONAL",
},
]
`);
});
5 changes: 0 additions & 5 deletions scanners/kubeaudit/.gitignore

This file was deleted.

54 changes: 0 additions & 54 deletions scanners/kubeaudit/.helm-docs.gotmpl

This file was deleted.

40 changes: 0 additions & 40 deletions scanners/kubeaudit/.helmignore

This file was deleted.

28 changes: 0 additions & 28 deletions scanners/kubeaudit/Chart.yaml

This file was deleted.

29 changes: 0 additions & 29 deletions scanners/kubeaudit/Makefile

This file was deleted.

Loading
Loading
0