Infoblox’s global team of threat hunters uncovers a DNS operation with the ability to bypass traditional security measures and control the Great Firewall of China. Read about “Muddling Meerkat” and the many other threat actors discovered by Infoblox Threat Intel here.

API Examples

Reply

cannot filter extattrs

[ Edited ]
New Member
Posts: 1
1399     0

When I try to filter a call by an extattr, then I get an empty response:

curl -k1 -u user:pw -X GET "https://gridmaster/wapi/v2.11/dtc:lbdn?_return_fields=extattrs&*RequestorOrg:='AD-IB-Groupname'"

Whereas when calling without filter, then I see the extattr:

curl -k1 -u user:pw -X GET "https://gridmaster/wapi/v2.11/dtc:lbdn?_return_fields=extattrs"

The response is:

[
    {
        "_ref": "dtc:lbdn/ZG5zLml...kldC5jaA:lbdn1.example.com",
        "extattrs": {
            "RequestorOrg": {
                "value": "AD-IB-Groupname"
            }
        }
    },
    {
        "_ref": "dtc:lbdn/ZG5zLml...uZXQuY2g:lbdn2.example.com",
        "extattrs": {}
    }
]

I checked this page here for searching by extattrs:

https://mygridmaster/wapidoc/additional/extattrsearch.html#extattrs-search

How to search correctly for extattrs?

Re: cannot filter extattrs

Moderator
Moderator
Posts: 293
1400     0

Try using a percent-20-equals instead of just equals, on the _return_fields field.

 

This means we're asking to add the EA values to the list of fields returned (in addition to the object defaults), instead of just returning the EA values.

 

curl -k1 -u user:pw -X GET "https://gridmaster/wapi/v2.11/dtc:lbdn?_return_fields%20=extattrs&*RequestorOrg:='AD-IB-Groupname'"
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