From 0a2d140c4202001904577418b605f1e5245a02e2 Mon Sep 17 00:00:00 2001 From: Rahul Date: Tue, 6 Aug 2024 19:16:22 +0530 Subject: [PATCH] doc: add ems permissions for Rest least privilege approach (#3088) --- docs/prepare-cdot-clusters.md | 1 + integration/Jenkinsfile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/prepare-cdot-clusters.md b/docs/prepare-cdot-clusters.md index e2a5a5113..5f0d3315e 100644 --- a/docs/prepare-cdot-clusters.md +++ b/docs/prepare-cdot-clusters.md @@ -207,6 +207,7 @@ security login rest-role create -role harvest2-rest-role -access readonly -api / security login rest-role create -role harvest-rest-role -access readonly -api /api/support/autosupport security login rest-role create -role harvest-rest-role -access readonly -api /api/support/ems/destinations security login rest-role create -role harvest-rest-role -access readonly -api /api/support/ems/events + security login rest-role create -role harvest-rest-role -access readonly -api /api/support/ems/messages security login rest-role create -role harvest-rest-role -access readonly -api /api/svm/peers security login rest-role create -role harvest-rest-role -access readonly -api /api/svm/svms diff --git a/integration/Jenkinsfile b/integration/Jenkinsfile index 93e8370a0..94894d5c2 100644 --- a/integration/Jenkinsfile +++ b/integration/Jenkinsfile @@ -196,8 +196,8 @@ pipeline { rm -f docker_logs.zip zip -r docker_logs.zip /var/log/harvest cd $WORKSPACE/docker - docker ps -q | xargs docker stop | xargs docker rm --force ANALYZE_DOCKER_LOGS=1 bash $WORKSPACE/harvest/integration/test/test.sh + docker ps -q | xargs docker stop | xargs docker rm --force """ archiveArtifacts artifacts: "docker_logs.zip", fingerprint: true }