Michael Hohn
8ad69a503b
Reduce zero results from error to warning
2022-08-11 16:26:07 -07:00
Michael Hohn
38af30ead9
Switch numpy.datetime64() to numpy.dtype('M') to get working equality comparison
2022-08-10 17:33:44 -07:00
Michael Hohn
505ee8ea66
Export column types for scan-related pandas tables
2022-08-08 16:48:17 -07:00
Michael Hohn
560b9ecf35
Enforce types when forming the scan tables (internal and output formatting)
...
Force all column types to ensure appropriate formatting for writing. In
particular, no character data in place of integers, no floats, no
objects in place of strings.
Table formation for the functions
- st.joins_for_results
- st.joins_for_scans
- st.joins_for_projects
enforces types.
2022-08-07 19:04:13 -07:00
Michael Hohn
741be0cfe1
Include project table in output of sarif-extract-scans; add commit_id to scans table
2022-06-02 16:45:04 -07:00
Michael Hohn
fd55969b76
fix: special concatenation case for empty tables
2022-06-01 17:44:50 -07:00
Michael Hohn
32413984e2
fix: only concatenate non-empty tables to suppress float conversion
2022-06-01 17:34:56 -07:00
Michael Hohn
82a8e7a6dc
fix: set id and scan_id type to uint64 to suppress float conversion
2022-06-01 13:00:37 -07:00
Michael Hohn
eb8e2f18e9
Initial version of sarif-extract-scans, to be tested
...
Running
cd ~/local/sarif-cli/data/treeio
sarif-extract-scans scan-spec-0.json test-scan
produces the 2 derived and one sarif-based table (codeflows.csv):
ls test-scan/
codeflows.csv results.csv scans.csv
Adding -r via
sarif-extract-scans -r scan-spec-0.json test-scan
writes all tables:
ls test-scan/
artifacts.csv kind_pathproblem.csv project.csv results.csv scans.csv
codeflows.csv kind_problem.csv relatedLocations.csv rules.csv
2022-05-16 18:58:53 -07:00
Michael Hohn
154b0bdc56
WIP: assemble derived 'results' table
2022-05-13 17:01:18 -07:00