Skip to content

Commit 2d8749a

Browse files
requested changes
Signed-off-by: Sachin Panayil <[email protected]>
1 parent 5bb0068 commit 2d8749a

8 files changed

+26
-36
lines changed

.github/workflows/checks.yml

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: "run-linting-checks"
22
on:
3+
pull_request:
4+
branches: [main, dev]
35
push:
46
branches:
57
- 'main'

CONTRIBUTING.md

+5-10
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@ We encourage you to read this project's CONTRIBUTING policy (you are here), its
1313
[LICENSE](LICENSE.md), and its [README](README.md).
1414

1515
# Getting Started
16-
## Building the Project
17-
18-
For instructions on how to invoke the script, see the usage section of the [README](README.md)
19-
20-
2116
## Building Dependencies
2217

2318
First, install the dependencies that are required for these scripts:
@@ -27,6 +22,10 @@ First, install the dependencies that are required for these scripts:
2722
- [Git Install here](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
2823
- [Curl](https://curl.se/docs/)
2924

25+
## Building the Project
26+
27+
For instructions on how to invoke the script, see the usage section of the [README](README.md)
28+
3029
### Workflow and Branching
3130

3231
We follow the [GitHub Flow Workflow](https://guides.github.com/introduction/flow/)
@@ -118,11 +117,7 @@ questions, just [shoot us an email](mailto:[email protected]).
118117

119118
### Security and Responsible Disclosure Policy
120119

121-
*Submit a vulnerability:* Unfortunately, we cannot accept secure submissions via
122-
email or via GitHub Issues. Please use our website to submit vulnerabilities at
123-
[https://hhs.responsibledisclosure.com](https://hhs.responsibledisclosure.com).
124-
HHS maintains an acknowledgements page to recognize your efforts on behalf of
125-
the American public, but you are also welcome to submit anonymously.
120+
*Submit a vulnerability:* Vulnerability reports can be submitted through [Bugcrowd](https://bugcrowd.com/cms-vdp). Reports may be submitted anonymously. If you share contact information, we will acknowledge receipt of your report within 3 business days.
126121

127122
For more information about our Security, Vulnerability, and Responsible Disclosure Policies, see [SECURITY.md](SECURITY.md).
128123

README.md

+11-7
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Establish and maintain guidance, policies, practices, and talent pipelines that
1919

2020
## Core Team
2121

22-
A full list of contributors can be found on [https://github.cms.gov/DSACMS/repodive-tools/graphs/contributors](https://github.cms.gov/DSACMS/repodive-tools/graphs/contributors).
22+
A full list of contributors can be found on [https://github.com/DSACMS/repodive-tools/graphs/contributors](https://github.cms.gov/DSACMS/repodive-tools/graphs/contributors).
2323

2424
<!--
2525
## Documentation Index
@@ -147,16 +147,20 @@ questions, just [shoot us an email](mailto:[email protected]).
147147

148148
### Security and Responsible Disclosure Policy
149149

150-
*Submit a vulnerability:* Unfortunately, we cannot accept secure submissions via
151-
email or via GitHub Issues. Please use our website to submit vulnerabilities at
152-
[https://hhs.responsibledisclosure.com](https://hhs.responsibledisclosure.com).
153-
HHS maintains an acknowledgements page to recognize your efforts on behalf of
154-
the American public, but you are also welcome to submit anonymously.
150+
*Submit a vulnerability:* Vulnerability reports can be submitted through [Bugcrowd](https://bugcrowd.com/cms-vdp). Reports may be submitted anonymously. If you share contact information, we will acknowledge receipt of your report within 3 business days.
155151

156152
For more information about our Security, Vulnerability, and Responsible Disclosure Policies, see [SECURITY.md](SECURITY.md).
157153

154+
### Software Bill of Materials (SBOM)
155+
156+
A Software Bill of Materials (SBOM) is a formal record containing the details and supply chain relationships of various components used in building software.
157+
158+
In the spirit of [Executive Order 14028 - Improving the Nation’s Cyber Security](https://www.gsa.gov/technology/it-contract-vehicles-and-purchasing-programs/information-technology-category/it-security/executive-order-14028), a SBOM for this repository is provided here: https://github.com/{{ cookiecutter.project_org }}/{{ cookiecutter.project_repo_name }}/network/dependencies.
159+
160+
For more information and resources about SBOMs, visit: https://www.cisa.gov/sbom.
161+
158162
## Public domain
159163

160164
This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the [CC0 1.0 Universal public domain dedication](https://creativecommons.org/publicdomain/zero/1.0/) as indicated in [LICENSE](LICENSE).
161165

162-
All contributions to this project will be released under the CC0 dedication. By submitting a pull request or issue, you are agreeing to comply with this waiver of copyright interest.
166+
All contributions to this project will be released under the CC0 dedication. By submitting a pull request or issue, you are agreeing to comply with this waiver of copyright interest.

SECURITY.md

+2-9
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,11 @@
22

33
The Centers for Medicare & Medicaid Services is committed to ensuring the security of the American public by protecting their information from unwarranted disclosure. We want security researchers to feel comfortable reporting vulnerabilities they have discovered so we can fix them and keep our users safe. We developed our disclosure policy to reflect our values and uphold our sense of responsibility to security researchers who share their expertise with us in good faith.
44

5-
*Submit a vulnerability:* Unfortunately, we cannot accept secure submissions via
6-
email or via GitHub Issues. Please use our website to submit vulnerabilities at
7-
[https://hhs.responsibledisclosure.com](https://hhs.responsibledisclosure.com).
8-
HHS maintains an acknowledgements page to recognize your efforts on behalf of
9-
the American public, but you are also welcome to submit anonymously.
5+
*Submit a vulnerability:* Vulnerability reports can be submitted through [Bugcrowd](https://bugcrowd.com/cms-vdp). Reports may be submitted anonymously. If you share contact information, we will acknowledge receipt of your report within 3 business days.
106

117
Review the HHS Disclosure Policy and websites in scope:
128
[https://www.hhs.gov/vulnerability-disclosure-policy/index.html](https://www.hhs.gov/vulnerability-disclosure-policy/index.html).
139

1410
This policy describes *what systems and types of research* are covered under this
1511
policy, *how to send* us vulnerability reports, and *how long* we ask security
16-
researchers to wait before publicly disclosing vulnerabilities.
17-
18-
If you have other cybersecurity related questions, please contact us at
19-
12+
researchers to wait before publicly disclosing vulnerabilities.

checklist.md

-4
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,6 @@ As part of the code review, engineers should reference modern listings of the mo
9696
- Cross-Site Scripting (XSS) - Application does not have a web based user interface or form for user input.
9797
- Insecure Deserialization - Application does not perform deserialization of external or user provided data. </b>
9898

99-
- The scripts (gen-gource-logs-on-repos.sh and run-scc-on-repos.sh) contain hardcoded empty TOKEN variables. These should be moved to environment variables or a different secure system
100-
- There is minimal error handling within the script files (concat.sh and run-contrib-resolution-rough.sh) pertaining to file system operations
101-
- There is minimal error handling within the API cals made to the GitHub API
102-
10399

104100
### Code Analysis
105101

code.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"longDescription": "This repository is a collection of scripts and tools for a given repodiving effort. Repodiving in this context means going through a git repository and gathering relevant information for a specific purpose."
77
}
88
},
9-
"status": "archival",
9+
"status": "production",
1010
"permissions": {
1111
"licenses": [
1212
{
@@ -23,11 +23,11 @@
2323
"mac"
2424
],
2525
"categories": [
26-
"data-collection, data-analytics"
26+
"data-collection,data-analytics"
2727
],
2828
"softwareType": "standalone/backend",
2929
"languages": [
30-
"bash, python"
30+
"bash,python"
3131
],
3232
"maintenance": "internal",
3333
"date": {
@@ -36,7 +36,7 @@
3636
"metadataLastUpdated": "2024-10-22T22:00:58+0000"
3737
},
3838
"tags": [
39-
"git, repository, scripts, repodiving"
39+
"git,repository,scripts,repodiving"
4040
],
4141
"contact": {
4242
"email": "[email protected]",

gen-gource-logs-on-repos.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Variables
44
GITHUB_API_URL="https://api.github.com"
55
ORGANIZATION="CMSGov"
6-
TOKEN="" # Replace with your GitHub token
6+
TOKEN=$GITHUB_TOKEN # Set your environment variable to your GitHub Token
77

88
# Function to fetch repositories from the organization
99
fetch_repositories() {

run-scc-on-repos.sh

100644100755
+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Variables
44
GITHUB_API_URL="https://github.cms.gov/api/v3"
55
ORGANIZATION="pecos-application-development"
6-
TOKEN="" # Replace with your GitHub token
6+
TOKEN=$GITHUB_TOKEN # Set your environment variable to your GitHub Token
77
SCC_LOG_LOC=$(readlink -f ./scc_reports)
88

99

0 commit comments

Comments
 (0)