Skip to content

Conversation

@darrylanderson
Copy link

@darrylanderson darrylanderson commented Feb 14, 2025

The rule owasp:api5:2023-admin-security-unique is missing a description. This causes the SARIF formatter in Spectral to produce invalid SARIF files.

This fix adds a description to the rule.

Motivation and Context

The rule owasp:api5:2023-admin-security-unique is missing a description. This causes the SARIF formatter in Spectral to produce invalid SARIF files.

Fixes the following issue in the Spectral github repo: stoplightio/spectral#2610

Description

This fix adds a basic description to the rule.

How Has This Been Tested?

The updated ruleset has been used locally in Spectral against an OpenAPI spec. The SARIF formatter was used, and valid SARIF output was produced.

Screenshot(s)/recordings(s)

N/A

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

The rule owasp:api5:2023-admin-security-unique is missing a description. This causes the SARIF formatter in Spectral to produce invalid SARIF files. 

This fix adds a description to the rule.
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.

1 participant