Input: CreateArtifactInput

The create type for the root entity type Artifact.

The fields id, createdAt, and updatedAt are set automatically.


Properties

NameTypeDescription
artifactTypeArtifactType

Type of the artifact.

assetVersionID

Sets the assetVersion relation to an existing AssetVersion by its id.

The asset version this artifact is associated with

createAssetVersionCreateAssetVersionInput

Creates a new AssetVersion and adds a assetVersion relation between it and the new Artifact.

The asset version this artifact is associated with

createCreatedByCreateUserInput

Creates a new User and adds a createdBy relation between it and the new Artifact.

The user who created this artifact

createTestsCreateTestInput

Creates new Tests and adds tests relations between them and the new Artifact.

All tests / scans performed on this artifact. Note that this is a list of tests, not a list of test results. A test may have multiple results, and a test may be performed multiple times.

createdByID

Sets the createdBy relation to an existing User by its id.

The user who created this artifact

ctxCreateRelationEntityCtxInput

Context contains fields that are accesible to the permissions profile. This is an internal field related to user permissions. This is an internal field related to user permissions.

externalLinksArtifactLinkInput

Links to get to the source artifact

fsanIdString

The fsan_id associated with this Artifact. The fsan_id is used by Finite State Binary Analysis to uniquely identify an artifact and its processing.

nameString

Name of the artifact

softwareIdentifiersSoftwareIdentifiersInput

A list of unique identifiers for this artifact. In the case of a single project, this may be a Package URL (purl). Software Identifiers are used to link an object to known vulnerabilities (e.g. CVEs).

testsID

Adds tests relations to existing Tests by their ids.

If one of the Tests is already related to a different Artifact, these relations are removed first.

All tests / scans performed on this artifact. Note that this is a list of tests, not a list of test results. A test may have multiple results, and a test may be performed multiple times.

versionString

Version of the artifact


This page was generated: 2024-05-17