scautomation / azureresourcegraph-examples Goto Github PK
View Code? Open in Web Editor NEWRepo of Example queries for Azure Resource Graph
Repo of Example queries for Azure Resource Graph
the join on id now fails, it does not deliver recently created disks
the problem is that disks that were created a few months or years ago only have am "id" after properties.osDisk.managedDisk. and the join relies on only receiving "id".
However, recently created disk also have a properties.osDisk.managedDisk.storageAccountType attribute which makes the join fail - the disks do not show up in the result.
Hi,
I'd like to automate your queries in an Azure pipeline.
I've found something very simple like this
az disk list --query '[?managedBy==
null].[id]' -o tsv
that I could iterate over all resources,
or this overcomplicated script.
I've found the resource graph REST APIs, but there is also a way to run them trhough simpler, self contained az cli commands?
Would you consider publishing also that?
Thanks
While trying to use the "Find unused Web API connections - Credit Mohammed Barqawi" I discovered that the query returns this error:
Please provide below info when asking for support: timestamp = 2022-08-22T10:38:25.4583215Z, correlationId = 7813bc9e-xxxx-xxxx-xxxx-d8a787c38b29. (Code:BadRequest)
Details:
Query is invalid. Please refer to the documentation for the Azure Resource Graph service and fix the error before retrying. (Code:InvalidQuery)
ParserFailure (Code:ParserFailure)
ParserFailure (Code:ParserFailure)
ParserFailure (Code:ParserFailure)
More information on the error can be found [here](https://portal.azure.com/#).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.