Skip to content

Commit

Permalink
chore(deps): update dependency grafeas to v0.4.0 [(#3172)](GoogleClou…
Browse files Browse the repository at this point in the history
…dPlatform/python-docs-samples#3172)

* Update dependency grafeas to v0.4.0

* follow the field name changes

Co-authored-by: Leah E. Cole <6719667+leahecole@users.noreply.github.com>
Co-authored-by: Takashi Matsuo <tmatsuo@google.com>
  • Loading branch information
3 people authored and busunkim96 committed Aug 7, 2020
1 parent 2a2a7b2 commit 599cd60
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
google-cloud-pubsub==1.4.3
google-cloud-containeranalysis==0.3.1
grafeas==0.1.0
grafeas==0.4.0
pytest==5.3.0; python_version > "3.0"
pytest==4.6.6; python_version < "3.0"
flaky==3.6.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def create_note(note_id, project_id):
{
'affected_cpe_uri': 'your-uri-here',
'affected_package': 'your-package-here',
'min_affected_version': {
'affected_version_start': {
'kind': Version.VersionKind.MINIMUM
},
'fixed_version': {
Expand Down Expand Up @@ -88,7 +88,7 @@ def create_occurrence(resource_url, note_id, occurrence_project, note_project):
{
'affected_cpe_uri': 'your-uri-here',
'affected_package': 'your-package-here',
'min_affected_version': {
'affected_version': {
'kind': Version.VersionKind.MINIMUM
},
'fixed_version': {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def test_find_high_severity_vulnerabilities(self):
{
'affected_cpe_uri': 'your-uri-here',
'affected_package': 'your-package-here',
'min_affected_version': {
'affected_version_start': {
'kind': Version.VersionKind.MINIMUM
},
'fixed_version': {
Expand All @@ -288,7 +288,7 @@ def test_find_high_severity_vulnerabilities(self):
{
'affected_cpe_uri': 'your-uri-here',
'affected_package': 'your-package-here',
'min_affected_version': {
'affected_version': {
'kind': Version.VersionKind.MINIMUM
},
'fixed_version': {
Expand Down

0 comments on commit 599cd60

Please sign in to comment.