RunOctoGuideRulesResult
Returned data from running runOctoGuideRules.
Example
Section titled “Example”const { entity, reports } = await runOctoGuideRules({ entity: "https://github.com/OctoGuide/bot/issues/19",});
console.log("Entity URL:", entity.data.html_url);console.log("Received reports:", reports);Properties
Section titled “Properties”entity
Section titled “entity”entity:
Entity
The entity that was scanned.
reports
Section titled “reports”reports:
RuleReport[]
Any reports generated by the rules.