Use scan ID as written in the GUI as identifier for the report
This commit is contained in:
1 parent
a154dc927e
commit
fb0611dd5d
3 files changed
+143
-9
No files matched your search
@@ -77,7 +77,7 @@ def generate(properties: GenerateProperties) -> GeneratedReport:
|
||||
|
||||
context.logger.info(f"Report written to {destination} ✔")
|
||||
|
||||
return GeneratedReport(scan_id=properties.scan_id, path=destination, size=len(content))
|
||||
return GeneratedReport(scan_id=sources.scan_id, path=destination, size=len(content))
|
||||
|
||||
|
||||
def _destination(path: Path | None, name: str) -> Path:
|
||||
|
||||
Reference in new issue
Block a user