Skip to content

Commit

Permalink
Raise proper error in case k8s host not found
Browse files Browse the repository at this point in the history
- Added RoleNotFound error message in case host not exist for hostId
- Fixed bug when creating InjectClientCert inside log write command
- Added UT
  • Loading branch information
mbenita-Cyberark committed Feb 22, 2021
1 parent 4359d63 commit 27193bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [Unreleased]
### Changed
- Conjur now raises a RoleNotFound when trying to authenticate a non-existing host in authn-k8s
[conjurinc/appliance#1546]https://github.com/conjurinc/appliance/issues/1546
[cyberark/conjur#2046](https://github.com/cyberark/conjur/issues/2046)

## [1.11.2] - 2021-02-02
### Added
Expand Down
1 change: 1 addition & 0 deletions app/domain/authentication/authn_k8s/inject_client_cert.rb
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ def audit_failure(err)
)
)
end

# TODO: this logic is taken from app/models/audit/event/authn.rb.
# We should use that logic here.
# Masking role if it doesn't exist to avoid audit pollution
Expand Down

0 comments on commit 27193bb

Please sign in to comment.