CodeSecurityResource

Identifies a specific resource in a code repository that will be scanned.

Inheritors

Types

Link copied to clipboard
data class ProjectId(val value: String) : CodeSecurityResource

The unique identifier of the project in the code repository.

Link copied to clipboard

Functions

Link copied to clipboard

Casts this CodeSecurityResource as a ProjectId and retrieves its kotlin.String value. Throws an exception if the CodeSecurityResource is not a ProjectId.

Link copied to clipboard

Casts this CodeSecurityResource as a ProjectId and retrieves its kotlin.String value. Returns null if the CodeSecurityResource is not a ProjectId.