blob: e7cd5986e0c55f774dd544fbc0df0f911e6614b6 [file] [log] [blame]
{
"sbom": false,
"fixups": [
{
"pattern": "\\.go:(\\d+):(\\d+)",
"replace": ".go:\u003cl\u003e:\u003cc\u003e",
"comment": " mask line and column with <l> and <c> placeholders, resp."
},
{
"pattern": "\\\"line\\\":(\\s)*(\\d+)",
"replace": "\"line\": \u003cl\u003e",
"comment": "modify position lines in json"
},
{
"pattern": "\\\"column\\\":(\\s)*(\\d+)",
"replace": "\"column\": \u003cc\u003e",
"comment": "modify position columns in json"
},
{
"pattern": "\\\"offset\\\":(\\s)*(\\d+)",
"replace": "\"offset\": \u003co\u003e",
"comment": "modify position offsets in json"
},
{
"pattern": "\"scanner_version\": \"[^\"]*\"",
"replace": "\"scanner_version\": \"v0.0.0-00000000000-20000101010101\""
},
{
"pattern": "file:///(.*)/testdata/(.*)/vulndb",
"replace": "testdata/vulndb"
},
{
"pattern": "modified (.*)\\)",
"replace": "modified 01 Jan 21 00:00 UTC)"
},
{
"pattern": "\"go_version\": \"go(.*)\"",
"replace": "\"go_version\": \"go1.18\""
}
]
}