Skip to content

GraphQL Schema Reference

Assessment

GraphQL Schema definition

  • type Assessment {
  • id: String!
  • name: String!
  • description: String
  • organizations: [Organization]
  • # Arguments
  • # orderBy:
  • campaigns(orderBy: CampaignSortInput): [Campaign]
  • assessmentIds: [String!]
  • metadata: [MetadataKeyValuePair]
  • tags: [Tag]
  • offset: Int
  • killChain: KillChain
  • # Default Test Case data version is only relevant to ENV (local) Assessment data,
  • # doesn't apply to Library data and will return NULL.
  • # For new Assessments, this defaults to a value of 2 which allows recording Test
  • # Case Outcomes at a per-tool level.
  • # When set to 1 this defaults newly created Test Cases to Legacy mode which
  • # records a single outcome for the Test Case and all associated tools
  • defaultTcDataVer: Int
  • # Defense Tools are only relevant to ENV (local) Test Cases, will return NULL for
  • # Library Assessments
  • # This represents a snapshot of the active Environment's Defense Tools when the
  • # Assessment was created
  • # An Assessment's associated Defense Tools are used to infer which tools should be
  • # shown on a Test Case by default
  • # for the purpose of recording Test Outcomes
  • defenseTools: [BlueTool!]
  • importTime: Float
  • createTime: Float
  • updateTime: Float
  • }