You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replay secret scanning alert status for a GitHub repository, organization or Enterprise, based on a provided file of previous statuses. This can be useful if a repository is deleted and recreated, and you want to restore
86
+
the previous status of the alerts. This script reads a CSV file with a header from stdin, with the following columns: repo, secret, secret_type, state, resolution, resolution_comment, url
87
+
88
+
positional arguments:
89
+
name Name of the repo/org/Enterprise to query
90
+
91
+
options:
92
+
-h, --help show this help message and exit
93
+
--scope {ent,org,repo}
94
+
Scope of the query
95
+
--state {open,resolved}, -s {open,resolved}
96
+
State of the alerts to query
97
+
--since SINCE, -S SINCE
98
+
Only show alerts created after this date/time - ISO 8601 format, e.g. 2024-10-08 or 2024-10-08T12:00; or Nd format, e.g. 7d for 7 days ago
99
+
--json Output in JSON format (otherwise CSV)
100
+
--quote-all, -q Quote all fields in CSV output
101
+
--hostname HOSTNAME GitHub Enterprise hostname (defaults to github.com)
0 commit comments