What's the easiest way to get data into the SBOM Components table?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2025 02:25 PM
I'm looking into the use of the Software Bill Of Materials. I activated the SBOM Core and Data Models plugins.
Now I'm trying to figure out how to load data into the tables.
In my investigation, I wrote a script to load some data into the sn_sbom_components table. But I am unable to delete any of the records. This puts a crimp in my attempts to figure things out.
When I attempt to delete the records in a fix script, I get the following message for each attempted delete:
GlideSession message was modified by sanitization. [message=Delete operation against 'sn_sbom_component' from scope 'rhino.global' has been refused due to the table's cross-scope access policy][sanitized=Delete operation against 'sn_sbom_component' from scope 'rhino.global' has been refused due to the table's cross-scope access policy]
Security restricted: Delete operation against 'sn_sbom_component' from scope 'rhino.global' has been refused due to the table's cross-scope access policy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2025 12:55 PM - edited 01-24-2025 12:57 PM
I just want to post a fix for my inability to delete records in the sn_sbom_component table.
I was running that script in the Global scope. I copied the script to the Data Model for SBOM scope and it now deletes the records.
I am still interested in hearing advice on how to load data about software loaded on local on-prem servers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2025 09:18 PM
We generally recommend uploading SBOM files because this automatically populates thesn_sbom_component table with package, version, PURL, and other relevant fields.
Please explain your use case and why you would prefer to directly upsert data into the sn_sbom_component table.
