INTERFACE

ArtifactAssessment

An analysis done on an artifact is an assessment. An assessment is an operational data that captures user/project visibility information. Domain specific implementation may add to this as appropriate.

link GraphQL Schema definition

  • interface ArtifactAssessment {
  • # Domain-specific artifact assessment instance identifier
  • artifactAssessmentId: String!
  • # artifactMetadataVersion with which this assessment is associated
  • #
  • # Arguments
  • # after: Return records after the given cursor, as per GraphQL
  • # Relay spec
  • # artifactMetadataId: Optionally filter by artifactMetadataId
  • # artifactMetadataName: Optionally filter by artifactMetadata
  • # name, will support wildcard *
  • # before: Return records before the given cursor, as per GraphQL
  • # Relay spec
  • # filter: Input filters to filter Vulnerabilities
  • # first: Return first N records in a paged response, as per
  • # GraphQL Relay spec
  • artifactMetadataVersions(
  • after: String,
  • artifactMetadataId: [String!],
  • artifactMetadataName: [String!],
  • before: String,
  • filter: QueryFilter,
  • first: Int
  • ): ArtifactMetadataVersionConnection!
  • # Recommendations for this assessment
  • #
  • # Arguments
  • # after: Return records after the given cursor, as per GraphQL
  • # Relay spec
  • # before: Return records before the given cursor, as per GraphQL
  • # Relay spec
  • # first: Return first N records in a paged response, as per
  • # GraphQL Relay spec
  • assessmentRecommendations(
  • after: String,
  • before: String,
  • first: Int
  • ): ArtifactAssessmentRecommendationConnection!
  • # CSP user who created Assessment
  • createdBy: User!
  • # Timestamp at which Assessment is created. Expressed in UTC ISO-8601 format
  • creationTime: DateTime!
  • # csp project entity to which this assessment will be visible
  • cspProjectEntity: Entity
  • # Global opaque identifier to meet Node contract
  • id: ID!
  • # Name of the assessment.
  • name: String
  • }