conjur-api 6.0.1.pre.139 → 6.0.1.pre.252
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Dockerfile +1 -1
- data/Jenkinsfile +3 -0
- data/VERSION +1 -1
- data/dev/Dockerfile.dev +1 -1
- data/docker-compose.yml +1 -1
- data/example/demo.rb +1 -0
- data/kics.config +19 -0
- data/spec/api_spec.rb +1 -0
- data/test.sh +2 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22577611fe210bd567dc63cd774db6bf8b188b764a0ed1d2d7d954010266573c
|
4
|
+
data.tar.gz: 635aad92a4751e1f68f5e03c67bf571b0498572d040fddf6a2d530eb83bcfb99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98ffb236fb6e0862be09adb1b2d3e6a0ca85b754295888936c69f35674884605135a13c5355833b2cb8147f3e53a2875ec87db7faa937b94d5ef17d5153d1d7e
|
7
|
+
data.tar.gz: f6bf3cd58f3df2d0bc26a8f8e889b6fd80610d3225946f386954b7abeab4e183956e3c0fa28c1032b9b25605b0b9838931a0cd0a7cf814afa3391600f24bfbf1
|
data/Dockerfile
CHANGED
data/Jenkinsfile
CHANGED
@@ -82,6 +82,7 @@ pipeline {
|
|
82
82
|
stage('Test Ruby 3.0') {
|
83
83
|
environment {
|
84
84
|
RUBY_VERSION = '3.0'
|
85
|
+
INFRAPOOL_REGISTRY_URL = "registry.tld"
|
85
86
|
}
|
86
87
|
steps {
|
87
88
|
script {
|
@@ -99,6 +100,7 @@ pipeline {
|
|
99
100
|
stage('Test Ruby 3.1') {
|
100
101
|
environment {
|
101
102
|
RUBY_VERSION = '3.1'
|
103
|
+
INFRAPOOL_REGISTRY_URL = "registry.tld"
|
102
104
|
}
|
103
105
|
steps {
|
104
106
|
script {
|
@@ -116,6 +118,7 @@ pipeline {
|
|
116
118
|
stage('Test Ruby 3.2') {
|
117
119
|
environment {
|
118
120
|
RUBY_VERSION = '3.2'
|
121
|
+
INFRAPOOL_REGISTRY_URL = "registry.tld"
|
119
122
|
}
|
120
123
|
steps {
|
121
124
|
script {
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
6.0.1-
|
1
|
+
6.0.1-252
|
data/dev/Dockerfile.dev
CHANGED
data/docker-compose.yml
CHANGED
data/example/demo.rb
CHANGED
data/kics.config
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# All of the following issues are not a concern for the infrastructure files in this
|
2
|
+
# repository since they're only used in the build process or testing.
|
3
|
+
exclude-queries:
|
4
|
+
- 965a08d7-ef86-4f14-8792-4a3b2098937e # Apt Get Install Pin Version Not Defined
|
5
|
+
- fd54f200-402c-4333-a5a4-36ef6709af2f # Missing User Instruction
|
6
|
+
- ce76b7d0-9e77-464d-b86f-c5c48e03e22d # Container Capabilities Unrestricted
|
7
|
+
- 8c978947-0ff6-485c-b0c2-0bfca6026466 # Shared Volumes Between Containers
|
8
|
+
- 610e266e-6c12-4bca-9925-1ed0cd29742b # Security Opt Not Set
|
9
|
+
- b03a748a-542d-44f4-bb86-9199ab4fd2d5 # Healthcheck Instruction Missing
|
10
|
+
- 698ed579-b239-4f8f-a388-baa4bcb13ef8 # Healthcheck Not Set
|
11
|
+
- 451d79dc-0588-476a-ad03-3c7f0320abb3 # Container Traffic Not Bound To Host Interface
|
12
|
+
- df746b39-6564-4fed-bf85-e9c44382303c # Apt Get Install Lists Were Not Deleted
|
13
|
+
- 4f31dd9f-2cc3-4751-9b53-67e4af83dac0 # Host Namespace is Shared
|
14
|
+
- ce14a68b-1668-41a0-ab7d-facd9f784742 # Networks Not Set
|
15
|
+
|
16
|
+
# The following files are used for development and testing only.
|
17
|
+
exclude-paths:
|
18
|
+
- "conjur-api-ruby/docker-compose.yml"
|
19
|
+
- "conjur-api-ruby/dev/docker-compose.yml"
|
data/spec/api_spec.rb
CHANGED
@@ -146,6 +146,7 @@ describe Conjur::API do
|
|
146
146
|
let(:token_encoded) { Base64.strict_encode64(token.to_json) }
|
147
147
|
let(:base_headers) { { authorization: authz_header } }
|
148
148
|
let(:headers) { base_headers }
|
149
|
+
# deepcode ignore InsecureTransmission: This is test code
|
149
150
|
let(:resource) { RestClient::Resource.new("http://example.com", { headers: headers })}
|
150
151
|
context 'basic functioning' do
|
151
152
|
it_behaves_like 'it can clone itself'
|
data/test.sh
CHANGED
@@ -4,6 +4,8 @@
|
|
4
4
|
# My local RUBY_VERSION is set to ruby-#.#.# so this allows running locally.
|
5
5
|
RUBY_VERSION="$(cut -d '-' -f 2 <<< "$RUBY_VERSION")"
|
6
6
|
|
7
|
+
export REGISTRY_URL=${INFRAPOOL_REGISTRY_URL:-"docker.io"}
|
8
|
+
|
7
9
|
source ./ci/oauth/keycloak/keycloak_functions.sh
|
8
10
|
TOP_LEVEL=$(git rev-parse --show-toplevel)
|
9
11
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: conjur-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.0.1.pre.
|
4
|
+
version: 6.0.1.pre.252
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CyberArk Maintainers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -339,6 +339,7 @@ files:
|
|
339
339
|
- features/user.feature
|
340
340
|
- features/variable_fields.feature
|
341
341
|
- features/variable_value.feature
|
342
|
+
- kics.config
|
342
343
|
- lib/conjur-api.rb
|
343
344
|
- lib/conjur-api/version.rb
|
344
345
|
- lib/conjur/acts_as_resource.rb
|