Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hostname Artifact #900

Closed
zpriddy opened this issue Feb 27, 2019 · 7 comments
Closed

Hostname Artifact #900

zpriddy opened this issue Feb 27, 2019 · 7 comments

Comments

@zpriddy
Copy link

zpriddy commented Feb 27, 2019

Request Type

Feature Request

Problem Description

hostname is probably a common artifact type and it would be useful to be able to mark something as hostname that could also get passed to cortex to have analyzers run on it.

i dont like to use fqdn for this as hostnames are usually internal, so i wouldnt want a fqdn analyzer to process this as an fqdn, instead an analyzer that is internal that would look up info about a hostname

@nadouani
Copy link
Contributor

nadouani commented Mar 4, 2019

I can understand the difference you are talking about, but I don't see the question :)

You can add a hostname data type and build analyzers that only enrich hostname observables.

@zpriddy
Copy link
Author

zpriddy commented Mar 4, 2019

Am I misunderstanding something? I thought Cortex really only supported the built in data types?

@nadouani
Copy link
Contributor

nadouani commented Mar 4, 2019

No, Cortex can even run an analyzer on blabla if you define an blabla data type and an analyzer for it :)

So replace blabla by hostname and that's it

@zpriddy
Copy link
Author

zpriddy commented Mar 4, 2019

Ah, I see its more of a Cortex issue.. But if Cortex were to add hostname then I feel like it shoul dbe a standard Hive data type.

https://github.com/TheHive-Project/CortexDocs/blob/master/api/how-to-create-an-analyzer.md#datatypelist

@zpriddy
Copy link
Author

zpriddy commented Mar 4, 2019

So you're saying cortex doesn't really care and as long as i set whatever i want as the data types for the analyzer... then it will work?

If this is the case then you have made me very happy :)

@nadouani
Copy link
Contributor

nadouani commented Mar 4, 2019

So you're saying cortex doesn't really care and as long as i set whatever i want as the data types for the analyzer... then it will work?

Yes

@zpriddy
Copy link
Author

zpriddy commented Mar 4, 2019

That works for me! Thanks!

@zpriddy zpriddy closed this as completed Mar 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants