Configuring Miner for JSON

Reply
L0 Member

Configuring Miner for JSON

Hello,

 

I'm needing to build a miner to mine a JSON file found here -> https://api.binaryedge.io/v1/minions.

 

In building my prototypes I've tried two different types.

 

1.

age_out:
default: null
interval: 257
sudden_death: true
attributes:
confidence: 100
share_level: green
type: IPv4
extractor: scanner
fields:
indicator: ip_prefix
prefix:
source_name: BinaryEdgeNinja
url: https://api.binaryedge.io/v1/minions

 

 

2.

age_out:
default: null
interval: 257
sudden_death: true
attributes:
confidence: 100
share_level: green
type: IPv4
extractor: scanners
fields:
indicator: URL
prefix:
source_name: binaryedgeninja
url: https://api.binaryedge.io/v1/minions

 

I'm able to get the result I need by using the expression "scanners" in the extractor field, however I'm unsure of the use of the other fields (fields, indicator, prefix) and if those are needed. I don't see anywhere in the JSON that they are used.

 

Any help is much appreciated.

 

Patrick

Highlighted
L0 Member

Re: Configuring Miner for JSON

bump

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!