TheHive-Project / TheHive-Project/Cortex-Analyzers

Cortexutils function to normalise/validate datatypes?

Open
#415 5 comments 0 reactions 2 assignees View on GitHub

@3c7 is already working on this.

Since Feb 6, 2019.

category:feature-request scope:question
Dominant language
Python
Stars
490
Forks
405
Avg merge
2d 43m
Merged PRs (30d)
8

Description

Looking to validate IOCs prior submitting them to Cortex in an app I'm developing.

This needs to consist of validating them (is 192.168.001.001 an IP? Or can it be converted to be valid), and also normalising them to be consistent (http://www.google.com/home.html?test=hello%2bworld is normalised to
http://www.google.com/home.html?test=hello+world) so future submissions can be joined on the same input.

Does Cortexutils provide this function, or have a library that might be useful for this?

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.