For the complete documentation index, see llms.txt. This page is also available as Markdown.

Operations

A reference list of the queries and mutations these docs cover. The API schema is larger than this. These are the operations relevant to uploading, downloading, and managing SBOMs.

The production endpoint does not support introspection, so use this page as the operation reference.

Queries

Query
Returns
Guide

organization

Your organization, its products, environments, and versions.

sbom(projectId, sbomId)

A single version: metadata, authors, suppliers, components, download, vulns.

vexStatuses

Valid VEX status IDs and names.

vexJustifications

Valid VEX justification IDs and names.

cdxResponses

Valid VEX response IDs and names.

organization { organizationRoles }

Roles in the organization and their permissions.

organization { users }

Members, their roles, and invitation status.

organization { samlConfig }

The organization's SSO (SAML) configuration.

Key fields on sbom

The sbom query resolves a version. Useful fields on it:

Field
Description

id

The version ID (sbomId).

projectVersion

The version string, for example 3.0.2.

vulnRunStatus

Vulnerability scan status. FINISHED when done.

primaryComponent { name version }

The component the SBOM describes.

sbomParts { id part { ... } }

The versions attached as direct parts. See Group Products with Parts.

deepParts { ... }

The full nested tree of parts.

authors { id name email phone }

SBOM authors.

suppliers { ... }

SBOM suppliers.

components(sbomId, first, after, search)

Paginated components in the SBOM.

vulns(sbomId, first, after)

Paginated vulnerabilities.

download(sbomId, ...)

The SBOM file. See Download.

The sbom query also accepts projectName, projectGroupName, and versionName as an alternative to projectId and sbomId.

Mutations

Mutation
Purpose
Guide

sbomUpload

Upload an SBOM file as a new version.

authorCreate

Add an author to a version.

authorUpdate

Change an existing author.

authorDelete

Remove an author.

sbomSupplierCreate

Add a supplier to a version.

sbomSupplierUpdate

Change an existing supplier.

sbomSupplierDelete

Remove a supplier.

sbomPartCreate

Attach a version to another version as a part.

sbomPartDelete

Remove a part from a version.

componentUpdate

Change a component's fields.

compSupplierCreate

Add a supplier to a component.

componentVexUpdate

Set VEX on one component vulnerability.

componentVexBulkUpdate

Set VEX on many vulnerabilities at once.

organizationUserInvite

Invite a user and assign a role.

organizationUserUpdate

Change the role a user holds.

organizationUserRemove

Remove a user from the organization.

organizationRoleCreate

Create a custom role (Enterprise).

organizationRoleUpdate

Change a role's permissions (Enterprise).

organizationRoleBulkApply

Assign a role to many users at once (Enterprise).

organizationRoleDelete

Delete a custom role (Enterprise).

samlConfigCreate

Set up SSO from IdP metadata (Enterprise).

samlConfigUpdate

Change or disable SSO (Enterprise).

samlConfigDelete

Remove the SSO configuration (Enterprise).

Mutation response pattern

Every mutation returns an errors list. An empty list means success. Most also return the object they changed. Always request errors and check it. See Errors.

Looking for the rest of the schema?

These docs cover SBOM lifecycle operations. The platform exposes more, for example policies, automation rules, and integrations. If you need an operation that is not listed here, contact hello@interlynk.io.

Last updated