Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updating ac tests #449

Merged
merged 1 commit into from
Aug 22, 2024
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
8 changes: 4 additions & 4 deletions configurations/system/tests_cases/ks_microservice_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def ac_5_fix_control_no_relevancy():
)

@staticmethod
def ac_alpine_fix_image_with_relevancy():
def ac_alpine_workload_external_track_fix_image():
"""
install scenario 'alpine' on the cluster, install the kubescape operator and run the scan.
once the attack chain has been detected on the backend, fix the attack chain and verify that is has been solved
Expand All @@ -74,7 +74,7 @@ def ac_alpine_fix_image_with_relevancy():
)

@staticmethod
def ac_alpine_fix_image_with_relevancy_with_cronjob():
def ac_alpine_workload_external_track_fix_image_with_cronjob():
"""
install scenario 'alpine' on the cluster, install the kubescape operator and run the scan triggered by a cronjob.
once the attack chain has been detected on the backend, fix the attack chain and verify that is has been solved
Expand All @@ -90,7 +90,7 @@ def ac_alpine_fix_image_with_relevancy_with_cronjob():
)

@staticmethod
def ac_alpine_fix_control_with_relevancy():
def ac_alpine_workload_external_track_fix_control():
"""
install scenario 'alpine' on the cluster, install the kubescape operator and run the scan.
once the attack chain has been detected on the backend, fix the attack chain and verify that is has been solved
Expand Down Expand Up @@ -246,7 +246,7 @@ def ac_3_fix_control_no_relevancy():
)

@staticmethod
def ac_8_fix_control_with_relevancy():
def ac_8_external_workload_with_cluster_takeover():
"""
install scenario #8 on the cluster, install the kubescape operator and run the scan.
once the attack chain has been detected on the backend, fix the attack chain and verify that is has been solved
Expand Down
8 changes: 4 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ Please ensure all these details are accurately filled to maintain the effectiven
| `ac_5_fix_control_with_relevancy` | helm-chart | | in-cluster kubescape, backend |
| `ac_3_fix_control_no_relevancy` | helm-chart | | in-cluster kubescape, backend |
| `ac_3_fix_control_with_relevancy` | helm-chart | | in-cluster kubescape, backend |
| `ac_8_fix_control_with_relevancy` | helm-chart | | in-cluster kubescape, backend |
| `ac_8_external_workload_with_cluster_takeover` | helm-chart | | in-cluster kubescape, backend |
| `ac_1_1_fix_control_no_relevancy` | helm-chart | | in-cluster kubescape, backend |
| `ac_1_1_fix_control_with_relevancy` | helm-chart | | in-cluster kubescape, backend |
| `ac_alpine_fix_image_with_relevancy` | helm-chart | | in-cluster kubescape, backend |
| `ac_alpine_fix_image_with_relevancy_with_cronjob` | helm-chart | | in-cluster kubescape, backend |
| `ac_alpine_fix_control_with_relevancy` | helm-chart | | in-cluster kubescape, backend |
| `ac_alpine_workload_external_track_fix_image` | helm-chart | | in-cluster kubescape, backend |
| `ac_alpine_workload_external_track_fix_image_with_cronjob` | helm-chart | | in-cluster kubescape, backend |
| `ac_alpine_workload_external_track_fix_control` | helm-chart | | in-cluster kubescape, backend |
| `ac_alpine_fix_image_no_relevancy` | helm-chart | | in-cluster kubescape, backend |
| `ac_alpine_fix_image_no_relevancy_with_cronjob` | helm-chart | | in-cluster kubescape, backend |
| `ks_microservice_create_2_cronjob_mitre_and_nsa_proxy` | helm-chart | | in-cluster kubescape, backend |
Expand Down
30 changes: 15 additions & 15 deletions system_test_mapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -579,16 +579,16 @@
"Backend"
],
"target_repositories": [
"cadashboardbe",
"careportsreceiver",
"event-ingester-service",
"gateway"
"cadashboardbe-dummy",
"careportsreceiver-dummy",
"event-ingester-service-dummy",
"gateway-dummy"
],
"description": "",
"skip_on_environment": "",
"owner": "[email protected]"
},
"ac_alpine_fix_image_with_relevancy": {
"ac_alpine_workload_external_track_fix_image": {
"target": [
"In cluster",
"Backend"
Expand All @@ -603,7 +603,7 @@
"skip_on_environment": "",
"owner": "[email protected]"
},
"ac_alpine_fix_control_with_relevancy": {
"ac_alpine_workload_external_track_fix_control": {
"target": [
"In cluster",
"Backend"
Expand Down Expand Up @@ -654,16 +654,16 @@
"Backend"
],
"target_repositories": [
"cadashboardbe",
"careportsreceiver",
"event-ingester-service",
"gateway"
"cadashboardbe-dummy",
"careportsreceiver-dummy",
"event-ingester-service-dummy",
"gateway-dummy"
],
"description": "",
"skip_on_environment": "",
"owner": "[email protected]"
},
"ac_8_fix_control_with_relevancy": {
"ac_8_external_workload_with_cluster_takeover": {
"target": [
"In cluster",
"Backend"
Expand Down Expand Up @@ -711,10 +711,10 @@
"Backend"
],
"target_repositories": [
"cadashboardbe",
"careportsreceiver",
"event-ingester-service",
"gateway"
"cadashboardbe-dummy",
"careportsreceiver-dummy",
"event-ingester-service-dummy",
"gateway-dummy"
],
"description": "",
"skip_on_environment": "",
Expand Down
Loading