-
Notifications
You must be signed in to change notification settings - Fork 148
Technical mappings scripts not working due to NOT acceptable URL #42
Comments
Hi @getkub, This is an issue introduced by a recent update to the taxii2client library. Essentially they changed their API such that the default TAXII requests will try to fetch STIX 2.1 content using TAXII 2.1 from the TAXII server. Because our TAXII server uses the TAXII 2.0 spec (and stores STIX 2.0 content) this results in the 406 not acceptable error you're getting. The correct resolution is to update your import:
This issue is rather tricky for us because it depends on which version of the taxii2client repo users have installed -- only users with new installs get the error, and users who perform the above fix with the older taxii2client version may get errors. See also #19. |
Yeah, I tried that. the above logic of works ok for But thanks anyway, will downgrade and see |
Reopening so that we can investigate the fix for technique_mappings_to_csv.py. |
Hi @getkub, I think the way the taxii2client import is used in
Let me know if that works for you. |
This has been resolved in the v1.5.2 release. |
For scripts like
https://github.com/mitre-attack/attack-scripts/blob/master/scripts/technique_mappings_to_csv.py ,the collection URL is not working anymore.
The error shows as:
406 Client Error: Not Acceptable for url:
The text was updated successfully, but these errors were encountered: