-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(osv): treat
published
as optional
The spec says it's optional. So let's make it optional. Closes #990
- Loading branch information
Showing
6 changed files
with
31 additions
and
3 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
id: PYSEC-2024-55 | ||
modified: 0001-01-01T00:00:00Z | ||
details: Malicious package. Exfiltrated secrets to a target server. | ||
affected: | ||
- package: | ||
ecosystem: PyPI | ||
name: cipherbcrypt | ||
purl: pkg:pypi/cipherbcrypt | ||
ranges: | ||
- type: ECOSYSTEM | ||
events: | ||
- introduced: "0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
use test_context::test_context; | ||
use test_log::test; | ||
use trustify_module_ingestor::service::Format; | ||
use trustify_test_context::TrustifyContext; | ||
|
||
#[test_context(TrustifyContext)] | ||
#[test(tokio::test)] | ||
async fn pypa_yaml(ctx: &TrustifyContext) -> anyhow::Result<()> { | ||
let result = ctx | ||
.ingest_document_as("osv/PYSEC-2024-55.yaml", Format::OSV) | ||
.await?; | ||
|
||
Ok(()) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters