Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Field simplification for collections (arrays, vectors) #531

Open
yurybelevskiy opened this issue Sep 5, 2024 · 0 comments
Open

Field simplification for collections (arrays, vectors) #531

yurybelevskiy opened this issue Sep 5, 2024 · 0 comments

Comments

@yurybelevskiy
Copy link

yurybelevskiy commented Sep 5, 2024

I am pulling the JSON of devices using Kismet API and I am trying to extract some fields from the collections objects such as:

"dot11.device": { ....., "dot11.device.advertised_ssid_map: [ { ......, "dot11.advertisedssid.wps_device_name": "Asus Router", ...... } ], ..... }

I have tried using following string in my "fields" array: "dot11.device/dot11.device.responded_ssid_map/dot11.advertisedssid.wps_device_name" and it didn't produce any result.

Expected result

Provided I put following in my "fields" array:
"fields": ["dot11.device/dot11.device.responded_ssid_map/dot11.advertisedssid.wps_device_name"]

I am expecting to get back the following structure:
"dot11.device": { ..... "dot11.device.advertised_ssid_map: [ { "dot11.advertisedssid.wps_device_name": "Asus Router", }, { "dot11.advertisedssid.wps_device_name": "Another Router", }, { "dot11.advertisedssid.wps_device_name": "And another Router", } ] ..... }

Please let me know if that is something Kismet supports. I didn't find any examples or mentions of this functionality in documentation, yet it seems when using regex filtering for fields, something like that would work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant