Zscaler and Minemeld v2

Reply
L1 Bithead

Zscaler and Minemeld v2

Hello,

 

I'm trying to get simple data from https://ips.zscaler.net/pac/json. I tried to exploit the extractor with http://jmespath.org/ but really, I don't think I need an extractor here, just indicator "ip".

But it doesn't work :

age_out:
    default: null
    interval: 257
    sudden_death: true
attributes:
    confidence: 100
    share_level: green
    type: IPv4
indicator: ip
prefix: zs
source_name: zscaler
url: https://ips.zscaler.net/pac/json

Could you please help me solve this issue?

 

Thank you

 

 

 

Regards

 

L5 Sessionator

Re: Zscaler and Minemeld v2

Hi @lvmh_onenetwork,

 

in this case you need a JMESPath expression that converts a plain list of values into an array of objects.

 

Try this one:

age_out:
    default: null
    interval: 257
    sudden_death: true
attributes:
    confidence: 100
    share_level: green
    type: IPv4
extractor: 'ip[].{"indicator":@}'
prefix: zs
source_name: zscaler
url: https://ips.zscaler.net/pac/json
L1 Bithead

Re: Zscaler and Minemeld v2

Hi,

 

Thanks again, it works perfectly!

I surely need to develop this aspect.

 

Regards

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!