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
@@ -21,15 +22,25 @@ Integrating OpenSSF Scorecard into Scancode.io for Enhanced Vulnerability Analys
21
22
Overview
22
23
--------
23
24
24
-
The primary objective of this project was to integrate the OpenSSF Scorecard into the Scancode.io platform, thereby enhancing its capabilities for vulnerability analysis. The project involved work on two key repositories: `Scorecode`, which was developed as a PyPI package, and `Scancode.io`, where the integration with Scorecard data was implemented within scanning pipelines.
25
+
The primary objective of this project was to integrate the OpenSSF Scorecard into the
26
+
Scancode.io platform, thereby enhancing its capabilities for vulnerability analysis.
27
+
The project involved work on two key repositories: `Scorecode`,which was developed as a
28
+
PyPI package, and `Scancode.io`, where the integration with Scorecard data was
29
+
implemented within scanning pipelines.
25
30
26
31
**Scorecode**
27
32
28
-
`Scorecode` serves as a PyPI package that encapsulates the business logic for fetching OpenSSF Scorecard data using the OpenSSF API. It also includes Django mixin models that can be extended and integrated into other platforms with databases, such as Scancode.io and PurlDB, ensuring seamless utilization of Scorecard data across various projects.
33
+
`Scorecode` serves as a PyPI package that encapsulates the business logic for fetching
34
+
OpenSSF Scorecard data using the OpenSSF API. It also includes Django mixin models that
35
+
can be extended and integrated into other platforms with databases, such as Scancode.io
36
+
and PurlDB, ensuring seamless utilization of Scorecard data across various projects.
29
37
30
38
**Scancode.io**
31
39
32
-
In the `Scancode.io` project, I developed a pipeline that interacts with the `Scorecode` package to fetch and store Scorecard data in the Scancode.io database. The data can then be exported into Bill of Materials (BOM) files in formats like CycloneDX and SPDX, providing comprehensive security insights in standardized formats.
40
+
In the `Scancode.io` project, I developed a pipeline that interacts with the `Scorecode`
41
+
package to fetch and store Scorecard data in the Scancode.io database. The data can then
42
+
be exported into Bill of Materials (BOM) files in formats like CycloneDX and SPDX,
43
+
providing comprehensive security insights in standardized formats.
- Developed a PyPI package to interact with the OpenSSF API and fetch Scorecard data for various software packages.
42
-
- Created Django mixin models to enable easy extension and integration of Scorecard data into platforms with databases like Scancode.io.
52
+
- Developed a PyPI package to interact with the OpenSSF API and fetch Scorecard data
53
+
for various software packages.
54
+
- Created Django mixin models to enable easy extension and integration of Scorecard
55
+
data into platforms with databases like Scancode.io.
43
56
44
57
**2. Scancode.io Integration:**
45
58
46
-
- Developed a pipeline within Scancode.io to call `Scorecode` functions, retrieve Scorecard data, and save it in the Scancode.io database.
47
-
- Enhanced the existing BOM export functionality to include Scorecard data, allowing for detailed security posture analysis in CycloneDX and SPDX formats.
59
+
- Developed a pipeline within Scancode.io to call `Scorecode` functions, retrieve
60
+
Scorecard data, and save it in the Scancode.io database.
61
+
- Enhanced the existing BOM export functionality to include Scorecard data, allowing
62
+
for detailed security posture analysis in CycloneDX and SPDX formats.
48
63
49
64
**4. Testing:**
50
65
51
-
- Conducted comprehensive testing in both repositories to ensure accurate fetching, storage, and export of Scorecard data.
52
-
- Verified seamless integration across different package ecosystems supported by Scancode.io.
66
+
- Conducted comprehensive testing in both repositories to ensure accurate fetching,
67
+
storage, and export of Scorecard data.
68
+
- Verified seamless integration across different package ecosystems supported by
Before GSoC officially started, I had the opportunity to contribute to the `ScanCode.io <https://github.com/aboutcode-org/scancode.io>`_ and `purldb.io <https://github.com/aboutcode-org/purldb>`_ project. During this
120
-
period, I
121
-
focused on enhancing various functionalities and laying the groundwork for the upcoming integration of the OpenSSF Scorecard. Below is a list of key pull requests I made:
137
+
Before GSoC officially started, I had the opportunity to contribute to the
138
+
`ScanCode.io <https://github.com/aboutcode-org/scancode.io>`_ and
139
+
`purldb.io <https://github.com/aboutcode-org/purldb>`_ project. During this
140
+
period, I focused on enhancing various functionalities and laying the groundwork for
141
+
the upcoming integration of the OpenSSF Scorecard. Below is a list of key pull requests
142
+
I made:
122
143
123
144
- `Add endpoint to create or update a package set <https://github.com/aboutcode-org/purldb/pull/350>`_
- `removed redundant PackageViewSet class code and added history field into package API nexB#389 nexB#221 <https://github.com/aboutcode-org/purldb/pull/390>`_
126
147
- `alpine url bug fix and AGPL License version issue <https://github.com/aboutcode-org/scancode-toolkit/pull/3744>`_
127
148
128
-
These contributions were essential in building a solid foundation for the integration of the ScoreCode repository during GSoC.
149
+
These contributions were essential in building a solid foundation for the integration of
150
+
the ScoreCode repository during GSoC.
129
151
130
152
Post GSoC
131
153
---------
132
154
133
-
After GSoC, the goal is to merge the pull requests into their respective repositories, enabling users to leverage the OpenSSF Scorecard integration for enhanced vulnerability analysis in Scancode.io. Future work includes extending this integration to other platforms like PurlDB.
155
+
After GSoC, the goal is to merge the pull requests into their respective repositories,
156
+
enabling users to leverage the OpenSSF Scorecard integration for enhanced vulnerability
157
+
analysis in Scancode.io. Future work includes extending this integration to other
The weekly status calls were more than just updates; they were a source of inspiration, ideas, and camaraderie. And the 1:1 calls with `Ayan Sinha Mahapatra`_ and `Philippe Ombredanne`_ were like mini-masterclasses in software development.
174
+
The weekly status calls were more than just updates; they were a source of inspiration,
175
+
ideas, and camaraderie. And the 1:1 calls with `Ayan Sinha Mahapatra`_ and
176
+
`Philippe Ombredanne`_ were like mini-masterclasses in software development.
149
177
150
-
To my mentors: Thank you for not just teaching me the ropes but for showing me how to swing from them! This journey was as much about learning as it was about having fun, and I couldn't have asked for a better crew to sail with.
178
+
To my mentors: Thank you for not just teaching me the ropes but for showing me how to
179
+
swing from them! This journey was as much about learning as it was about having fun,
180
+
and I couldn't have asked for a better crew to sail with.
0 commit comments