mitre-attack / mitre-attack/attack-workbench-rest-api
As a system administrator, I would like to have a script to create MongoDB indexes
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 57
- Forks
- 18
- Avg merge
- 6m
- Merged PRs (30d)
- 2
Description
Currently, the app automatically creates indexes every time it starts up. This should be changed so that it only does this when running in development mode. When running in production mode, the main app should assume that all indexes are already created.
This will require the creation of a one-time script that can be used to initialize the database with the correct indexes.
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
Locate the application startup path that currently creates MongoDB indexes and review how development and production modes are selected. Add the one-time database initialization entry point described in the issue, and confirm that production startup assumes indexes already exist while development retains automatic creation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, mongodb
- Domain
- backend, databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100