Skip to content

RunOctoGuideRulesResult

Returned data from running runOctoGuideRules.

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);

entity: Entity

The entity that was scanned.


reports: RuleReport[]

Any reports generated by the rules.