MISP / MISP/PyMISP

freetext import error

Open
#996 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
491
Forks
290
Avg merge
2d 8h
Merged PRs (30d)
3

Description

when i try to load IoC to MISP using freetext import in CLI i have this error:
sudo python3 freetext.py --event 1131150 --input /var/www/MISP/PyMISP/examples/freetext.txt
image

text from .txt file
image

Can u say whats wrong with my command?
should i use files only or i can add needed IoCs with simple text in command like freetext.py --event 1131150 --input 123.123.123.123, kek.com, spam@phish.com

Also, team, can u add to https://[MISP]/events/automation page with examples of using CLI commands?
Bcause thats really hard sometimes trying to use it without docs

Contributor guide

No contributing guide indexed for this repository

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 with freetext.py and the freetext.txt example, reproducing the command shown for event 1131150. Check the CLI's accepted input forms and the automation page, then document the supported command examples and clarify what the reported error means.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.