Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
raghavkaul committed May 2, 2024
1 parent c99ba53 commit b28012d
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions probes/internal/scripts/setup.go
Expand Up @@ -65,6 +65,12 @@ const (
Probe = "%s"
)
// If your probe is associated with a Scorecard check, map it like so:
// and create the entry in internal/probes/probes.go
// func init() {
// probes.MustRegister(Probe, Run, []probes.CheckName{probes.<ProbeName>})
// }
func Run(raw *checker.RawResults) ([]finding.Finding, string, error) {
return nil, "", nil
}
Expand Down Expand Up @@ -119,15 +125,15 @@ implementation: >
outcome:
-
remediation:
onOutcome: # Which direction of a probe outcome (True/False) requires a "fix"?
effort: # High, Medium, Low
text:
-
ecosystem:
languages:
- all
-
clients:
- github
- gitlab
-
`, y, pn)
err = os.WriteFile(path.Join(pd, "def.yml"), []byte(defYmlBoilerplate), 0o600)
if err != nil {
Expand Down

0 comments on commit b28012d

Please sign in to comment.