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

Pact poc2 #3001

Open
wants to merge 86 commits into
base: concur-cloud
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
20c4cbd
Modify base for cloud pseudo-fork
ismarc Jan 18, 2023
fa04d02
Modify image name to indicate cloud
ismarc Jan 20, 2023
4e53a08
Adjust to do full builds on conjur-cloud branch
ismarc Jan 20, 2023
9f41997
Comment out k8s+ldap in jenkins file
NofarVered Feb 20, 2023
fab7e62
Edge new endpoint
aloncarmel111 Feb 2, 2023
3cf102e
ONYX-32182: Secret Retrieval endpoint - productization
amosmintzcyberark Feb 14, 2023
1512e2a
ONYX-34602: Change edge group name
amosmintzcyberark Mar 6, 2023
b19efb1
Merge branch 'master' into conjur-cloud
Mar 13, 2023
8b5fa9b
Update code owners to Jenia
Mar 13, 2023
0db53a0
Merge pull request #2743 from cyberark/conjur-cloud-code-owners
jeniaSakirko Mar 13, 2023
e15ba98
ONYX-0000: Change edge api count parameter logic
amosmintzcyberark Mar 12, 2023
7516881
edge smoke tests
amosmintzcyberark Mar 14, 2023
e6c343e
Merge pull request #2746 from cyberark/ONYX-34872
amosmintzcyberark Mar 14, 2023
159c38c
add get slosilo key endpoint
sofiadimant1 Mar 12, 2023
4a84dcb
Merge pull request #2745 from cyberark/sofia/slosilokey_endpoint
sofiadimant1 Mar 15, 2023
9dcc04a
add get slosilo key to changelog
sofiadimant1 Mar 15, 2023
cc26e58
Merge pull request #2747 from cyberark/sofia/slosilo_key
sofiadimant1 Mar 15, 2023
fa5edfb
Add conjur cloud team as codeowners
Mar 16, 2023
56f6669
Merge pull request #2749 from cyberark/update_codeowners
jeniaSakirko Mar 19, 2023
26c5c96
Bump rack from 2.2.6.3 to 2.2.6.4
dependabot[bot] Mar 16, 2023
24980d3
Bump activesupport from 7.0.4.2 to 7.0.4.3 in /docs
dependabot[bot] Mar 16, 2023
cb192d7
Update changelog for 0.0.6
Mar 19, 2023
c52375c
Merge pull request #2754 from cyberark/merge_master_mar_19
jeniaSakirko Mar 20, 2023
4be1fbe
Merge branch 'master' into merge_master_mar_27
Mar 27, 2023
19aecd5
Update changelog with 0.0.7-cloud
Mar 27, 2023
d4a0a8d
Merge pull request #2759 from cyberark/merge_master_mar_27
jeniaSakirko Mar 28, 2023
c9826ab
Merge branch 'master' into cloud_merge_master_apr_4
Apr 4, 2023
2092440
Merge pull request #2767 from cyberark/cloud_merge_master_apr_4
jeniaSakirko Apr 4, 2023
4179a7a
add logs to edge endpoint
sofiadimant1 Apr 3, 2023
447a65a
Merge pull request #2765 from cyberark/sofia/add_logs
jeniaSakirko Apr 4, 2023
1d1ffbb
Merge branch 'master' into conjur-cloud-merge-master-17-apr
Apr 17, 2023
29bfa51
Merge pull request #2777 from cyberark/conjur-cloud-merge-master-17-apr
jeniaSakirko Apr 17, 2023
c49d97c
add edge-hosts endpoint
sofiadimant1 Apr 18, 2023
2979853
Merge pull request #2787 from cyberark/sofia/edge_edge-hosts_endpoint
sofiadimant1 Apr 30, 2023
4ea88b8
edge hmac_api_key + test
amosmintzcyberark Apr 19, 2023
46fddd2
Merge pull request #2782 from cyberark/ONYX-35892
amosmintzcyberark May 1, 2023
df5f904
Merge branch 'master' into conjur-cloud-merge-master-08-may
May 8, 2023
0d395ff
Merge pull request #2795 from cyberark/conjur-cloud-merge-master-08-may
jeniaSakirko May 9, 2023
f17e48e
ONYX-37465: refactor hmac_api_key
amosmintzcyberark May 9, 2023
82e42dd
Merge pull request #2797 from cyberark/conjur-cloud-hmac-rfact
amosmintzcyberark May 9, 2023
359987c
new varsion in CHANGELOG.md
NofarVered May 9, 2023
2ea71da
testing base 64
NofarVered May 9, 2023
8b19dad
add base64 encode in all_secrets function
NofarVered May 9, 2023
6081257
ONYX-35742 : pull request #2798 from cyberark/base64-get-all-secrets
nofarNahum May 9, 2023
156fe13
implementation of health end point with tests
yoavgeva May 9, 2023
7d222b4
Merge pull request #2799 from cyberark/health-end-point
yoavgeva May 10, 2023
75c6d88
remove edge-hosts endpoint for edge
sofiadimant1 May 17, 2023
4ffbc9c
add change to CHANGELOG.md
sofiadimant1 May 17, 2023
1e6db0d
Merge pull request #2794 from cyberark/sofia/remove_edge-hosts_endpoint
sofiadimant1 May 17, 2023
db99844
ONYX-37450: user name to be compare as lowercase
amosmintzcyberark May 21, 2023
64eb271
Merge pull request #2810 from cyberark/onyx-37450
amosmintzcyberark May 22, 2023
27ade17
support secrets versions
yoavgeva May 22, 2023
dcdc1ae
Merge pull request #2812 from cyberark/support-secrets-version
yoavgeva May 22, 2023
cc67186
Improve DB queries for edge
oburstein-hub Apr 23, 2023
13b3ac9
Merge pull request #2811 from cyberark/edge-indexing
egvili May 28, 2023
f7b129f
Merge branch 'master' into conjur-cloud-merge-master-28-may
sofiadimant1 May 28, 2023
5e0353f
Merge pull request #2821 from cyberark/conjur-cloud-merge-master-28-may
sofiadimant1 May 29, 2023
1d10860
fix permissions list format in secrets endpoint
sofiadimant1 May 31, 2023
dca5d4f
Merge pull request #2823 from cyberark/sofia/fix_format_in_secrets_en…
sofiadimant1 May 31, 2023
144bf5d
Change Slosilo id regex in token
sofiadimant1 May 24, 2023
86afd71
Merge pull request #2822 from cyberark/sofia/conjur-rack-slosilo-id-r…
sofiadimant1 Jun 4, 2023
1fd1573
Change token factory to sign with host/user signing key
sofiadimant1 May 17, 2023
c4a5342
Add slosilo hosts and users keys with DB migrate script
sofiadimant1 May 18, 2023
165d001
Change account class and account.rake to support hosts and users slos…
sofiadimant1 May 17, 2023
a6f9b99
Change edge slosilo endpoint to return only hosts slosilo keys
sofiadimant1 May 17, 2023
10e1d4a
Modify authn-local
sofiadimant1 May 17, 2023
58307a1
Modify cucumber tests to use solislo keys for users and hosts
sofiadimant1 May 17, 2023
6c6f4a7
Modify rspec tests to use solislo keys for users and hosts
sofiadimant1 May 17, 2023
b3e86b6
Edit changelog
sofiadimant1 May 22, 2023
ca7c0ae
Merge pull request #2806 from cyberark/sofia/Slosilo_key_for_hosts_an…
sofiadimant1 Jun 5, 2023
2ca6485
Fix No continuation in replication when an error occurs
yoavgeva Jun 1, 2023
9c31f1e
Merge pull request #2824 from cyberark/fix-no-continiuation
yoavgeva Jun 5, 2023
91a6fc1
Close connections by canceling unused tasks
egvili Jun 5, 2023
c4b9802
Merge pull request #2825 from cyberark/less-connections
egvili Jun 8, 2023
723f5ba
Fixed base image till RDS is upgraded
egvili Jun 18, 2023
38c9502
Merge pull request #2831 from cyberark/fixed-base-image
egvili Jun 21, 2023
8a63475
Pull slosilo library to Conjur
sofiadimant1 Jun 21, 2023
2dac589
Modify changelog and jenkins file
sofiadimant1 Jun 21, 2023
851c244
Merge pull request #2832 from cyberark/sofia/pull_slosilo_library_to_…
sofiadimant1 Jun 21, 2023
1c3c799
Add :current to slosilo id - db migrate
sofiadimant1 Jun 14, 2023
42e3574
Add :current to slosilo id
sofiadimant1 Jun 14, 2023
334ec20
Merge pull request #2828 from cyberark/sofia/slosilo_id_current_and_p…
sofiadimant1 Jun 21, 2023
4806f5d
Add update slosilo key
sofiadimant1 Jun 21, 2023
f84c32d
Merge pull request #2834 from cyberark/sofia/add_update_slosilo_key
sofiadimant1 Jun 22, 2023
b7b73d4
start pact poc
yoavgeva Jun 1, 2023
031bab7
pact progress 2
yoavgeva Jun 22, 2023
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
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,14 @@ coverage
demo
dev
docker
gems/slosilo/Gemfile.lock
gems/slosilo/spec/reports
log
package
run
spec/reports
spec/reports-audit

tmp

# Ignore directories that are only relevant in gh
Expand Down
11 changes: 1 addition & 10 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,10 +1 @@
* @cyberark/conjur-core-team @conjurinc/conjur-core-team @conjurdemos/conjur-core-team

# Changes to .trivyignore require Security Architect approval
.trivyignore @cyberark/security-architects @conjurinc/security-architects @conjurdemos/security-architects

# Changes to .codeclimate.yml require Quality Architect approval
.codeclimate.yml @cyberark/quality-architects @conjurinc/quality-architects @conjurdemos/quality-architects

# Changes to SECURITY.md require Security Architect approval
SECURITY.md @cyberark/security-architects @conjurinc/security-architects @conjurdemos/security-architects
* @jeniaSakirko @cyberark/ConjurCloud
20 changes: 20 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,24 @@ conjur_git_commit
# AuthnOIDC V2 w/ Identity setup
dev/policies/authenticators/authn-oidc/identity-users.yml

gem/slosilo/*.gem
gem/slosilo/*.rbc
gem/slosilo/.bundle
gem/slosilo/.yardoc
gem/slosilo/InstalledFiles
gem/slosilo/_yardoc
gem/slosilo/coverage
gem/slosilo/doc/
gem/slosilo/lib/bundler/man
gem/slosilo/pkg
gem/slosilo/rdoc
gem/slosilo/spec/reports
gem/slosilo/test/tmp
gem/slosilo/test/version_tmp
gem/slosilo/tmp
gem/slosilo/.rvmrc
gem/slosilo/.project
gem/slosilo/.kateproject.d
gem/slosilo/.idea

VERSION
72 changes: 71 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,76 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Nothing should go in this section, please add to the latest unreleased version
(and update the corresponding date), or add a new version.

## [1.0.1-cloud] - 2023-06-21
### Changed
- Improve DB connection usage https://ca-il-jira.il.cyber-ark.com:8443/browse/ONYX-34591
- Pull Slosilo library to Conjur
- Change Slosilo id from "authn:account:host/user" to "authn:account:host/user:current"
- Add update slosilo key option to slosilo put key function

## [1.0.0-cloud] - 2023-06-07
### Changed
- Improve DB queries for Edge https://ca-il-jira.il.cyber-ark.com:8443/browse/ONYX-37081
- Change Slosilo id regex to support: authn:conjur:user/host in addition to authn:conjur
- Split Slosilo key for hosts and users
- Fix No continuation in replication when an error occurs https://ca-il-jira.il.cyber-ark.com:8443/browse/ONYX-35741

## [0.0.11-cloud] - 2023-05-24
### Changed
- Remove edge-hosts for edge endpoint
- oidc user name to be compare as lowercase https://ca-il-jira.il.cyber-ark.com:8443/browse/ONYX-37450
- Support versions field in all secrets endpoint https://ca-il-jira.il.cyber-ark.com:8443/browse/ONYX-37056

## [0.0.10-cloud] - 2023-05-16
### Added
- Implementation health endpoint
https://ca-il-jira.il.cyber-ark.com:8443/browse/ONYX-37338

## [0.0.9-cloud] - 2023-05-09
### Added
- Add an option to get all secrets from edge api with encode bse64, by Accept-Encoding header
https://ca-il-jira.il.cyber-ark.com:8443/browse/ONYX-35742

## [0.0.8-cloud] - 2023-04-30
### Added
- New edge-hosts endpoints for edge
- Api change. Host API key is return as hashed
https://ca-il-jira.il.cyber-ark.com:8443/browse/ONYX-35892

## [0.0.7-cloud] - 2023-03-27
### Changed
- Merge from master 2023-03-27 to 2023-03-26

## [0.0.6-cloud] - 2023-03-19
### Security
- Updated github-pages version in docs/Gemfile to allow upgrading activesupport
to v7.0.4.2 to resolve CVE-2022-22796
[cyberark/conjur#2729](https://github.com/cyberark/conjur/pull/2729)
- Upgraded rack to v2.2.6.3 to resolve CVE-2023-27530
[cyberark/conjur#2739](https://github.com/cyberark/conjur/pull/2739)
- Upgraded rack to v2.2.6.4 to resolve CVE-2023-27539
[cyberark/conjur#2750](https://github.com/cyberark/conjur/pull/2750)

## [0.0.5-cloud] - 2023-03-15
### Changed
- Add get SlosiloKey api

## [0.0.4-cloud] - 2023-03-12
### Changed
- Change count=true not to consider limit and sum all

## [0.0.3-cloud] - 2023-03-06
### Changed
- Change edge group name

## [0.0.2-cloud] - 2023-03-06
### Added
- Edge host endpoint and secret endpoint

## [0.0.1-cloud] - 2022-01-13
### Changed
- Remove auto-release options to allow for a pseudo-fork development on a branch

## [1.19.5] - 2023-05-16

### Security
Expand Down Expand Up @@ -64,7 +134,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
[cyberark/conjur#2739](https://github.com/cyberark/conjur/pull/2739)
- Upgraded rack to v2.2.6.4 to resolve CVE-2023-27539
[cyberark/conjur#2750](https://github.com/cyberark/conjur/pull/2750)
- Updated nokogiri to 1.14.3 for CVE-2023-29469 and CVE-2023-28484 and rails to
- Updated nokogiri to 1.14.3 for CVE-2023-29469 and CVE-2023-28484 and rails to
6.1.7.3 for CVE-2023-28120 in Gemfile.lock, nokogiri to 1.1.4.3 for CVE-2023-29469
and commonmarker to 0.23.9 for CVE-2023-24824 and CVE-2023-26485 in docs/Gemfile.lock
(all Medium severity issues flagged by Dependabot)
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM cyberark/ubuntu-ruby-fips:latest
FROM cyberark/ubuntu-ruby-fips:2.0.7-618

ENV DEBIAN_FRONTEND=noninteractive \
PORT=80 \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.test
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG VERSION=latest
FROM conjur:${VERSION}
FROM conjur-cloud:${VERSION}

RUN bundle --no-deployment --without ''
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ gem 'bcrypt'
gem 'gli', require: false
gem 'listen'
gem 'rexml', '~> 3.2'
gem 'slosilo', '~> 3.0'
gem 'slosilo', path: 'gems/slosilo'

# Explicitly required as there are vulnerabilities in older versions
gem "ffi", ">= 1.9.24"
Expand Down Expand Up @@ -99,6 +99,7 @@ group :development, :test do
gem 'rspec-core'
gem 'rspec-rails'
gem 'ruby-debug-ide'
gem 'pact'

# We use a post-coverage hook to sleep covered processes until we're ready to
# collect the coverage reports in CI. Because of this, we don't want bundler
Expand Down
43 changes: 41 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ PATH
activesupport (>= 4.2)
safe_yaml

PATH
remote: gems/slosilo
specs:
slosilo (3.0.1)

GEM
remote: https://rubygems.org/
specs:
Expand Down Expand Up @@ -89,6 +94,7 @@ GEM
thor (~> 1.0)
ast (2.4.2)
attr_required (1.0.1)
awesome_print (1.9.2)
aws-eventstream (1.2.0)
aws-partitions (1.553.0)
aws-sdk-core (3.126.0)
Expand Down Expand Up @@ -211,13 +217,17 @@ GEM
event_emitter (0.2.6)
eventmachine (1.2.7)
excon (0.91.0)
expgen (0.1.1)
parslet
faye-websocket (0.11.1)
eventmachine (>= 0.12.0)
websocket-driver (>= 0.5.1)
ffi (1.15.4)
ffi-compiler (1.0.1)
ffi (>= 1.0.0)
rake
filelock (1.1.1)
find_a_port (1.0.1)
gli (2.21.0)
globalid (1.1.0)
activesupport (>= 5.0)
Expand Down Expand Up @@ -245,6 +255,7 @@ GEM
activesupport (>= 4.2.0)
multi_json (>= 1.2)
jmespath (1.6.1)
json (2.6.3)
json-jwt (1.13.0)
activesupport (>= 4.2)
aes_key_wrap
Expand Down Expand Up @@ -308,9 +319,32 @@ GEM
validate_email
validate_url
webfinger (>= 1.0.1)
pact (1.63.0)
pact-mock_service (~> 3.0, >= 3.3.1)
pact-support (~> 1.16, >= 1.16.9)
rack-test (>= 0.6.3, < 3.0.0)
rspec (~> 3.0)
term-ansicolor (~> 1.0)
thor (>= 0.20, < 2.0)
webrick (~> 1.3)
pact-mock_service (3.11.1)
filelock (~> 1.1)
find_a_port (~> 1.0.1)
json
pact-support (~> 1.16, >= 1.16.4)
rack (~> 2.0)
rspec (>= 2.14)
thor (>= 0.19, < 2.0)
webrick (~> 1.3)
pact-support (1.17.0)
awesome_print (~> 1.9)
diff-lcs (~> 1.4)
expgen (~> 0.1)
term-ansicolor (~> 1.0)
parallel (1.21.0)
parser (3.0.3.2)
ast (~> 2.4.1)
parslet (2.0.0)
pg (1.2.3)
powerpack (0.1.3)
pry (0.13.1)
Expand Down Expand Up @@ -440,7 +474,6 @@ GEM
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)
slosilo (3.0.1)
spring (2.1.0)
spring-commands-cucumber (1.0.1)
spring (>= 0.9.1)
Expand All @@ -457,11 +490,16 @@ GEM
activesupport (>= 3)
attr_required (>= 0.0.5)
httpclient (>= 2.4)
sync (0.5.0)
sys-uname (1.2.2)
ffi (~> 1.1)
table_print (1.5.7)
term-ansicolor (1.7.1)
tins (~> 1.0)
thor (1.2.1)
timeout (0.3.2)
tins (1.32.1)
sync
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unf (0.1.4)
Expand Down Expand Up @@ -535,6 +573,7 @@ DEPENDENCIES
net-ssh
nokogiri (>= 1.8.2)
openid_connect
pact
parallel
pg
pry-byebug
Expand All @@ -561,7 +600,7 @@ DEPENDENCIES
sequel-postgres-schemata
sequel-rails
simplecov
slosilo (~> 3.0)
slosilo!
spring
spring-commands-cucumber
spring-commands-rspec
Expand Down
Loading