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

bugfix/AX-62610_short_axon_id_appears_in_exported_get #308

Conversation

yairvol
Copy link
Contributor

@yairvol yairvol commented Jan 27, 2025

https://axonius.atlassian.net/browse/AX-62610

  1. A regular request, with hostname as the requested field:
ax.axonius_sdk.client.devices.get(query='',
                                  fields=['agg:hostname'],
                                  fields_default=0,
                                  field_excludes=[],
                                  export='json',
                                  export_file='stuff/hostname.json',
                                  export_path='',
                                  explode_entities=False,
                                  connect_timeout=20,
                                  response_timeout=60,
                                  export_overwrite=True
                                  )

hostname.json

  1. A request containing all fields that are hidden by default:
ax.axonius_sdk.client.devices.get(query='',
                                  fields=["agg:axon_id","agg:adapters","agg:labels","agg:adapter_list_length","agg:short_axon_id","agg:axon_id"],
                                  fields_default=0,
                                  field_excludes=[],
                                  export='json',
                                  export_file='stuff/551.json',
                                  export_path='',
                                  explode_entities=False,
                                  connect_timeout=20,
                                  response_timeout=60,
                                  export_overwrite=True
                                  )

with_excluded_fields.json

@yairvol yairvol changed the title bugfix/AX-62610_short_axon_id_appears_in_exported bugfix/AX-62610_short_axon_id_appears_in_exported_get Jan 28, 2025
@OzJacobii OzJacobii merged commit 0c34cca into Axonius:master Jan 30, 2025
1 of 3 checks passed
@yairvol yairvol deleted the bugfix/AX-62610_short_axon_id_appears_in_exported_get branch January 30, 2025 12:39
yairvol added a commit to yairvol/axonius_api_client that referenced this pull request Jan 30, 2025
PR to be added to the version:
Axonius#308
@yairvol yairvol mentioned this pull request Jan 30, 2025
yairvol added a commit to yairvol/axonius_api_client that referenced this pull request Feb 5, 2025
@axyoni
Copy link

axyoni commented Feb 7, 2025

Approved

OzJacobii pushed a commit that referenced this pull request Feb 10, 2025
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

Successfully merging this pull request may close these issues.

4 participants