If a user is has Sentinel policies enabled, Terraform Cloud will check whether terraform plan obeys the policies to determine whether they can be applied.
Intended users
Further details
This is currently available within Terraform Cloud
@nagyv-gitlab At a high level, how will this be implemented? via API's to Terraform Cloud or Terraform Enterprise or is this something net new we'll be building out in our product to provide the same existing capabilities in Terraform?
@mayanktahil This feature is in the backlog. We don't plan to add Sentinel support in any way yet. As a result, I don't have answers to your questions.
This produces a JSON output with all required information, such as:
total passed and failed
detailed failed information for different enforcement levels (hard-mandatory, soft-mandatory and advisory)
details on each checked policy: name, result, trace/details, etc.
A graphical representation could be similar to the JUnit artifact report (policy checks and details) and/or the Terraform artifact report (show the numbers of hard- and soft-failed and mandatory checks)
This issue's description does not seem to have a section for "Implementation Guide".
Please consider adding one, because it makes a big difference for contributors.
This section can be brief but must have clear technical guidance, like:
Hints on lines of code which may need changing
Hints on similar code/patterns that can be leveraged
Suggestions for test coverage
Ideas for breaking up the merge requests into iterative chunks
Hey @gitlab-bot, @tauriedavis, it appears this issue does not meet all of the required criteria for the quick win label, so it has been removed.
If you believe this issue is still relevant, ensure it meets the criteria for quick win issues
then re-add the label.
Note: Our next GitLab Hackathon commences on Thursday (2025-01-23).
Re-add the label before this date to increase the likelihood of your issue being picked up by a community contributor.
Please direct any questions to @gitlab-org/developer-relations/contributor-success.