Class: Rules::Base
- Inherits:
-
Object
show all
- Defined in:
- lib/rules/base.rb
Direct Known Subclasses
AllowForksArtifact, BuildPublishSameJob, CachePoisoning, CredentialWindow, CurlPipeShell, DangerousTriggers, DockerBuildArgSecrets, ExcessivePermissions, GitConfigGlobal, GithubScriptInjection, HardcodedSecrets, MissingEnvProtection, MissingFrozenLockfile, MissingPermissions, MissingPersistCreds, MissingTimeouts, OverlyBroadTriggers, SelfHostedRunnerFork, ShellInjectionExpr, ShellInjectionJq, StaticAwsCredentials, UnpinnedActions, UnpinnedArtifact, UnpinnedDockerImage, UnscopedAppToken, WorkflowDispatchInjection
Instance Method Summary
collapse
Instance Method Details
#check(workflow) ⇒ Object
15
16
17
|
# File 'lib/rules/base.rb', line 15
def check(workflow)
raise NotImplementedError
end
|
#description ⇒ Object
7
8
9
|
# File 'lib/rules/base.rb', line 7
def description
raise NotImplementedError
end
|
#name ⇒ Object
3
4
5
|
# File 'lib/rules/base.rb', line 3
def name
raise NotImplementedError
end
|
#severity ⇒ Object
11
12
13
|
# File 'lib/rules/base.rb', line 11
def severity
raise NotImplementedError
end
|