Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency grafeas to v0.4.0 #3172

Merged
merged 3 commits into from
May 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion container_registry/container_analysis/requirements.txt
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
4 changes: 2 additions & 2 deletions container_registry/container_analysis/samples.py
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
4 changes: 2 additions & 2 deletions container_registry/container_analysis/samples_test.py
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