some refinement
This commit is contained in:
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"version": "1.157.0",
|
||||
"results": [],
|
||||
"errors": [
|
||||
{
|
||||
"code": 3,
|
||||
"level": "warn",
|
||||
"type": "Syntax error",
|
||||
"message": "Syntax error at line semgrep-results.json:1:\n missing element",
|
||||
"path": "semgrep-results.json"
|
||||
},
|
||||
{
|
||||
"code": 3,
|
||||
"level": "warn",
|
||||
"type": [
|
||||
"PartialParsing",
|
||||
[
|
||||
{
|
||||
"path": ".gitea/workflows/build.yaml",
|
||||
"start": {
|
||||
"line": 36,
|
||||
"col": 23,
|
||||
"offset": 1047
|
||||
},
|
||||
"end": {
|
||||
"line": 36,
|
||||
"col": 26,
|
||||
"offset": 1050
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": ".gitea/workflows/build.yaml",
|
||||
"start": {
|
||||
"line": 37,
|
||||
"col": 26,
|
||||
"offset": 1047
|
||||
},
|
||||
"end": {
|
||||
"line": 37,
|
||||
"col": 29,
|
||||
"offset": 1050
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": ".gitea/workflows/build.yaml",
|
||||
"start": {
|
||||
"line": 38,
|
||||
"col": 26,
|
||||
"offset": 1047
|
||||
},
|
||||
"end": {
|
||||
"line": 38,
|
||||
"col": 29,
|
||||
"offset": 1050
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
"message": "Syntax error at line .gitea/workflows/build.yaml:36:\n When parsing a snippet as Bash for metavariable-pattern in rule 'yaml.github-actions.security.curl-eval.curl-eval', `${{` was unexpected",
|
||||
"path": ".gitea/workflows/build.yaml",
|
||||
"spans": [
|
||||
{
|
||||
"file": ".gitea/workflows/build.yaml",
|
||||
"start": {
|
||||
"line": 36,
|
||||
"col": 23,
|
||||
"offset": 1047
|
||||
},
|
||||
"end": {
|
||||
"line": 36,
|
||||
"col": 26,
|
||||
"offset": 1050
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": ".gitea/workflows/build.yaml",
|
||||
"start": {
|
||||
"line": 37,
|
||||
"col": 26,
|
||||
"offset": 1047
|
||||
},
|
||||
"end": {
|
||||
"line": 37,
|
||||
"col": 29,
|
||||
"offset": 1050
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": ".gitea/workflows/build.yaml",
|
||||
"start": {
|
||||
"line": 38,
|
||||
"col": 26,
|
||||
"offset": 1047
|
||||
},
|
||||
"end": {
|
||||
"line": 38,
|
||||
"col": 29,
|
||||
"offset": 1050
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"paths": {
|
||||
"scanned": [
|
||||
".DS_Store",
|
||||
".dockerignore",
|
||||
".gitea/workflows/build.yaml",
|
||||
".gitignore",
|
||||
".golangci.yml",
|
||||
".semgrepignore",
|
||||
"Dockerfile",
|
||||
"Makefile",
|
||||
"README.md",
|
||||
"agents_example.md",
|
||||
"build.sh",
|
||||
"go.mod",
|
||||
"go.sum",
|
||||
"index.html",
|
||||
"internal/collector/collector.go",
|
||||
"internal/collector/collector_test.go",
|
||||
"internal/collector/handlers.go",
|
||||
"internal/storage/file_store.go",
|
||||
"internal/storage/file_store_test.go",
|
||||
"internal/storage/store.go",
|
||||
"internal/websocket/server.go",
|
||||
"k8s/deployment.yaml",
|
||||
"k8s/ingress.yaml",
|
||||
"k8s/service.yaml",
|
||||
"semgrep-results.json",
|
||||
"semgrep-rules.yml",
|
||||
"test.sh"
|
||||
]
|
||||
},
|
||||
"time": {
|
||||
"rules": [],
|
||||
"rules_parse_time": 6.65862512588501,
|
||||
"profiling_times": {
|
||||
"config_time": 7.022655010223389,
|
||||
"core_time": 7.331943988800049,
|
||||
"ignores_time": 0.0019888877868652344,
|
||||
"total_time": 14.365644931793213
|
||||
},
|
||||
"parsing_time": {
|
||||
"total_time": 0.0,
|
||||
"per_file_time": {
|
||||
"mean": 0.0,
|
||||
"std_dev": 0.0
|
||||
},
|
||||
"very_slow_stats": {
|
||||
"time_ratio": 0.0,
|
||||
"count_ratio": 0.0
|
||||
},
|
||||
"very_slow_files": []
|
||||
},
|
||||
"scanning_time": {
|
||||
"total_time": 0.3914341926574707,
|
||||
"per_file_time": {
|
||||
"mean": 0.005436586009131538,
|
||||
"std_dev": 0.0003555799509652799
|
||||
},
|
||||
"very_slow_stats": {
|
||||
"time_ratio": 0.0,
|
||||
"count_ratio": 0.0
|
||||
},
|
||||
"very_slow_files": []
|
||||
},
|
||||
"matching_time": {
|
||||
"total_time": 0.0,
|
||||
"per_file_and_rule_time": {
|
||||
"mean": 0.0,
|
||||
"std_dev": 0.0
|
||||
},
|
||||
"very_slow_stats": {
|
||||
"time_ratio": 0.0,
|
||||
"count_ratio": 0.0
|
||||
},
|
||||
"very_slow_rules_on_files": []
|
||||
},
|
||||
"tainting_time": {
|
||||
"total_time": 0.0,
|
||||
"per_def_and_rule_time": {
|
||||
"mean": 0.0,
|
||||
"std_dev": 0.0
|
||||
},
|
||||
"very_slow_stats": {
|
||||
"time_ratio": 0.0,
|
||||
"count_ratio": 0.0
|
||||
},
|
||||
"very_slow_rules_on_defs": []
|
||||
},
|
||||
"fixpoint_timeouts": [],
|
||||
"prefiltering": {
|
||||
"project_level_time": 0.0,
|
||||
"file_level_time": 0.0,
|
||||
"rules_with_project_prefilters_ratio": 0.0,
|
||||
"rules_with_file_prefilters_ratio": 0.9292490118577075,
|
||||
"rules_selected_ratio": 0.1324110671936759,
|
||||
"rules_matched_ratio": 0.1324110671936759
|
||||
},
|
||||
"targets": [],
|
||||
"total_bytes": 0,
|
||||
"max_memory_bytes": 11722574784
|
||||
},
|
||||
"engine_requested": "OSS",
|
||||
"interfile_languages_used": [],
|
||||
"skipped_rules": [],
|
||||
"profiling_results": []
|
||||
}
|
||||
Reference in New Issue
Block a user