Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

What's the easiest way to get data into the SBOM Components table?

HugoFirst
Kilo Sage

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



 

2 REPLIES 2

HugoFirst
Kilo Sage

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.

MiravTMehta
ServiceNow Employee

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.