config field from admin interface don't be return
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 377
- Forks
- 280
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 10
Description
In a misp module when you add new configuration field :
moduleconfig = ["myField"]
A new ligne will be create in the server admin interface.
But when I add a value, my module can't read the value because in request the key does not exist.
request = json.loads(q)
print(request.get("config")) # always False
The debug mod for misp-module don't give this information too.
Contributor guide
No contributing guide indexed for this repository
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 by tracing how the Python moduleconfig value is handled before the request is decoded with json.loads(q). Check the request payload and debug-mode output for the configured key; done means the module can read the submitted value through request.get("config") and the debug output exposes it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend-api-design
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100