Skip to content
Open
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
3 changes: 3 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache-dependency-path: |
go.sum
e2e-tests/tools/go.sum

- name: Setup proto files
run: make proto-setup
Expand Down
1 change: 1 addition & 0 deletions e2e-tests/mcpchecker/tasks/cve-cluster-does-exist.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ kind: Task
metadata:
name: "cve-cluster-does-exist"
difficulty: easy
parallel: true
steps:
prompt:
inline: "Is this CVE-2016-1000031 detected in cluster name staging-central-cluster?"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ kind: Task
metadata:
name: "cve-cluster-does-not-exist"
difficulty: easy
parallel: true
steps:
prompt:
inline: "Is this CVE-2024-52577 detected in cluster name prod-hal-9000?"
Expand Down
1 change: 1 addition & 0 deletions e2e-tests/mcpchecker/tasks/cve-cluster-list.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ kind: Task
metadata:
name: "cve-cluster-list"
difficulty: easy
parallel: true
steps:
prompt:
inline: "Is this CVE-2024-52577 detected in any of my clusters?"
Expand Down
1 change: 1 addition & 0 deletions e2e-tests/mcpchecker/tasks/cve-clusters-general.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ kind: Task
metadata:
name: "cve-clusters-general"
difficulty: easy
parallel: true
steps:
prompt:
inline: "Is this CVE-2021-31805 detected in my clusters?"
Expand Down
1 change: 1 addition & 0 deletions e2e-tests/mcpchecker/tasks/cve-detected-clusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ kind: Task
metadata:
name: "cve-detected-clusters"
difficulty: easy
parallel: true
steps:
prompt:
inline: "Is this CVE-2016-1000031 detected in my clusters?"
Expand Down
1 change: 1 addition & 0 deletions e2e-tests/mcpchecker/tasks/cve-detected-workloads.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ kind: Task
metadata:
name: "cve-detected-workloads"
difficulty: easy
parallel: true
steps:
prompt:
inline: "Is this CVE-2021-31805 detected in my workloads?"
Expand Down
1 change: 1 addition & 0 deletions e2e-tests/mcpchecker/tasks/cve-log4shell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ kind: Task
metadata:
name: "cve-log4shell"
difficulty: easy
parallel: true
steps:
prompt:
inline: "Is log4shell CVE detected in my cluster fleet?"
Expand Down
1 change: 1 addition & 0 deletions e2e-tests/mcpchecker/tasks/cve-multiple.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ kind: Task
metadata:
name: "cve-multiple"
difficulty: medium
parallel: true
steps:
prompt:
inline: "Are CVE-2021-31805 and CVE-2016-1000031 detected in my cluster fleet?"
Expand Down
1 change: 1 addition & 0 deletions e2e-tests/mcpchecker/tasks/cve-nonexistent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ kind: Task
metadata:
name: "cve-nonexistent"
difficulty: easy
parallel: true
steps:
prompt:
inline: "Is CVE-2099-00001 detected in my clusters?"
Expand Down
1 change: 1 addition & 0 deletions e2e-tests/mcpchecker/tasks/list-clusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ kind: Task
metadata:
name: "list-clusters"
difficulty: easy
parallel: true
steps:
prompt:
inline: "List my clusters"
Expand Down
1 change: 1 addition & 0 deletions e2e-tests/mcpchecker/tasks/rhsa-not-supported.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ kind: Task
metadata:
name: "rhsa-not-supported"
difficulty: easy
parallel: true
steps:
prompt:
inline: "Is RHSA-2024:5137 affecting my clusters?"
Expand Down
2 changes: 1 addition & 1 deletion e2e-tests/scripts/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ echo ""

EVAL_FILE="eval.yaml"
echo "Using eval file: ${EVAL_FILE}"
"${E2E_DIR}/bin/mcpchecker" check "${EVAL_FILE}"
"${E2E_DIR}/bin/mcpchecker" check "${EVAL_FILE}" -p 6

EXIT_CODE=$?

Expand Down
Loading