Skip to content

Commit

Permalink
Temp commit
Browse files Browse the repository at this point in the history
Signed-off-by: Prabhu Subramanian <[email protected]>
  • Loading branch information
prabhu committed Feb 4, 2024
1 parent fe63d3a commit f2c9a75
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions blint/android.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,25 @@ def collect_files_metadata(app_file):
"group": group,
"name": name,
"version": version_data,
"srcFile": vf,
"appFile": app_file,
"purl": f"pkg:maven/{group}/{name}@{version_data}",
"bom-ref": f"pkg:maven/{group}/{name}@{version_data}",
"scope": "required",
"evidence": {
"identity": {
"field": "purl",
"confidence": 1,
"methods": [
{
"technique": "manifest-analysis",
"value": file_name,
}
],
}
},
"properties": [
{"name": "internal:srcFile", "value": vf},
{"name": "internal:appFile", "value": app_file},
],
}
)
shutil.rmtree(app_temp_dir, ignore_errors=True)
Expand Down

0 comments on commit f2c9a75

Please sign in to comment.