Skip to content

Instantly share code, notes, and snippets.

View reetasingh's full-sized avatar
👩‍💻
PR in progress ¯\_(ツ)_/¯

Reeta Singh reetasingh

👩‍💻
PR in progress ¯\_(ツ)_/¯
View GitHub Profile
@reetasingh
reetasingh / report.json
Created March 1, 2023 07:55
sarif output from tivy
{
"version": "2.1.0",
"$schema": "https://json.schemastore.org/sarif-2.1.0-rtm.5.json",
"runs": [
{
"tool": {
"driver": {
"fullName": "Trivy Vulnerability Scanner",
"informationUri": "https://github.com/aquasecurity/trivy",
"name": "Trivy",
package main
import (
"fmt"
"math"
)
type Circle struct {
r float64
}
package main
import (
"fmt"
"math"
)
type Circle struct {
r float64
}
package main
import "fmt"
type Integer int
func (i Integer) add(j Integer) Integer {
return i + j
}
package main
import (
"fmt"
"math"
)
type Circle struct {
r float64
}
type Person struct {
firstName string
lastName string
phoneNumbers []string
}
var firstName string
var lastName string
var phone Nargs
/*
Copyright © 2023 NAME HERE <EMAIL ADDRESS>
*/
package cmd
import (
"fmt"
"github.com/spf13/cobra"
/*
Copyright © 2023 NAME HERE <EMAIL ADDRESS>
*/
package cmd
import (
"fmt"
"github.com/spf13/cobra"
personctl add --pid=1 --first-name=david --last-name=joseph
/*
Copyright © 2023 NAME HERE <EMAIL ADDRESS>
*/
package cmd
import (
"fmt"
"strings"