Skip to content

Commit 485b34f

Browse files
committed
update pipline
1 parent c3dbe22 commit 485b34f

1 file changed

Lines changed: 19 additions & 22 deletions

File tree

  • community/detectors/kubeflow_exposed_ui_rce/src/main/java/com/google/tsunami/plugins/detectors/rce

community/detectors/kubeflow_exposed_ui_rce/src/main/java/com/google/tsunami/plugins/detectors/rce/KubeflowRceDetector.java

Lines changed: 19 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -87,32 +87,29 @@ public final class KubeflowRceDetector implements VulnDetector {
8787

8888
@VisibleForTesting
8989
static final String PAYLOAD =
90-
"components:\n"
91-
+ " comp-hello-world-container:\n"
92-
+ " executorLabel: exec-hello-world-container\n"
93-
+ "deploymentSpec:\n"
94-
+ " executors:\n"
95-
+ " exec-hello-world-container:\n"
90+
"apiVersion: argoproj.io/v1alpha1\n"
91+
+ "kind: Workflow\n"
92+
+ "metadata:\n"
93+
+ " generateName: v2-container-component-no-input-\n"
94+
+ " annotations:\n"
95+
+ " pipelines.kubeflow.org/kfp_sdk_version: 2.0.0-beta.0\n"
96+
+ " pipelines.kubeflow.org/pipeline_compilation_time: '2025-08-09T16:05:29Z'\n"
97+
+ " pipelines.kubeflow.org/pipeline_spec: '{\"name\":\"v2-container-component-no-input\",\"schemaVersion\":\"2.1.0\"}'\n"
98+
+ "spec:\n"
99+
+ " entrypoint: v2-container-component-no-input\n"
100+
+ " templates:\n"
101+
+ " - name: v2-container-component-no-input\n"
102+
+ " dag:\n"
103+
+ " tasks:\n"
104+
+ " - name: hello-world-container\n"
105+
+ " template: hello-world-container\n"
106+
+ " - name: hello-world-container\n"
96107
+ " container:\n"
108+
+ " image: alpine/curl:8.12.1\n"
97109
+ " command:\n"
98110
+ " - sh\n"
99111
+ " - -c\n"
100-
+ " - '%s'\n"
101-
+ " image: alpine/curl:8.12.1\n"
102-
+ "pipelineInfo:\n"
103-
+ " name: v2-container-component-no-input\n"
104-
+ "root:\n"
105-
+ " dag:\n"
106-
+ " tasks:\n"
107-
+ " hello-world-container:\n"
108-
+ " cachingOptions:\n"
109-
+ " enableCache: true\n"
110-
+ " componentRef:\n"
111-
+ " name: comp-hello-world-container\n"
112-
+ " taskInfo:\n"
113-
+ " name: hello-world-container\n"
114-
+ "schemaVersion: 2.1.0\n"
115-
+ "sdkVersion: kfp-2.0.0-beta.0";
112+
+ " - '%s'";
116113

117114
@Inject
118115
KubeflowRceDetector(

0 commit comments

Comments
 (0)