crash.software
Projects
Pull Requests
Issues
Builds
scorecard
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
scorecard
Files
🤬
Sign In
fc026ef6
ROOT
/
rule
/
rule.go
Search
History
248 lines
|
ISO-8859-1
|
5 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
RemediationEffort
RemediationEffortNone
:
RemediationEffort
RemediationEffortLow
RemediationEffortMedium
RemediationEffortHigh
Remediation
Patch
:
*string
Text
:
string
Markdown
:
string
Effort
:
RemediationEffort
jsonRemediation
Text
:
[]string
Markdown
:
[]string
Effort
:
RemediationEffort
jsonRule
Short
:
string
Desc
:
string
Motivation
:
string
Implementation
:
string
Risk
:
Risk
Remediation
:
jsonRemediation
Risk
RiskNone
:
Risk
RiskLow
RiskMedium
RiskHigh
RiskCritical
Rule
Name
:
string
Short
:
string
Desc
:
string
Motivation
:
string
Risk
:
Risk
Remediation
:
*Remediation
errInvalid
New
(loc embed.FS, rule string)
:
(*Rule, error)
validate
(r *jsonRule)
:
error
validateRemediation
(r jsonRemediation)
:
error
validateRisk
(r Risk)
:
error
parseFromJSON
(content []byte)
:
(*jsonRule, error)
*RemediationEffort
UnmarshalYAML
(n *yaml.Node)
:
error
String
()
:
string
*Risk
UnmarshalYAML
(n *yaml.Node)
:
error
String
()
:
string
GreaterThan
(rr Risk)
:
bool
All occurrences
Please wait...
Page is in error, reload to recover