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

Multi query calc process doc #139

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Multi query calc process doc #139

wants to merge 4 commits into from

Conversation

abhiturbot
Copy link

No description provided.

@abhiturbot abhiturbot requested a review from dboeke October 9, 2024 04:26
Copy link

github-actions bot commented Oct 9, 2024

@@ -37,6 +38,22 @@ what can be done.
On resource discovery or an event, Guardrails will evaluate a calculated policy in
the same way as a normal policy.

## How has the multi-query calc process been optimized in Guardrails?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is kind of generic and meaningless... it doesn't add any value.

Can you update to be something like:

How do I reference metadata about the current resource in the calculated policy input (the graphql query)?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should show an example and list the data elements available.

@@ -207,6 +207,98 @@ The combination of GraphQL and Nunjucks make calculated policies powerful and
flexible. Any Turbot Guardrails policy can be calculated, using any data in the entire
CMDB!

## Improved Multi‐Query Calc Process
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section is much better. Maybe use this for the FAQ and then just include a simple example in the 7 min lab without explaining it.

@rajlearner17 rajlearner17 marked this pull request as draft October 15, 2024 12:51
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.

2 participants