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

Fix artifact_signature rule schema #1265

Merged
merged 1 commit into from
Oct 23, 2023
Merged

Fix artifact_signature rule schema #1265

merged 1 commit into from
Oct 23, 2023

Conversation

JAORMX
Copy link
Contributor

@JAORMX JAORMX commented Oct 23, 2023

The rule schema made it so that the validation expected a call as follows:

  - type: artifact_signature
    params:
      tags: [main]
      name: test
    def:
      artifact_signature:
        is_signed: true
        is_verified: true
        is_bundle_verified: true

This fixes removes the extra properties so we can make a simpler call as the
one we have already defined in the sample profile.

The rule schema made it so that the validatino expected a call as follows:

```yaml
  - type: artifact_signature
    params:
      tags: [main]
      name: test
    def:
      artifact_signature:
        is_signed: true
        is_verified: true
        is_bundle_verified: true
```

This fixes removes the extra `properties` so we can make a simpler call as the
one we have already defined in the sample profile.
@JAORMX JAORMX merged commit be01f40 into main Oct 23, 2023
12 checks passed
@JAORMX JAORMX deleted the fix-artifact branch October 23, 2023 09:47
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