From dffe6a337ba1e31b6d2c89557bd7bb8526d230bb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 14:06:12 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20Bump=20GraphQL=20Schema=20-=2020?= =?UTF-8?q?241113000343=20(#70)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Mondoo Tools --- enum.go | 10 ---------- input.go | 4 ++-- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/enum.go b/enum.go index 6876cf0..6807fd1 100644 --- a/enum.go +++ b/enum.go @@ -1295,13 +1295,3 @@ const ( WorkspaceSelectionConditionStringOperatorEqual WorkspaceSelectionConditionStringOperator = "EQUAL" // Equal operator. WorkspaceSelectionConditionStringOperatorNotEqual WorkspaceSelectionConditionStringOperator = "NOT_EQUAL" // Not equal operator. ) - -// WorkspaceSelectionOperator represents workspace selection operators. -type WorkspaceSelectionOperator string - -// Workspace selection operators. -const ( - WorkspaceSelectionOperatorUnknown WorkspaceSelectionOperator = "UNKNOWN" // Unknown operator. - WorkspaceSelectionOperatorInclude WorkspaceSelectionOperator = "INCLUDE" // Include assets matching the selection. - WorkspaceSelectionOperatorExclude WorkspaceSelectionOperator = "EXCLUDE" // Exclude assets matching the selection. -) diff --git a/input.go b/input.go index 7dce4e6..66c1dd2 100644 --- a/input.go +++ b/input.go @@ -927,6 +927,8 @@ type ControlsSearchInput struct { type CreateCaseInput struct { // Title. (Required.) Title String `json:"title"` + // Notes. (Required.) + Notes String `json:"notes"` // References. (Required.) References []CaseRefInput `json:"references"` // Ticket configuration. (Required.) @@ -2825,8 +2827,6 @@ type WorkspaceSelectionConditionInput struct { // WorkspaceSelectionInput represents workspace selection defining conditions for selecting assets for a workspace. type WorkspaceSelectionInput struct { - // Operator the selection should use (whether to include or exclude assets matching). (Required.) - Operator WorkspaceSelectionOperator `json:"operator"` // A list of conditions for the selection. (Required.) Conditions []WorkspaceSelectionConditionInput `json:"conditions"` }