@@ -745,6 +745,8 @@ rules:
745
745
headers :
746
746
Content-Type :
747
747
- " application/json"
748
+ X-Mc-Threat-Feed-Next-Token :
749
+ - nextnexttoken
748
750
body : |
749
751
{{ minify_json `
750
752
{
@@ -815,6 +817,43 @@ rules:
815
817
]
816
818
}
817
819
`}}
820
+ - path : /api/ttp/threat-intel/get-feed
821
+ methods : ["POST"]
822
+ request_body : /"feedType":"malware_customer","fileType":"stix","token":"nextnexttoken"/
823
+ request_headers :
824
+ authorization : ["Bearer topsecretaccesstokenthatshouldnotbeleakedforabit"]
825
+ responses :
826
+ - status_code : 200
827
+ headers :
828
+ Content-Type :
829
+ - " application/json"
830
+ body : |
831
+ {{ minify_json `
832
+ {
833
+ "meta": {
834
+ "status": 200
835
+ },
836
+ "data": [],
837
+ "fail": [
838
+ {
839
+ "key": {
840
+ "start": "2025-02-01T01:00:00+0000",
841
+ "end": "2025-02-01T01:00:01+0000",
842
+ "fileType": "stix",
843
+ "feedType": "malware_customer",
844
+ "compress": false
845
+ },
846
+ "errors": [
847
+ {
848
+ "code": "err_threat_intel_feed_no_result_found",
849
+ "message": "No results found for threat intel feed.",
850
+ "retryable": false
851
+ }
852
+ ]
853
+ }
854
+ ]
855
+ }
856
+ `}}
818
857
819
858
- path : /api/ttp/threat-intel/get-feed
820
859
methods : ["POST"]
@@ -899,6 +938,8 @@ rules:
899
938
headers :
900
939
Content-Type :
901
940
- " application/json"
941
+ X-Mc-Threat-Feed-Next-Token :
942
+ - nextnexttoken
902
943
body : |
903
944
{{ minify_json `
904
945
{
@@ -969,6 +1010,43 @@ rules:
969
1010
]
970
1011
}
971
1012
`}}
1013
+ - path : /api/ttp/threat-intel/get-feed
1014
+ methods : ["POST"]
1015
+ request_body : /"feedType":"malware_grid","fileType":"stix","token":"nextnexttoken"/
1016
+ request_headers :
1017
+ authorization : ["Bearer topsecretaccesstokenthatshouldnotbeleakedforabit"]
1018
+ responses :
1019
+ - status_code : 200
1020
+ headers :
1021
+ Content-Type :
1022
+ - " application/json"
1023
+ body : |
1024
+ {{ minify_json `
1025
+ {
1026
+ "meta": {
1027
+ "status": 200
1028
+ },
1029
+ "data": [],
1030
+ "fail": [
1031
+ {
1032
+ "key": {
1033
+ "start": "2025-02-01T01:00:00+0000",
1034
+ "end": "2025-02-01T01:00:01+0000",
1035
+ "fileType": "stix",
1036
+ "feedType": "malware_customer",
1037
+ "compress": false
1038
+ },
1039
+ "errors": [
1040
+ {
1041
+ "code": "err_threat_intel_feed_no_result_found",
1042
+ "message": "No results found for threat intel feed.",
1043
+ "retryable": false
1044
+ }
1045
+ ]
1046
+ }
1047
+ ]
1048
+ }
1049
+ `}}
972
1050
973
1051
- path : /api/ttp/attachment/get-logs
974
1052
methods : ["POST"]
0 commit comments