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
#275 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.