muchdogesec / arango_taxii_server

A lightweight TAXII API wrapper for ArangoDB.
GNU Affero General Public License v3.0
2 stars 0 forks source link

Only the latest version of the objects should be returned by endpoints get objects endpoints #13

Open himynamesdave opened 2 weeks ago

himynamesdave commented 2 weeks ago
    {"endpoint": f"/api/taxii2/{API_ROOT}/collections/{{COLLECTION_ID}}/objects/", "method": "GET"},
    {"endpoint": f"/api/taxii2/{API_ROOT}/collections/{{COLLECTION_ID}}/manifest/", "method": "GET"},
    {"endpoint": f"/api/taxii2/{API_ROOT}/collections/{{COLLECTION_ID}}/objects/{{OBJECT_ID}}/", "method": "GET"},

The user can use the match[version] to get specific versions, but by default, if not values set for match[version], theses endpoint should only return the latest objects (_is_latest==true)