This repository has been archived by the owner on Dec 31, 2023. It is now read-only.
AttributeError: 'effective_severity' #47
Labels
api: containeranalysis
Issues related to the googleapis/python-containeranalysis API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
🚨
This issue needs some love.
type: question
Request for information or clarification. Not an issue.
python-containeranalysis/samples/snippets/samples.py
Line 370 in 9d2f3a1
Hello!
When I use
v.effective_severity
, the script raise this error:I had it fixed by changing
v.effective_severity
intov.vulnerability.effective_severity
because the effective_severity object is inside vulnerability, as seen in:If this is correct, it may also need to update the documentation that reference it (if not done automatically):
https://cloud.google.com/container-registry/docs/tutorial-vulnerability-scan?#listing_high-severity_vulnerabilities
The text was updated successfully, but these errors were encountered: