Introducing SOC Insights for BloxOne Threat Defense: Boost your SOC efficiency with AI-driven insights to eliminate manual work and accelerate investigation and response times. Read the blog announcement here.

API Examples

Reply

Fetching top level containers

New Member
Posts: 2
799     0

I was wondering if there is a way to fetch just top level network containers

the /wapi/vX/networkcontainer query returns for the top ones something like this

{
    "_ref": "networkcontainer/abc:10.0.0.0/8/default", 
    "comment": "comment", 
    "network": "10.0.0.0/8", 
    "network_container": "/", 
    "network_view": "default"
}

Unfortunatelly my attempts at filtering using network_container field failed - anyone aware of a value for network_container (or any other field for that matter) that I can use to get just those?

Thanks

Re: Fetching top level containers

New Member
Posts: 1
800     0

 

To fetch just the top-level network containers, you can try filtering the API response where the "network_container" field is set to "/".

Re: Fetching top level containers

New Member
Posts: 2
800     0

That was pretty obvious to me as well Smiley Wink just ...

{ "Error": "AdmConProtoError: Bad value for network_container: '/'",
  "code": "Client.Ibap.Proto",
  "text": "Bad value for network_container: '/'"
}
Showing results for 
Search instead for 
Did you mean: 

Recommended for You

Businesses are investing heavily into securing company resources from cyber-attacks form cybercrimin