customSastRuleInput
A single custom SAST rule to create or keep in the organization configuration.
Examples
input CustomSastRuleInput {
name: String!
issueName: String!
severity: CustomSastSeverity!
customRule: String!
customIssueDescription: String
issueRecommendation: String
}Fields
Field
Description
Supported fields
name String!
Internal name that identifies the rule in the Custom SAST Rules table. This name is not shown on findings.
issueName String!
Finding title shown for issues created by this rule.
customRule String!
OpenGrep-compatible YAML document that defines the detection pattern.
customIssueDescription String
Finding description shown in issue details.
issueRecommendation String
Remediation guidance shown in issue details.
References
Fields with this object:
Last updated
