Add Netbox API as example to network-sources (#2058)
Some checks failed
CI / 🤖 Check dependabot status (push) Has been cancelled
CI / 🐧 Test on Linux (${{ github.ref_type == 'tag' }}, misc) (push) Has been cancelled
CI / 🐧 Test on Linux (coverage) (push) Has been cancelled
CI / 🐧 Test on Linux (regular) (push) Has been cancelled
CI / ❄️ Build on Nix (push) Has been cancelled
CI / 🍏 Build and test on macOS (push) Has been cancelled
CI / 🧪 End-to-end testing (push) Has been cancelled
CI / 🔍 Upload code coverage (push) Has been cancelled
CI / 🔬 Test only Go (push) Has been cancelled
CI / 🔬 Test only JS (${{ needs.dependabot.outputs.package-ecosystem }}, 20) (push) Has been cancelled
CI / 🔬 Test only JS (${{ needs.dependabot.outputs.package-ecosystem }}, 22) (push) Has been cancelled
CI / 🔬 Test only JS (${{ needs.dependabot.outputs.package-ecosystem }}, 24) (push) Has been cancelled
CI / ⚖️ Check licenses (push) Has been cancelled
CI / 🐋 Build Docker images (push) Has been cancelled
CI / 🐋 Tag Docker images (push) Has been cancelled
CI / 🚀 Publish release (push) Has been cancelled
Update Nix dependency hashes / Update dependency hashes (push) Has been cancelled

* Add Netbox example to network-sources

* Update akvorado.yaml

Removed default TLS values

* Update akvorado.yaml

Removed too much
This commit is contained in:
Sorano
2025-10-31 21:02:31 +01:00
committed by GitHub
parent 23da5bae4b
commit b5db24d942

View File

@@ -73,6 +73,21 @@ clickhouse:
# transform: | # transform: |
# .prefixes[] | # .prefixes[] |
# { prefix: (.ipv4Prefix // .ipv6Prefix), tenant: "google-cloud", region: .scope } # { prefix: (.ipv4Prefix // .ipv6Prefix), tenant: "google-cloud", region: .scope }
# netbox:
# url: "https://netbox.domain.tld/api/ipam/prefixes/?limit=0"
# interval: 6h
# headers:
# Authorization: "Token YOUR_NETBOX_API_TOKEN"
# Accept: "application/json"
# transform: |
# .results[] |
# { prefix: .prefix,
# tenant: .tenant.name,
# site: .scope.description,
# city: .scope.name,
# role: .role.name,
# name: .description
# }
inlet: !include "inlet.yaml" inlet: !include "inlet.yaml"
outlet: !include "outlet.yaml" outlet: !include "outlet.yaml"