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

Added checks for AS and KBS policy setting #617

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

jialez0
Copy link
Member

@jialez0 jialez0 commented Dec 9, 2024

In the current KBS and AS set policy interfaces, there is no validity check for policies, which can result in policies with syntax errors being successfully set and causing errors when subsequently calling the evaluation API. This is not helpful for policy setters to promptly identify errors. This PR adds policy validity checks to the KBS and AS set policy interfaces to avoid the aforementioned issues.

@jialez0 jialez0 requested a review from a team as a code owner December 9, 2024 06:40
@jialez0 jialez0 marked this pull request as draft December 9, 2024 06:58
@jialez0 jialez0 force-pushed the policy-check branch 10 times, most recently from 818b092 to d7a9097 Compare December 10, 2024 07:59
@jialez0 jialez0 marked this pull request as ready for review December 10, 2024 08:02
Copy link
Member

@fitzthum fitzthum left a comment

Choose a reason for hiding this comment

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

LGTM

Great idea. Thanks @jialez0

@Xynnn007 Xynnn007 merged commit aee59e7 into confidential-containers:main Dec 11, 2024
26 checks passed
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.

3 participants