Metadata filtering for tool in sbom #113
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello Steve Springett.
I noticed the gradle plugin didn't fill inn the metadata of the tool producing the SBOM.
This pull request adds filtering capability to the gradle build.
Also, the commons-io dependency is replaced with use of the standard JDK-api.
I've successfully verified the contents of the property file as well as outputted XML and JSON files.
This produces similar data as what the maven plugin does.
What I'm uncertain of is the format of the value for "timestamp" as it is left unexpanded by the maven plugin.
The SBOM 1.4 schema doesn't specify this explicitly.
Is this field unused and to be removed or should it be formatted in a certain way?