Skip to content

Commit cc8bf87

Browse files
committed
Added more docs
1 parent efa59d0 commit cc8bf87

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

replay_secret_scanning_result_status.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
#!/usr/bin/env python3
22

3-
"""Replay secret scanning alert status for a GitHub repository, organization or Enterprise, based on a provided file of previous statuses."""
3+
"""Replay secret scanning alert status for a GitHub repository, organization or Enterprise, based on a provided file of previous statuses.
4+
5+
This can be useful if a repository is deleted and recreated, and you want to restore the previous status of the alerts.
6+
7+
This script reads a CSV file with a header from stdin, with the following columns: repo, secret, secret_type, state, resolution, resolution_comment, url
8+
"""
49

510
import sys
611
import argparse

0 commit comments

Comments
 (0)