Control: GitHub > Ruleset > Ruleset Prevention > Discovery
Discover preventions from GitHub Rulesets and add them to the CMDB. This control discovers both branch ruleset settings (protection, pull request requirements, status checks, workflows, code scanning, code quality, restrictions) and tag ruleset settings (protection, status checks, workflows).
Resource Types
This control targets the following resource types:
Category
In Your Workspace
Developers
- tmod:@turbot/github-prevention#/control/types/rulesetPreventionDiscovery
- tmod:@turbot/turbot#/control/categories/cmdbDiscovery
- turbot graphql controls --filter "controlTypeId:tmod:@turbot/github-prevention#/control/types/rulesetPreventionDiscovery"
Get Controls
Control Type URI
Category URI
GraphQL
CLI