mitre-attack / mitre-attack/attack-workbench-rest-api
As a user I want to manually refresh a Collection Index that has been saved in my organization's workspace
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- JavaScript
- Stars
- 57
- Forks
- 18
- Avg merge
- 6m
- Merged PRs (30d)
- 2
Description
The Collection Manager must implement the endpoint:
POST /api/collectionIndexes/:id/refresh
The endpoint should:
- Retrieve the last saved version of the Collection Index from the database using the Workbench REST API
- Using the url in the saved Collection Index, retrieve the current Collection Index from the remote host
- Save the retrieved Collection Index in the database using the Workbench REST API
- Return the retrieved Collection Index to the client
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the POST /api/collectionIndexes/:id/refresh entry point and locate the Collection Manager implementation and its Workbench REST API calls. Verify the saved index is retrieved, its URL is fetched from the remote host, the result is saved, and the retrieved index is returned to the client.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100