Configuring Miner for JSON

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

Configuring Miner for JSON

L0 Member

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

1 REPLY 1

L0 Member

bump

  • 2097 Views
  • 1 replies
  • 0 Likes
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 LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!