Skip to content

When searching with more than one parameter in devicesearch.get returned count is 0 #45

@LegendEvent

Description

@LegendEvent

Error:
print(json.dumps(client.devicesearch.get(Type="Laptop",mac="xx:xx:xx:xx:xx:xx")))
returns: {"totalCount": 0, "devices": []}

Expected behaviour:
Should print the device which matches with Type = Laptop and mac= xx:xx:xx:xx:xx

When using just the type or just the mac the return is expected.

{"totalCount": 1, "devices": [{"did": X, "macaddress": "X", "vendor": "X", "ip": "X", "sid": 25, "hostname": "X", "firstSeen": X, "lastSeen": X, "os": "X", "typename": "laptop", "typelabel": "Laptop", "credentials": X, "tags": [....]}

But both parameter together doesnt work at all.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions