You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IDstring`bson:"_id" json:"id" validate:"required" example:"playbook--77c4c428-6304-4950-93ff-83c5fd4cb67a"`// Used by SOARCA so refer to the object while loading it from the database
90
+
Typestring`bson:"type" json:"type" validate:"required" example:"playbook"`// Must be playbook
91
+
SpecVersionstring`bson:"spec_version" json:"spec_version" validate:"required" example:"cacao-2.0"`// Indicate the specification version cacao-2.0 is the only supported version at this time
92
+
Namestring`bson:"name" json:"name" validate:"required" example:"Investigation playbook"`// An indicative name of the playbook
93
+
Descriptionstring`bson:"description,omitempty" json:"description,omitempty" example:"This is an example investigation playbook"`// A descriptive text to indicate what your playbook does
94
+
PlaybookTypes []string`bson:"playbook_types,omitempty" json:"playbook_types,omitempty" example:"investigation"`// Should be of the CACAO playbook-type-ov
95
+
CreatedBystring`bson:"created_by" json:"created_by" validate:"required" example:"identity--96abab60-238a-44ff-8962-5806aa60cbce"`// UUID referring to identity
96
+
Created time.Time`bson:"created" json:"created" validate:"required" example:"2024-01-01T09:00:00.000Z"`// Timestamp of the creation of the playbook
97
+
Modified time.Time`bson:"modified" json:"modified" validate:"required" example:"2024-01-01T09:00:00.000Z"`// Timestamp of the last modification of the playbook
98
+
ValidFrom time.Time`bson:"valid_from,omitempty" json:"valid_from,omitempty" example:"2024-01-01T09:00:00.000Z"`// Timestamp from when the playbook is valid
99
+
ValidUntil time.Time`bson:"valid_until,omitempty" json:"valid_until,omitempty" validate:"omitempty,gtecsfield=ValidFrom" example:"2124-01-01T09:00:00.000Z"`// Timestamp until when the playbook is valid
100
+
DerivedFrom []string`bson:"derived_from,omitempty" json:"derived_from,omitempty" example:"[\"playbook--77c4c428-6304-4950-93ff-83c5224cb67a\"]"`// Playbook id that this playbook is derived from
101
+
Priorityint`bson:"priority,omitempty" json:"priority,omitempty" example:"100"`// A priority number ranging 0 - 100
102
+
Severityint`bson:"severity,omitempty" json:"severity,omitempty" example:"100"`// A priority number ranging 0 - 100
103
+
Impactint`bson:"impact,omitempty" json:"impact,omitempty" example:"100"`// A priority number ranging 0 - 100
104
+
Labels []string`bson:"labels,omitempty" json:"labels,omitempty"`// List of labels to label playbook
105
+
ExternalReferences []ExternalReferences`bson:"external_references,omitempty" json:"external_references,omitempty"`// List of external reference objects
106
+
Markings []string`bson:"markings,omitempty" json:"markings,omitempty" example:"[marking-statement--6424867b-0440-4885-bd0b-604d51786d06]"`// List of datamarking identifiers
107
+
WorkflowStartstring`bson:"workflow_start" json:"workflow_start" validate:"required" example:"start--07bea005-4a36-4a77-bd1f-79a6e4682a13"`// Start step of the playbook MUST be of step type START
108
+
WorkflowExceptionstring`bson:"workflow_exception,omitempty" json:"workflow_exception,omitempty" example:"end--37bea005-4a36-4a77-bd1f-79a6e4682a13"`// Step that marks the actions that need to be taken when an exception occurs
109
+
WorkflowWorkflow`bson:"workflow" json:"workflow" validate:"required"`// Map of workflow steps keyed by the step id
110
+
DataMarkingDefinitionsmap[string]DataMarking`bson:"data_marking_definitions,omitempty" json:"data_marking_definitions,omitempty"`// Map of datamarking definitions
111
+
AuthenticationInfoDefinitionsmap[string]AuthenticationInformation`bson:"authentication_info_definitions,omitempty" json:"authentication_info_definitions,omitempty"`// Map of authentication information objects
112
+
AgentDefinitionsmap[string]AgentTarget`bson:"agent_definitions,omitempty" json:"agent_definitions,omitempty"`// Map of agent definitions used by the workflow steps
113
+
TargetDefinitionsmap[string]AgentTarget`bson:"target_definitions,omitempty" json:"target_definitions,omitempty"`// Map of target definitions used by the workflow steps
114
+
ExtensionDefinitionsmap[string]ExtensionDefinition`bson:"extension_definitions,omitempty" json:"extension_definitions,omitempty"`// Map of extension definitions used by the workflow steps
115
+
PlaybookVariablesVariables`bson:"playbook_variables,omitempty" json:"playbook_variables,omitempty"`// Map of variables that are global to the playbook
116
+
PlaybookExtensionsExtensions`bson:"playbook_extensions,omitempty" json:"playbook_extensions,omitempty"`// Map of extensions used by the playbook
0 commit comments