Skip to content

GraphQL Schema Reference

CreateTestCaseDataInput

GraphQL Schema definition

  • input CreateTestCaseDataInput {
  • # Correlation token, used to match this item to its result in the payload's
  • # testCaseCreateItems list. Optional - if omitted (or empty), the server generates
  • # one and
  • # returns it on the corresponding TestCaseCreateItem. If supplied, must be unique
  • # within the
  • # request.
  • clientId: String
  • name: String!
  • description: String!
  • phase: String!
  • technique: String!
  • tags: [String!]
  • organization: String!
  • status: TestCaseStatus
  • targets: [String!]
  • sources: [String!]
  • # Blue team
  • defenses: [String!]
  • detectionSteps: [String!]
  • preventionSteps: [String!]
  • # Note: the outcome field is deprecated and will map to outcomePath using a best
  • # guess, changed from enum in v9
  • outcome: String
  • outcomePath: String
  • overrideOutcome: Boolean
  • outcomeNotes: String
  • # Note: the alertSeverity field is deprecated and will map to outcomePath using a
  • # best guess
  • alertSeverity: AlertSeverity
  • # Note: the alertTriggered field is deprecated and will map to outcomePath using a
  • # best guess
  • alertTriggered: AlertTriggered
  • # Note: the activityLogged field is deprecated and will map to outcomePath using a
  • # best guess
  • activityLogged: ActivityLogged
  • detectionTime: Float
  • # For legacy outcomes only
  • detectingDefenseTools: [DefenseToolInput!]
  • defenseToolOutcomes: [DefenseToolOutcomeInput!]
  • # Red team
  • references: [String!]
  • redTools: [RedToolInput!]
  • operatorGuidance: String
  • attackStart: Float
  • attackStop: Float
  • redTeamMetadata: [MetadataKeyValuePairInput!]
  • blueTeamMetadata: [MetadataKeyValuePairInput!]
  • attackAutomation: AttackAutomationInput
  • dataVer: Int
  • # Free-form field describing the user or execution context for this test case
  • # (e.g. a domain account, cloud IAM role, or malware privilege stage). Max 255
  • # characters.
  • userContext: String
  • attackSuccess: AttackSuccessState
  • }