Skip to content

Find Linux servers that are AUS enabled

Go to Automation

View in GitLab

Description

This automation performs two separate queries to the Neon API and finds the intersection of hostFQDNs from both results. It makes HTTP requests to different endpoints, processes the responses, and outputs the common hosts found in both queries. The playbook includes error handling and detailed output of results for each query.

Credentials

  • Neon API key

Input

Variable Description
endpoint1 First Neon API endpoint to query
endpoint2 Second Neon API endpoint to query
url Base URL for the Neon API (default: 'https://apidg.gent.be')

Output

Variable Description
target Comma-separated list of hostFQDNs that exist in both API query results
target_count Number of hosts found in the intersection
target1 Results from first query
target2 Results from second query

Dependencies