assemblyline-v4-service 4.7.0.dev25__py3-none-any.whl → 4.7.0.dev38__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- 4.7.0.dev25
1
+ 4.7.0.dev38
@@ -567,6 +567,9 @@ class SandboxProcessItem:
567
567
  # The timestamp when the process started (ISO 8601 format).
568
568
  start_time: str,
569
569
 
570
+ # Name of the sources who identified this information
571
+ sources: Optional[List[str]] = [],
572
+
570
573
  # The parent process ID (PPID).
571
574
  ppid: Optional[int] = None,
572
575
 
@@ -599,6 +602,7 @@ class SandboxProcessItem:
599
602
  ):
600
603
  self.image = image or "<unknown_image>"
601
604
  self.start_time = start_time
605
+ self.sources = sources or []
602
606
  self.ppid = ppid
603
607
  self.pid = pid
604
608
  self.command_line = command_line
@@ -614,6 +618,7 @@ class SandboxProcessItem:
614
618
  return {
615
619
  "image": self.image,
616
620
  "start_time": self.start_time,
621
+ "sources": self.sources,
617
622
  "ppid": self.ppid,
618
623
  "pid": self.pid,
619
624
  "command_line": self.command_line,
@@ -762,6 +767,9 @@ class SandboxNetflowItem:
762
767
  # The process ID that initiated or owned the network connection.
763
768
  process: Optional[int] = None,
764
769
 
770
+ # Name of the sources who identified this information
771
+ sources: Optional[List[str]] = [],
772
+
765
773
  # The source IP address of the connection.
766
774
  source_ip: Optional[str] = None,
767
775
 
@@ -788,6 +796,7 @@ class SandboxNetflowItem:
788
796
  self.transport_layer_protocol = transport_layer_protocol
789
797
  self.direction = direction
790
798
  self.process = process
799
+ self.sources = sources or []
791
800
  self.source_ip = source_ip
792
801
  self.source_port = source_port
793
802
  self.time_observed = time_observed
@@ -803,6 +812,7 @@ class SandboxNetflowItem:
803
812
  "transport_layer_protocol": self.transport_layer_protocol,
804
813
  "direction": self.direction,
805
814
  "process": self.process,
815
+ "sources": self.sources,
806
816
  "source_ip": self.source_ip,
807
817
  "source_port": self.source_port,
808
818
  "time_observed": self.time_observed,
@@ -853,12 +863,15 @@ class SandboxSignatureItem:
853
863
  # The name of the detection signature.
854
864
  name: str,
855
865
 
856
- # The source type of the signature (e.g., "CUCKOO", "YARA", "SIGMA", "SURICATA").
857
- type: Literal["CUCKOO", "YARA", "SIGMA", "SURICATA"],
866
+ # The source type of the signature (e.g., "CAPE", "CUCKOO").
867
+ type: Literal["CAPE", "CUCKOO"],
858
868
 
859
869
  # The classification of the signature (e.g., "malicious", "benign").
860
870
  classification: str,
861
871
 
872
+ # Name of the sources who identified this information
873
+ sources: Optional[List[str]] = [],
874
+
862
875
  # The list of ATT&CK patterns or related attack metadata linked to this signature.
863
876
  attacks: Optional[List[SandboxAttackItem]] = None,
864
877
 
@@ -880,6 +893,7 @@ class SandboxSignatureItem:
880
893
  self.name = name
881
894
  self.type = type
882
895
  self.classification = classification
896
+ self.sources = sources or []
883
897
  self.attacks = attacks or []
884
898
  self.actors = actors or []
885
899
  self.malware_families = malware_families or []
@@ -891,6 +905,7 @@ class SandboxSignatureItem:
891
905
  return {
892
906
  "name": self.name,
893
907
  "type": self.type,
908
+ "sources": self.sources,
894
909
  "classification": self.classification,
895
910
  "attacks": [a.as_primitives() for a in self.attacks] if self.attacks else [],
896
911
  "actors": self.actors,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: assemblyline-v4-service
3
- Version: 4.7.0.dev25
3
+ Version: 4.7.0.dev38
4
4
  Summary: Assemblyline 4 - Service base
5
5
  Home-page: https://github.com/CybercentreCanada/assemblyline-v4-service/
6
6
  Author: CCCS Assemblyline development team
@@ -1,4 +1,4 @@
1
- assemblyline_v4_service/VERSION,sha256=86rnx2n5DlVlISBAT0O8ZIOeE-g_gwhj06QGH74PUGQ,12
1
+ assemblyline_v4_service/VERSION,sha256=3jBiKsASK7yW9H9DH7D1qAFy9bOG0dQEVX7-UPdB2OI,12
2
2
  assemblyline_v4_service/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  assemblyline_v4_service/healthz.py,sha256=2Xu9NAQwrb_0mIMgNmpppDvYYq3HYz-ofLIv4tGP8Ns,1406
4
4
  assemblyline_v4_service/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -10,7 +10,7 @@ assemblyline_v4_service/common/helper.py,sha256=xs9quuf-M1JOdKieBqOmWaOece0CtzXF
10
10
  assemblyline_v4_service/common/ocr.py,sha256=NgkFqAq2lRzIveYUulKJmiiWYqwf4siYbL59n1Ow02o,8350
11
11
  assemblyline_v4_service/common/ontology_helper.py,sha256=XxZ488-B7fCP4cMSMfeflzTG_cSQ3GwfH0nM_7enCiY,8496
12
12
  assemblyline_v4_service/common/request.py,sha256=Okj7X7MlNPTGitiQpuMMACsDsrgOd33ajWbIiFNXEjk,11729
13
- assemblyline_v4_service/common/result.py,sha256=rnjJJCZnXU2lmZwWoLIQwWGKa4l-Zx5NkT5lXyJfMa4,54924
13
+ assemblyline_v4_service/common/result.py,sha256=UoEP4SETYGjdzmEKpsIc1UWniYOlzsMPihIglmYPQ9w,55422
14
14
  assemblyline_v4_service/common/task.py,sha256=yTNdQ3C07g3zzK3fxDdOeeZknn_SUBNPAbRLwFZsrzc,14168
15
15
  assemblyline_v4_service/common/utils.py,sha256=FDFsFcI6wt-pWyeQYnDWivsPbtme5RqVyofmNiggh6Y,3922
16
16
  assemblyline_v4_service/dev/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -23,7 +23,7 @@ assemblyline_v4_service/updater/client.py,sha256=tLY84gaGdFBVIDaMgRHIEa7x2S8jBl7
23
23
  assemblyline_v4_service/updater/gunicorn_config.py,sha256=p3j2KPBeD5jvMw9O5i7vAtlRgPSVVxIG9AO0DfN82J8,1247
24
24
  assemblyline_v4_service/updater/helper.py,sha256=OTV6WA77wBDOSVWaxijNg-HpwvEwnZozH03S3Q4oUns,10764
25
25
  assemblyline_v4_service/updater/updater.py,sha256=XiqabDp89-t_J6C3U33R-RvA5lMIahFW_MsAVUGyXok,31876
26
- assemblyline_v4_service-4.7.0.dev25.dist-info/licenses/LICENCE.md,sha256=NSkYo9EH8h5oOkzg4VhjAHF4339MqPP2cQ8msTPgl-c,1396
26
+ assemblyline_v4_service-4.7.0.dev38.dist-info/licenses/LICENCE.md,sha256=NSkYo9EH8h5oOkzg4VhjAHF4339MqPP2cQ8msTPgl-c,1396
27
27
  test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
28
28
  test/conftest.py,sha256=W3SieQpZsZpGEmtLqY4aIlxREDSsHceyCrFcFsWUM0U,1851
29
29
  test/test_healthz.py,sha256=DkeLUlrb7rGx3nZ04aADU9HXXu5mZTf_DBwT0xhzIv4,7
@@ -39,7 +39,7 @@ test/test_common/test_request.py,sha256=HiDU1n4Rjso_U0qDME4ohA_9j7rpfqLSD1-e2Rfq
39
39
  test/test_common/test_result.py,sha256=ZtLUddBDA_BTIjG3Jasbq78_AdEjCRe4cb85XLBwH5o,43585
40
40
  test/test_common/test_task.py,sha256=P44mNcSe-3tJgDk9ppN3KbM7oN4LBVIuhONG-Gveh74,19007
41
41
  test/test_common/test_utils.py,sha256=TbnBxqpS_ZC5ptXR9XJX3xtbItD0mTbtiBxxdyP8J5k,5904
42
- assemblyline_v4_service-4.7.0.dev25.dist-info/METADATA,sha256=WiWDzeRFZ7tNT7MunyO5y73UTKHxbnqJHpp6l0Re2dk,5624
43
- assemblyline_v4_service-4.7.0.dev25.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
44
- assemblyline_v4_service-4.7.0.dev25.dist-info/top_level.txt,sha256=LpTOEaVCatkrvbVq3EZseMSIa2PQZU-2rhuO_FTpZgY,29
45
- assemblyline_v4_service-4.7.0.dev25.dist-info/RECORD,,
42
+ assemblyline_v4_service-4.7.0.dev38.dist-info/METADATA,sha256=pGjEX76nSl61ebIDf4aCnt9zWaNfU-orHxt2wGKjY3k,5624
43
+ assemblyline_v4_service-4.7.0.dev38.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
44
+ assemblyline_v4_service-4.7.0.dev38.dist-info/top_level.txt,sha256=LpTOEaVCatkrvbVq3EZseMSIa2PQZU-2rhuO_FTpZgY,29
45
+ assemblyline_v4_service-4.7.0.dev38.dist-info/RECORD,,