11openapi : 3.0.3
22info :
33 title : IntelOwl API specification
4- version : 2.5 .0
4+ version : 3.0 .0
55paths :
66 /api/analyze_file :
77 post :
@@ -596,28 +596,33 @@ components:
596596 maxLength : 128
597597 disabled :
598598 type : boolean
599+ description :
600+ type : string
599601 config :
600- type : object
601- additionalProperties : {}
602+ $ref : ' #/components/schemas/_Config'
602603 secrets :
603604 type : object
604- additionalProperties : {}
605- description :
606- type : string
605+ additionalProperties :
606+ $ref : ' #/components/schemas/_Secret'
607+ params :
608+ type : object
609+ additionalProperties :
610+ $ref : ' #/components/schemas/_Param'
607611 verification :
608612 type : object
609613 properties :
610614 configured :
611615 type : boolean
612616 error_message :
613617 type : string
618+ nullable : true
614619 missing_secrets :
615620 type : array
616621 items :
617622 type : string
618623 readOnly : true
619624 type :
620- $ref : ' #/components/schemas/TypeEnum '
625+ $ref : ' #/components/schemas/AnalyzerConfigTypeEnum '
621626 external_service :
622627 type : boolean
623628 leaks_info :
@@ -649,9 +654,16 @@ components:
649654 - disabled
650655 - external_service
651656 - name
657+ - params
652658 - python_module
659+ - secrets
653660 - type
654661 - verification
662+ AnalyzerConfigTypeEnum :
663+ enum :
664+ - file
665+ - observable
666+ type : string
655667 AnalyzerReport :
656668 type : object
657669 description : AnalyzerReport model's serializer.
@@ -678,6 +690,10 @@ components:
678690 end_time :
679691 type : string
680692 format : date-time
693+ runtime_configuration :
694+ type : object
695+ additionalProperties : {}
696+ nullable : true
681697 required :
682698 - name
683699 - process_time
@@ -705,21 +721,26 @@ components:
705721 maxLength : 128
706722 disabled :
707723 type : boolean
724+ description :
725+ type : string
708726 config :
709- type : object
710- additionalProperties : {}
727+ $ref : ' #/components/schemas/_Config'
711728 secrets :
712729 type : object
713- additionalProperties : {}
714- description :
715- type : string
730+ additionalProperties :
731+ $ref : ' #/components/schemas/_Secret'
732+ params :
733+ type : object
734+ additionalProperties :
735+ $ref : ' #/components/schemas/_Param'
716736 verification :
717737 type : object
718738 properties :
719739 configured :
720740 type : boolean
721741 error_message :
722742 type : string
743+ nullable : true
723744 missing_secrets :
724745 type : array
725746 items :
@@ -732,7 +753,9 @@ components:
732753 - disabled
733754 - maximum_tlp
734755 - name
756+ - params
735757 - python_module
758+ - secrets
736759 - verification
737760 ConnectorReport :
738761 type : object
@@ -757,6 +780,13 @@ components:
757780 start_time :
758781 type : string
759782 format : date-time
783+ end_time :
784+ type : string
785+ format : date-time
786+ runtime_configuration :
787+ type : object
788+ additionalProperties : {}
789+ nullable : true
760790 required :
761791 - name
762792 - process_time
@@ -1181,11 +1211,59 @@ components:
11811211 - AMBER
11821212 - RED
11831213 type : string
1184- TypeEnum :
1214+ _Config :
1215+ type : object
1216+ description : |-
1217+ To validate `config` attr.
1218+ Used for `analyzer_config.json` and `connector_config.json` files.
1219+ properties :
1220+ queue :
1221+ type : string
1222+ soft_time_limit :
1223+ type : integer
1224+ required :
1225+ - queue
1226+ - soft_time_limit
1227+ _Param :
1228+ type : object
1229+ description : |-
1230+ To validate `params` attr.
1231+ Used for `analyzer_config.json` and `connector_config.json` files.
1232+ properties :
1233+ value :
1234+ type : string
1235+ type :
1236+ $ref : ' #/components/schemas/_ParamTypeEnum'
1237+ description :
1238+ type : string
1239+ maxLength : 512
1240+ required :
1241+ - description
1242+ - type
1243+ - value
1244+ _ParamTypeEnum :
11851245 enum :
1186- - file
1187- - observable
1246+ - int
1247+ - float
1248+ - str
1249+ - bool
1250+ - list
1251+ - dict
11881252 type : string
1253+ _Secret :
1254+ type : object
1255+ description : |-
1256+ To validate `secrets` attr.
1257+ Used for `analyzer_config.json` and `connector_config.json` files.
1258+ properties :
1259+ env_var_key :
1260+ type : string
1261+ maxLength : 128
1262+ description :
1263+ type : string
1264+ maxLength : 512
1265+ required :
1266+ - env_var_key
11891267 securitySchemes :
11901268 durinAuth :
11911269 type : apiKey
0 commit comments