Skip to content

RuleReportData

Report data for a specific RuleReport violation.

primary: string

Single sentence description of the reported violation.

"The following image is missing alt text:"

optional secondary: string[]

Any additional sentences detailing the violation.

["> [](img.jpg)"]

suggestion: string[]

Steps the user can take to resolve the violation.

"To resolve this report, add descriptive alt text to the image."

optional action: "close"

Optional action to take on the entity after the report comment is posted.

"close"