This repository was archived by the owner on Dec 5, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed
Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 5353from .utils .constants import (
5454 CustomObjectCaseIncident ,
5555 CustomObjectTask ,
56+ CustomObjectChannel ,
5657 CustomObservableBankAccount ,
5758 CustomObservableCredential ,
5859 CustomObservableCryptocurrencyWallet ,
132133 "get_config_variable" ,
133134 "CustomObjectCaseIncident" ,
134135 "CustomObjectTask" ,
136+ "CustomObjectChannel" ,
135137 "StixCyberObservableTypes" ,
136138 "CustomObservableCredential" ,
137139 "CustomObservableHostname" ,
Original file line number Diff line number Diff line change @@ -222,6 +222,25 @@ class CustomObjectTask:
222222 pass
223223
224224
225+ @CustomObject (
226+ "channel" ,
227+ [
228+ ("name" , StringProperty (required = True )),
229+ ("spec_version" , StringProperty (fixed = "2.1" )),
230+ ("description" , StringProperty ()),
231+ ("aliases" , ListProperty (StringProperty )),
232+ ("channel_types" , ListProperty (StringProperty )),
233+ ("x_opencti_workflow_id" , StringProperty ()),
234+ ("x_opencti_assignee_ids" , ListProperty (StringProperty )),
235+ ("external_references" , ListProperty (ExternalReference )),
236+ ],
237+ )
238+ class CustomObjectChannel :
239+ """Channel object."""
240+
241+ pass
242+
243+
225244# Custom observables
226245
227246
You can’t perform that action at this time.
0 commit comments