Query: allAssets

An Asset is a specific software component, software repository, file system image, or hardware device that is part of a product. A Product may have multiple Assets, and each Asset may have multiple versions. For example, an iPhone (Product) could have an Asset for the iOS operating system, and each version of iOS would be a different AssetVersion. The Asset may have multiple Artifacts that come from various stages of the DevSecOps lifecycle. For example, the asset for iOS (operating system) may have an Artifact for the source code that is scanned by source code scanners, an Artifact for the compiled binary which is scanned by Binary SAST scanners, and an Artifact for the file system image which is scanned by Binary SCA scanners.

Return Type




Args

NameTypeDescription
afterString

If this is set to the value of the _cursor field of an item, only items after that one will be included in the result. The value of the after of this query must match the one where the _cursor value has been retrieved from.

filterAssetFilter
firstInt

The number of items to include in the result. If omitted, all remaining items will be included (which can cause performance problems on large collections).

orderByAssetOrderBy

Specifies the how this collection should be sorted. If omitted, the result order is not specified. If cursor-based pagination is used (i.e., the after is specified or the _cursor is requested), id_ASC will be implicitly added as last sort criterion so that the sort order is deterministic.

skipInt

The number of items in the list or collection to skip. Is applied after the after argument if both are specified.


Properties

NameTypeDescription
_businessUnitsMeta_QueryMeta

The additional Groups this Asset has been shared with. An Asset may be maintained by a different group than the group that is creating the Product. For example, you may have a group that builds and maintains the operating system that is used across multiple product lines. In this case, the operating system Asset would be created by the operating system group, but shared with the product group.

_cursorString

Provides a value that can be supplied to the after argument for pagination. Depends on the value of the orderBy argument.

_dependentProductsMeta_QueryMeta

All products that use this asset

_processingStatusesMeta_QueryMeta

Any kind of processing currently occurring on the asset

_revisionID

An identifier that is updated automatically on each update of this root entity (but not on relation changes)

_testsMeta_QueryMeta

All of the tests associated with this asset's versions

_versionStatusesMeta_QueryMeta

All of the processing statuses associated with this asset's versions

_versionsMeta_QueryMeta

All versions for this asset.

businessUnits[Group]

The additional Groups this Asset has been shared with. An Asset may be maintained by a different group than the group that is creating the Product. For example, you may have a group that builds and maintains the operating system that is used across multiple product lines. In this case, the operating system Asset would be created by the operating system group, but shared with the product group.

createdAtDateTime

The instant this object has been created

createdByUser

The user who created this Asset in the Finite State platform. This is automatically set by the system at the time of creation and cannot be modified.

ctxRelationEntityCtx

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

defaultToLatestBoolean

If true, the risk of this asset is determined by the latest AssetVersion. If false, the risk of this asset is determined by the default AssetVersion.

defaultVersionAssetVersion

The default AssetVersion associated with this Asset. This is the version that is used to determine the risk of the Asset, unless defaultToLatest is true.

deletedAtDateTime

Timestamp of when this asset was deleted

dependentProducts[Product]

All products that use this asset

descriptionString

A description of the asset

groupGroup

The group / business unit the Asset belongs to. This is used to determine which users have access to the Asset, and which users can view or modify the Asset. Multiple Products can use the same Asset, but each Asset can only belong to one Group.

idID

An auto-generated string that identifies this root entity uniquely among others of the same type

nameString

Name of the asset

processingStatuses[ProcessingStatus]

Any kind of processing currently occurring on the asset

tests[Test]

All of the tests associated with this asset's versions

updatedAtDateTime

The instant this object has been updated the last time (not including relation updates)

versionStatuses[ProcessingStatus]

All of the processing statuses associated with this asset's versions

versions[AssetVersion]

All versions for this asset.


This page was generated: 2024-05-17