Update how project_id is generated

previously relied on assumption:
naming like: <org>/<project> in
repositoryUri
now just uses full repositoryUri
This commit is contained in:
Kristen Newbury
2023-01-05 16:37:55 -05:00
parent fc2c6bac99
commit 1a915e4de8
4 changed files with 16 additions and 41 deletions

View File

@@ -130,17 +130,14 @@ scantabs = ScanTables()
@dataclass
class ExternalInfo:
project_id : int
project_id: pd.UInt64Dtype()
scan_id : pd.UInt64Dtype()
sarif_file_name : str
ql_query_id : str
external_info = ExternalInfo(
scan_spec["project_id"],
pd.NA,
scan_spec["scan_id"],
scan_spec["sarif_file_name"],
# TODO: Take ql_query_id from where? (git commit id of the ql query set)
'deadbeef00',
scan_spec["sarif_file_name"]
)
#