cirro-ruby-client 2.6.3 → 2.6.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +5 -5
- data/Gemfile.lock +1 -1
- data/lib/cirro_io/client/version.rb +1 -1
- data/lib/cirro_io_v2/resources/notification_topic_preference.rb +10 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d251b444388c5e2d6d554ac29fbb904304412661803964195a01bed6e693c95
|
4
|
+
data.tar.gz: f3676ac3e8b62ec4510e0adfd42e9e57a62dc2dfce626da89dd7f3c44a070b18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61f42a633e867fa8aee8c543cd42aec449366a5fe1b23f54d18cca067c111a7780293359853f1baece3a173ca567181ddb31b444d3b2eedd8817389c0c7d5564
|
7
|
+
data.tar.gz: 6b36051530472cd6325353b8ae055ae205e03020f56c081b54a5b233d28fb3ce3429e3d72ec036fafcb3cbdf835bb58436db89abc6f7a2313091fa44de2ce781
|
data/.circleci/config.yml
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
version: 2.1
|
2
2
|
infra_container: &infra_container
|
3
|
-
|
3
|
+
us.gcr.io/oi-tset/swissknife@sha256:e8b74aab06de688b29c600785782a614efdaf2c20df7ef9b53b2b0276815fb0c
|
4
4
|
|
5
5
|
# Configure authentication in private registry
|
6
6
|
infra_container_registry_auth:
|
7
7
|
&infra_container_registry_auth
|
8
8
|
auth:
|
9
9
|
username: _json_key # default username when using a JSON key file to authenticate
|
10
|
-
password: $
|
10
|
+
password: $GOOGLE_JSON_KEY_OI_TSET
|
11
11
|
|
12
12
|
jobs:
|
13
13
|
test:
|
@@ -76,10 +76,10 @@ jobs:
|
|
76
76
|
- DEFECTDOJO_ENG_NAME: CircleCI Scan
|
77
77
|
steps:
|
78
78
|
- checkout
|
79
|
-
- run:
|
79
|
+
- run:
|
80
80
|
name: Setup access to GCP
|
81
81
|
command: |
|
82
|
-
echo $
|
82
|
+
echo $GOOGLE_JSON_KEY_OI_TSET > ${HOME}/gcloud-service-key.json && \
|
83
83
|
gcloud auth activate-service-account --key-file=${HOME}/gcloud-service-key.json
|
84
84
|
gcloud auth configure-docker
|
85
85
|
- run:
|
@@ -92,7 +92,7 @@ jobs:
|
|
92
92
|
command: |
|
93
93
|
export DEFECTDOJO_TOKEN=$(gcloud secrets versions access latest \
|
94
94
|
--secret="defectdojo_token" \
|
95
|
-
--project=
|
95
|
+
--project=oi-tset \
|
96
96
|
--quiet)
|
97
97
|
|
98
98
|
# Send Trivy filesystem scan
|
data/Gemfile.lock
CHANGED
@@ -9,6 +9,16 @@ module CirroIOV2
|
|
9
9
|
response = client.request_client.request(:get, resource_root, params:)
|
10
10
|
Responses::NotificationTopicPreferenceListResponse.new(response.body)
|
11
11
|
end
|
12
|
+
|
13
|
+
def create(params)
|
14
|
+
response = client.request_client.request(:post, resource_root, body: params)
|
15
|
+
Responses::NotificationTopicPreferenceResponse.new(response.body)
|
16
|
+
end
|
17
|
+
|
18
|
+
def update(id, params)
|
19
|
+
response = client.request_client.request(:post, "#{resource_root}/#{id}", body: params)
|
20
|
+
Responses::NotificationTopicPreferenceResponse.new(response.body)
|
21
|
+
end
|
12
22
|
end
|
13
23
|
end
|
14
24
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cirro-ruby-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.
|
4
|
+
version: 2.6.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cirro Dev Team
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|