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

Attempt to not mess up the repository secrets #155

Merged
merged 2 commits into from
Jan 22, 2025
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
4 changes: 2 additions & 2 deletions pagure_exporter/conf/standard.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@
destcloc = "UNAVAILABLE"

# Regular expression to help detection of the GitLab Runners token in response body
detect = "\"runners_token\":\"[A-Za-z0-9]+\""
detect = r"\b(?:glrt-|GR1348941)[\w\-]{20,23}"

# Placeholder string to substitute the detected GitLab Runners tokens in response body
cutout = "\"runners_token\":\"SECURE_STANDARD_PASSWORD_HERE\""
cutout = "EXPUNGED"

# GitLab client object to be used while interacting with the destination namespace
gobj = None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ interactions:
Content-Length:
- '902'
Content-Security-Policy:
- default-src 'self';script-src 'self' 'nonce-0hLgwgIkztIV5fAUteV1nrZdC'; style-src
'self' 'nonce-0hLgwgIkztIV5fAUteV1nrZdC'; object-src 'none';base-uri 'self';img-src
- default-src 'self';script-src 'self' 'nonce-gnpc6782vkYnICzjURP0nU1Md'; style-src
'self' 'nonce-gnpc6782vkYnICzjURP0nU1Md'; object-src 'none';base-uri 'self';img-src
'self' https:;connect-src 'self' https://pagure.io:8088;frame-src https://docs.pagure.org;frame-ancestors
https://pagure.io;
Content-Type:
- application/json
Date:
- Thu, 16 Jan 2025 09:46:21 GMT
- Mon, 20 Jan 2025 05:49:26 GMT
Keep-Alive:
- timeout=5, max=100
Referrer-Policy:
Expand Down Expand Up @@ -84,7 +84,7 @@ interactions:
CF-Cache-Status:
- MISS
CF-Ray:
- 902d2d8ecf763ddf-BOM
- 904cc801eba733a8-DEL
Cache-Control:
- no-cache
Connection:
Expand All @@ -94,11 +94,11 @@ interactions:
Content-Type:
- application/json
Date:
- Thu, 16 Jan 2025 09:46:22 GMT
- Mon, 20 Jan 2025 05:49:27 GMT
NEL:
- '{"success_fraction":0.01,"report_to":"cf-nel","max_age":604800}'
Report-To:
- '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=jK5NOa0oSPdwG1Q860RZ%2BAwRIAupDr3B3qOPhCSbSqi4WyuaRHlcvIDC55ARQoQMY4%2FnmDeMTWPUhjY7ug1%2FHuQdM%2B7fUixBQeYhlf8ZpZTVUVnYT0HQxqED1l4%3D"}],"group":"cf-nel","max_age":604800}'
- '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=csvRLVgHkTyrD2CCR9rm%2F4HDR24Mj7dzjCqbcPecWjbl9AsCeNQtd1qpO3CGWvx7Z7ez93nFqWK4Ix0vW8CL5emLl3C5uNGTLIS%2FGKxmfcgLpf9ReD9FqW30vq7rWPyfcgMncVTL%2Fs0%3D"}],"group":"cf-nel","max_age":604800}'
Server:
- cloudflare
Set-Cookie: ''
Expand All @@ -109,21 +109,21 @@ interactions:
content-security-policy:
- default-src 'none'
gitlab-lb:
- haproxy-main-11-lb-gprd
- haproxy-main-41-lb-gprd
gitlab-sv:
- gke-cny-api
- api-gke-us-east1-d
referrer-policy:
- strict-origin-when-cross-origin
x-content-type-options:
- nosniff
x-frame-options:
- SAMEORIGIN
x-gitlab-meta:
- '{"correlation_id":"ca1c1e88828bf9598e36065aa9063bcd","version":"1"}'
- '{"correlation_id":"dbc4a2a934da81ab1a6e2a97c7a2d70a","version":"1"}'
x-request-id:
- ca1c1e88828bf9598e36065aa9063bcd
- dbc4a2a934da81ab1a6e2a97c7a2d70a
x-runtime:
- '0.028682'
- '0.025286'
status:
code: 401
message: Unauthorized
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -176,14 +176,14 @@ interactions:
Content-Length:
- '10774'
Content-Security-Policy:
- default-src 'self';script-src 'self' 'nonce-wrhyAnxDo4AqhcGsim74Iwcqa'; style-src
'self' 'nonce-wrhyAnxDo4AqhcGsim74Iwcqa'; object-src 'none';base-uri 'self';img-src
- default-src 'self';script-src 'self' 'nonce-G7BTUKRM0hfIuwZXw7DHY09ac'; style-src
'self' 'nonce-G7BTUKRM0hfIuwZXw7DHY09ac'; object-src 'none';base-uri 'self';img-src
'self' https:;connect-src 'self' https://pagure.io:8088;frame-src https://docs.pagure.org;frame-ancestors
https://pagure.io;
Content-Type:
- application/json
Date:
- Thu, 16 Jan 2025 09:52:08 GMT
- Mon, 20 Jan 2025 05:55:56 GMT
Keep-Alive:
- timeout=5, max=100
Referrer-Policy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,14 +176,14 @@ interactions:
Content-Length:
- '10774'
Content-Security-Policy:
- default-src 'self';script-src 'self' 'nonce-1vfhj0dBjXgacfWDX1InrYqxm'; style-src
'self' 'nonce-1vfhj0dBjXgacfWDX1InrYqxm'; object-src 'none';base-uri 'self';img-src
- default-src 'self';script-src 'self' 'nonce-9bcSzNVJMIZmHA3KcjXUSPefX'; style-src
'self' 'nonce-9bcSzNVJMIZmHA3KcjXUSPefX'; object-src 'none';base-uri 'self';img-src
'self' https:;connect-src 'self' https://pagure.io:8088;frame-src https://docs.pagure.org;frame-ancestors
https://pagure.io;
Content-Type:
- application/json
Date:
- Thu, 16 Jan 2025 09:52:18 GMT
- Mon, 20 Jan 2025 05:56:11 GMT
Keep-Alive:
- timeout=5, max=100
Referrer-Policy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ interactions:
Content-Length:
- '66'
Content-Security-Policy:
- default-src 'self';script-src 'self' 'nonce-KNOc4ytcTLVowEmyuCNlDXXv7'; style-src
'self' 'nonce-KNOc4ytcTLVowEmyuCNlDXXv7'; object-src 'none';base-uri 'self';img-src
- default-src 'self';script-src 'self' 'nonce-NuDcUm0XRotbz7Koj5ltOxjBD'; style-src
'self' 'nonce-NuDcUm0XRotbz7Koj5ltOxjBD'; object-src 'none';base-uri 'self';img-src
'self' https:;connect-src 'self' https://pagure.io:8088;frame-src https://docs.pagure.org;frame-ancestors
https://pagure.io;
Content-Type:
- application/json
Date:
- Thu, 16 Jan 2025 09:52:19 GMT
- Mon, 20 Jan 2025 05:56:13 GMT
Keep-Alive:
- timeout=5, max=100
Referrer-Policy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ interactions:
Content-Length:
- '2135'
Content-Security-Policy:
- default-src 'self';script-src 'self' 'nonce-RSAaztedipw4pqeo7xKZAp2Y2'; style-src
'self' 'nonce-RSAaztedipw4pqeo7xKZAp2Y2'; object-src 'none';base-uri 'self';img-src
- default-src 'self';script-src 'self' 'nonce-1yyJZ4FqjzqSMaiIPcqdcfEpc'; style-src
'self' 'nonce-1yyJZ4FqjzqSMaiIPcqdcfEpc'; object-src 'none';base-uri 'self';img-src
'self' https:;connect-src 'self' https://pagure.io:8088;frame-src https://docs.pagure.org;frame-ancestors
https://pagure.io;
Content-Type:
- application/json
Date:
- Thu, 16 Jan 2025 09:52:27 GMT
- Mon, 20 Jan 2025 05:56:31 GMT
Keep-Alive:
- timeout=5, max=100
Referrer-Policy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@ interactions:
Content-Length:
- '2784'
Content-Security-Policy:
- default-src 'self';script-src 'self' 'nonce-R120iYURlzRRALzpiV9jquml2'; style-src
'self' 'nonce-R120iYURlzRRALzpiV9jquml2'; object-src 'none';base-uri 'self';img-src
- default-src 'self';script-src 'self' 'nonce-JBhGkkOpxTlOfBvb3hBPf7VIp'; style-src
'self' 'nonce-JBhGkkOpxTlOfBvb3hBPf7VIp'; object-src 'none';base-uri 'self';img-src
'self' https:;connect-src 'self' https://pagure.io:8088;frame-src https://docs.pagure.org;frame-ancestors
https://pagure.io;
Content-Type:
- application/json
Date:
- Thu, 16 Jan 2025 09:52:28 GMT
- Mon, 20 Jan 2025 05:56:33 GMT
Keep-Alive:
- timeout=5, max=100
Referrer-Policy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ interactions:
Content-Length:
- '62'
Content-Security-Policy:
- default-src 'self';script-src 'self' 'nonce-QRkSVNDQmf3EZ3Cc3KEoSQKEI'; style-src
'self' 'nonce-QRkSVNDQmf3EZ3Cc3KEoSQKEI'; object-src 'none';base-uri 'self';img-src
- default-src 'self';script-src 'self' 'nonce-uneY3jgHlgJYdQJ7WY5YSjzVN'; style-src
'self' 'nonce-uneY3jgHlgJYdQJ7WY5YSjzVN'; object-src 'none';base-uri 'self';img-src
'self' https:;connect-src 'self' https://pagure.io:8088;frame-src https://docs.pagure.org;frame-ancestors
https://pagure.io;
Content-Type:
- application/json
Date:
- Thu, 16 Jan 2025 09:52:30 GMT
- Mon, 20 Jan 2025 05:56:36 GMT
Keep-Alive:
- timeout=5, max=100
Referrer-Policy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ interactions:
Content-Length:
- '66'
Content-Security-Policy:
- default-src 'self';script-src 'self' 'nonce-92f2yxQyhM5ueXG6b17UT1GD9'; style-src
'self' 'nonce-92f2yxQyhM5ueXG6b17UT1GD9'; object-src 'none';base-uri 'self';img-src
- default-src 'self';script-src 'self' 'nonce-m2JeJTqgdCnJJ8En9VeUuXMXo'; style-src
'self' 'nonce-m2JeJTqgdCnJJ8En9VeUuXMXo'; object-src 'none';base-uri 'self';img-src
'self' https:;connect-src 'self' https://pagure.io:8088;frame-src https://docs.pagure.org;frame-ancestors
https://pagure.io;
Content-Type:
- application/json
Date:
- Thu, 16 Jan 2025 09:52:32 GMT
- Mon, 20 Jan 2025 05:56:43 GMT
Keep-Alive:
- timeout=5, max=100
Referrer-Policy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ interactions:
Content-Length:
- '2135'
Content-Security-Policy:
- default-src 'self';script-src 'self' 'nonce-goFB7dstBtBdjysi2cRQD7eZF'; style-src
'self' 'nonce-goFB7dstBtBdjysi2cRQD7eZF'; object-src 'none';base-uri 'self';img-src
- default-src 'self';script-src 'self' 'nonce-OF9XnXSCrsf0bmxTpQD7jKaRL'; style-src
'self' 'nonce-OF9XnXSCrsf0bmxTpQD7jKaRL'; object-src 'none';base-uri 'self';img-src
'self' https:;connect-src 'self' https://pagure.io:8088;frame-src https://docs.pagure.org;frame-ancestors
https://pagure.io;
Content-Type:
- application/json
Date:
- Thu, 16 Jan 2025 09:52:31 GMT
- Mon, 20 Jan 2025 05:56:38 GMT
Keep-Alive:
- timeout=5, max=100
Referrer-Policy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ interactions:
Content-Length:
- '2514'
Content-Security-Policy:
- default-src 'self';script-src 'self' 'nonce-fDmN36Un1ktPsnYsHvZdE1C7J'; style-src
'self' 'nonce-fDmN36Un1ktPsnYsHvZdE1C7J'; object-src 'none';base-uri 'self';img-src
- default-src 'self';script-src 'self' 'nonce-87bkYFoFduyUMruojBxZiykd4'; style-src
'self' 'nonce-87bkYFoFduyUMruojBxZiykd4'; object-src 'none';base-uri 'self';img-src
'self' https:;connect-src 'self' https://pagure.io:8088;frame-src https://docs.pagure.org;frame-ancestors
https://pagure.io;
Content-Type:
- application/json
Date:
- Thu, 16 Jan 2025 09:52:22 GMT
- Mon, 20 Jan 2025 05:56:16 GMT
Keep-Alive:
- timeout=5, max=100
Referrer-Policy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@ interactions:
Content-Length:
- '3295'
Content-Security-Policy:
- default-src 'self';script-src 'self' 'nonce-SklA92WTAEkHk07VDcWszMr2T'; style-src
'self' 'nonce-SklA92WTAEkHk07VDcWszMr2T'; object-src 'none';base-uri 'self';img-src
- default-src 'self';script-src 'self' 'nonce-wp3qlhRFQpqbvNeTvDEKZDlpr'; style-src
'self' 'nonce-wp3qlhRFQpqbvNeTvDEKZDlpr'; object-src 'none';base-uri 'self';img-src
'self' https:;connect-src 'self' https://pagure.io:8088;frame-src https://docs.pagure.org;frame-ancestors
https://pagure.io;
Content-Type:
- application/json
Date:
- Thu, 16 Jan 2025 09:52:23 GMT
- Mon, 20 Jan 2025 05:56:23 GMT
Keep-Alive:
- timeout=5, max=100
Referrer-Policy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ interactions:
Content-Length:
- '103'
Content-Security-Policy:
- default-src 'self';script-src 'self' 'nonce-YjAxFHVmlJPXDuo7GtKmhoCy5'; style-src
'self' 'nonce-YjAxFHVmlJPXDuo7GtKmhoCy5'; object-src 'none';base-uri 'self';img-src
- default-src 'self';script-src 'self' 'nonce-eHOm3enscAxIYEoxyUEvaGpyp'; style-src
'self' 'nonce-eHOm3enscAxIYEoxyUEvaGpyp'; object-src 'none';base-uri 'self';img-src
'self' https:;connect-src 'self' https://pagure.io:8088;frame-src https://docs.pagure.org;frame-ancestors
https://pagure.io;
Content-Type:
- application/json
Date:
- Thu, 16 Jan 2025 09:52:21 GMT
- Mon, 20 Jan 2025 05:56:15 GMT
Referrer-Policy:
- same-origin
Server:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@ interactions:
Content-Length:
- '3295'
Content-Security-Policy:
- default-src 'self';script-src 'self' 'nonce-Q2RMdwuKDMpsoL3pDrpBF00IR'; style-src
'self' 'nonce-Q2RMdwuKDMpsoL3pDrpBF00IR'; object-src 'none';base-uri 'self';img-src
- default-src 'self';script-src 'self' 'nonce-cUhKkzcrQRHxoa8QtNWhXcwPA'; style-src
'self' 'nonce-cUhKkzcrQRHxoa8QtNWhXcwPA'; object-src 'none';base-uri 'self';img-src
'self' https:;connect-src 'self' https://pagure.io:8088;frame-src https://docs.pagure.org;frame-ancestors
https://pagure.io;
Content-Type:
- application/json
Date:
- Thu, 16 Jan 2025 09:52:25 GMT
- Mon, 20 Jan 2025 05:56:28 GMT
Keep-Alive:
- timeout=5, max=100
Referrer-Policy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ interactions:
Content-Length:
- '66'
Content-Security-Policy:
- default-src 'self';script-src 'self' 'nonce-eYYvY2TrgLT3Ox9eCMbE2vP1U'; style-src
'self' 'nonce-eYYvY2TrgLT3Ox9eCMbE2vP1U'; object-src 'none';base-uri 'self';img-src
- default-src 'self';script-src 'self' 'nonce-QQwVT62dKk6tWQeCyWbklJRxI'; style-src
'self' 'nonce-QQwVT62dKk6tWQeCyWbklJRxI'; object-src 'none';base-uri 'self';img-src
'self' https:;connect-src 'self' https://pagure.io:8088;frame-src https://docs.pagure.org;frame-ancestors
https://pagure.io;
Content-Type:
- application/json
Date:
- Thu, 16 Jan 2025 09:52:26 GMT
- Mon, 20 Jan 2025 05:56:30 GMT
Keep-Alive:
- timeout=5, max=100
Referrer-Policy:
Expand Down
Loading
Loading