From c0a5ed5152682c35f8cd6aa78c583ca7c447d284 Mon Sep 17 00:00:00 2001 From: deepesh-ui Date: Wed, 9 Jun 2021 09:26:31 +0530 Subject: [PATCH 1/9] feat: Added Secrets --- awslambda.json | 22 ++++++++++++++++++++++ foo.yml | 15 +++++++++++++++ secrets.json | 27 +++++++++++++++++++++++++++ 3 files changed, 64 insertions(+) create mode 100644 awslambda.json create mode 100644 foo.yml create mode 100644 secrets.json diff --git a/awslambda.json b/awslambda.json new file mode 100644 index 0000000..7bbfd19 --- /dev/null +++ b/awslambda.json @@ -0,0 +1,22 @@ +{ + "JWT": "eyJhbGciOiJIUzI1NiJ9.eyJyZXBvIjoiZm9vYmFyIiwib3duZXIiOiJqb2huZG9lIiwicHVsbFJlcXVlc3RJZCI6MTIzLCJwdWxsUmVxdWVzdFNIQSI6IjQwYmQwMDE1NjMwODVmYzM1MTY1MzI5ZWExZmY1YzVlY2JkYmJlZWYifQ.cPyylVrP065_gmPY3uQWs8ZNhZPeHMHPvj5pnsAF8Og", + "PR": { + "withFindings": { + "listFiles": [ + { + "sha": "bbcd538c8e72b8c175046e27cc8f907076331401", + "filename": "file1.js", + "status": "added", + "additions": 103, + "deletions": 21, + "changes": 124, + "blob_url": "https://github.com/octocat/Hello-World/blob/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.js", + "raw_url": "https://github.com/octocat/Hello-World/raw/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.js", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/file1.js?ref=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "patch": "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" + } + ], + "getBlob": "var x = \"th1s1S4S3cr3TM3sSag3!-3@111Qweac.-+\";" + } + } + } \ No newline at end of file diff --git a/foo.yml b/foo.yml new file mode 100644 index 0000000..83993cd --- /dev/null +++ b/foo.yml @@ -0,0 +1,15 @@ +spec: + containers: + - name: test-container + image: test.test.io/test:0.3.2 + command: [ "sh", "-c", export, USER_ID=984267C934L692S8109S270] + args: + - while true; do + echo -en '\n'; + done; + env: + - name: DB_USER + value: "test-user" + - name: DB_PASSWORD + value: "LE73!jd8DNo$%Mn!kSN" + restartPolicy: Never \ No newline at end of file diff --git a/secrets.json b/secrets.json new file mode 100644 index 0000000..c8711cc --- /dev/null +++ b/secrets.json @@ -0,0 +1,27 @@ +{ + "randomSecrets": [ + "HDS-wP-_QzTDTZbRuDHMF", + "cmnvH-PMEuKdVCF-tN_Nh", + "b-bY_BXe_qHaSUBMrddXN", + + "LXtMKhvMjWfMzxjfXMmRr", + "rKiUPPxmqciuzqDfwjeXf", + "xbHXzReUFxXxBsNuVgwBZ", + + "LSPNVCDCCBVVVVFUDCWKK", + "HKMSTRQGRNQGLAWHRMPQC", + "XPQWALEHDNYAXHWRTQVRM", + + "ndsbyvtebprybbvehgjqa", + "dgkaaqzzcpzejcpvvccmu", + "uiexmuckjuaygtsxoyrkj", + + "_qw6=&*.Y?b~:, Date: Wed, 9 Jun 2021 09:48:55 +0530 Subject: [PATCH 2/9] removed yaml file --- README.md | 1 - awslambda.json | 22 ---------------------- foo.yml | 15 --------------- 3 files changed, 38 deletions(-) delete mode 100644 README.md delete mode 100644 awslambda.json delete mode 100644 foo.yml diff --git a/README.md b/README.md deleted file mode 100644 index 601627f..0000000 --- a/README.md +++ /dev/null @@ -1 +0,0 @@ -# Repo-Supervisor-Hackathon \ No newline at end of file diff --git a/awslambda.json b/awslambda.json deleted file mode 100644 index 7bbfd19..0000000 --- a/awslambda.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "JWT": "eyJhbGciOiJIUzI1NiJ9.eyJyZXBvIjoiZm9vYmFyIiwib3duZXIiOiJqb2huZG9lIiwicHVsbFJlcXVlc3RJZCI6MTIzLCJwdWxsUmVxdWVzdFNIQSI6IjQwYmQwMDE1NjMwODVmYzM1MTY1MzI5ZWExZmY1YzVlY2JkYmJlZWYifQ.cPyylVrP065_gmPY3uQWs8ZNhZPeHMHPvj5pnsAF8Og", - "PR": { - "withFindings": { - "listFiles": [ - { - "sha": "bbcd538c8e72b8c175046e27cc8f907076331401", - "filename": "file1.js", - "status": "added", - "additions": 103, - "deletions": 21, - "changes": 124, - "blob_url": "https://github.com/octocat/Hello-World/blob/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.js", - "raw_url": "https://github.com/octocat/Hello-World/raw/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.js", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/file1.js?ref=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "patch": "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" - } - ], - "getBlob": "var x = \"th1s1S4S3cr3TM3sSag3!-3@111Qweac.-+\";" - } - } - } \ No newline at end of file diff --git a/foo.yml b/foo.yml deleted file mode 100644 index 83993cd..0000000 --- a/foo.yml +++ /dev/null @@ -1,15 +0,0 @@ -spec: - containers: - - name: test-container - image: test.test.io/test:0.3.2 - command: [ "sh", "-c", export, USER_ID=984267C934L692S8109S270] - args: - - while true; do - echo -en '\n'; - done; - env: - - name: DB_USER - value: "test-user" - - name: DB_PASSWORD - value: "LE73!jd8DNo$%Mn!kSN" - restartPolicy: Never \ No newline at end of file From 54c5e0dc87d2ff50882a84cf1339b7dda82ca090 Mon Sep 17 00:00:00 2001 From: deepesh-ui Date: Wed, 9 Jun 2021 09:56:55 +0530 Subject: [PATCH 3/9] added multiple secrets in json --- secrets.json | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/secrets.json b/secrets.json index c8711cc..e03ad78 100644 --- a/secrets.json +++ b/secrets.json @@ -1,13 +1,9 @@ { "randomSecrets": [ "HDS-wP-_QzTDTZbRuDHMF", - "cmnvH-PMEuKdVCF-tN_Nh", - "b-bY_BXe_qHaSUBMrddXN", - - "LXtMKhvMjWfMzxjfXMmRr", - "rKiUPPxmqciuzqDfwjeXf", - "xbHXzReUFxXxBsNuVgwBZ", - + "cmnvH-PMEuKdVCF-tN_Nh" + ], + "randomSecrets2" : [ "LSPNVCDCCBVVVVFUDCWKK", "HKMSTRQGRNQGLAWHRMPQC", "XPQWALEHDNYAXHWRTQVRM", @@ -22,6 +18,14 @@ "Q79y9P9ZM7TDxWkdh_PQg8-r_oe4_Z_TVSncvti-PD_t4-uMff", "zxaxnw56JkZHJw9aEmo3S56a_8eaD55M-Wn3PidhZgmA6VY3Hd", - "efMq_pczgWkZTSzrMAaQezoBA-9Yi8qSTS82zaMjnYhwaoi2RX" + "efMq_pczgWkZTSzrMAaQezoBA-9Yi8qSTS82zaMjnYhwaoi2RX" + ], + "randomSecrets1" : [ + "b-bY_BXe_qHaSUBMrddXN", + + "LXtMKhvMjWfMzxjfXMmRr", + "rKiUPPxmqciuzqDfwjeXf", + "xbHXzReUFxXxBsNuVgwBZ" + ] } \ No newline at end of file From 97382a2ebc53309a95d4bf3683a67dd48798a84b Mon Sep 17 00:00:00 2001 From: deepesh-ui Date: Wed, 9 Jun 2021 10:00:36 +0530 Subject: [PATCH 4/9] removed secrets --- secrets.json | 26 +++----------------------- 1 file changed, 3 insertions(+), 23 deletions(-) diff --git a/secrets.json b/secrets.json index e03ad78..f5b3f84 100644 --- a/secrets.json +++ b/secrets.json @@ -1,31 +1,11 @@ { "randomSecrets": [ - "HDS-wP-_QzTDTZbRuDHMF", - "cmnvH-PMEuKdVCF-tN_Nh" + "HDS-wP-_QzTDTZbRuDHMF" ], "randomSecrets2" : [ - "LSPNVCDCCBVVVVFUDCWKK", - "HKMSTRQGRNQGLAWHRMPQC", - "XPQWALEHDNYAXHWRTQVRM", - - "ndsbyvtebprybbvehgjqa", - "dgkaaqzzcpzejcpvvccmu", - "uiexmuckjuaygtsxoyrkj", - - "_qw6=&*.Y?b~:, Date: Wed, 9 Jun 2021 10:02:27 +0530 Subject: [PATCH 5/9] updated secret --- secrets.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/secrets.json b/secrets.json index f5b3f84..34e1e22 100644 --- a/secrets.json +++ b/secrets.json @@ -1,11 +1,12 @@ { "randomSecrets": [ - "HDS-wP-_QzTDTZbRuDHMF" + "HDS-wP-_QzTDTZbRuDHMF", + "cmnvH-PMEuKdVCF-tN_Nh" ], "randomSecrets2" : [ - "LSPNVCDCCBVVVVFUDCWKK" + "Q79y9P9ZM7TDxWkdh_PQg8-r_oe4_Z_TVSncvti-PD_t4-uMff" ], "randomSecrets1" : [ - "b-bY_BXe_qHaSUBMrddXN" + "zxaxnw56JkZHJw9aEmo3S56a_8eaD55M-Wn3PidhZgmA6VY3Hd" ] } \ No newline at end of file From 53afc7feb2a6fad37f847bdd7a1b969e7201b4a0 Mon Sep 17 00:00:00 2001 From: deepesh-ui Date: Wed, 9 Jun 2021 10:03:36 +0530 Subject: [PATCH 6/9] updated secret --- secrets.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/secrets.json b/secrets.json index 34e1e22..5bdd795 100644 --- a/secrets.json +++ b/secrets.json @@ -1,7 +1,6 @@ { "randomSecrets": [ - "HDS-wP-_QzTDTZbRuDHMF", - "cmnvH-PMEuKdVCF-tN_Nh" + "efMq_pczgWkZTSzrMAaQezoBA-9Yi8qSTS82zaMjnYhwaoi2RX" ], "randomSecrets2" : [ "Q79y9P9ZM7TDxWkdh_PQg8-r_oe4_Z_TVSncvti-PD_t4-uMff" From 45770b4a5eb92fe0c1f9ac9642bf6d4f9937dfd0 Mon Sep 17 00:00:00 2001 From: nitishamungel <51113143+nitisha-mungel@users.noreply.github.com> Date: Wed, 9 Jun 2021 10:06:24 +0530 Subject: [PATCH 7/9] Update secrets.json --- secrets.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/secrets.json b/secrets.json index 5bdd795..6ba074d 100644 --- a/secrets.json +++ b/secrets.json @@ -7,5 +7,8 @@ ], "randomSecrets1" : [ "zxaxnw56JkZHJw9aEmo3S56a_8eaD55M-Wn3PidhZgmA6VY3Hd" + ], + "randomSecrets3" : [ + "zxaxnw56JkZHJw9aEmo3S56a_8eaD55M-Wn3PidhZgmA6VY3Hd" ] - } \ No newline at end of file + } From b81edf8ad66557f734ca0a5986de0d99373e5b46 Mon Sep 17 00:00:00 2001 From: nitishamungel <51113143+nitisha-mungel@users.noreply.github.com> Date: Wed, 9 Jun 2021 10:07:08 +0530 Subject: [PATCH 8/9] Update secrets.json --- secrets.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/secrets.json b/secrets.json index 6ba074d..f059fbe 100644 --- a/secrets.json +++ b/secrets.json @@ -9,6 +9,6 @@ "zxaxnw56JkZHJw9aEmo3S56a_8eaD55M-Wn3PidhZgmA6VY3Hd" ], "randomSecrets3" : [ - "zxaxnw56JkZHJw9aEmo3S56a_8eaD55M-Wn3PidhZgmA6VY3Hd" + "qzxaxnw56JkZHJw9aEmo3S56a_8eaD55M-Wn3PidhZgmA6VY3Hd" ] } From 4d557b56015dd1af34759c285d273d44c7b70a5a Mon Sep 17 00:00:00 2001 From: nitishamungel <51113143+nitisha-mungel@users.noreply.github.com> Date: Wed, 9 Jun 2021 10:13:01 +0530 Subject: [PATCH 9/9] Update secrets.json --- secrets.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/secrets.json b/secrets.json index f059fbe..1ace8fe 100644 --- a/secrets.json +++ b/secrets.json @@ -7,8 +7,5 @@ ], "randomSecrets1" : [ "zxaxnw56JkZHJw9aEmo3S56a_8eaD55M-Wn3PidhZgmA6VY3Hd" - ], - "randomSecrets3" : [ - "qzxaxnw56JkZHJw9aEmo3S56a_8eaD55M-Wn3PidhZgmA6VY3Hd" ] }