Files
sarif-cli/sarif_cli/columns.py
Kristen Newbury 6b248d2474 Add missing columns to column order list
prev missing cols: source_location and sink_location
missing from prev patch
but were missing in problem only results case anyways
2023-06-02 16:22:18 -04:00

65 lines
1.5 KiB
Python

columns = {
"scans" : [
"id",
"commit_id",
"project_id",
"db_create_start",
"db_create_stop",
"scan_start_date",
"scan_stop_date",
"tool_name" ,
"tool_version" ,
"tool_query_commit_id",
"sarif_file_name" ,
"results_count" ,
"rules_count" ,
],
"results" : [
'id',
'scan_id',
'query_id',
'query_kind',
'query_precision',
'query_severity',
'query_tags',
'codeFlow_id',
'message' ,
'message_object' ,
'location' ,
'source_startLine',
'source_startCol',
'source_endLine' ,
'source_endCol' ,
'sink_startLine' ,
'sink_startCol',
'sink_endLine' ,
'sink_endCol' ,
'source_object' ,
'sink_object',
'source_location',
'sink_location'
],
"projects" : [
"id" ,
"project_name" ,
"creation_date",
"repo_url" ,
"primary_language" ,
"languages_analyzed"
],
"codeflows" : [
"codeflow_id",
"codeflow_index",
"threadflow_index",
"location_index",
"endColumn",
"endLine",
"startColumn",
"startLine",
"artifact_index",
"uri",
"uriBaseId",
"message"
]
}