You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.
ETA for completion of this epic: Feb 21, 2019
Confidence level of ETA accuracy: 75%
Objective
Organizations using the service broker may find it difficult to entitle applications to access Conjur resources at scale since the host ID in Conjur is unknown until the application is pushed to CF and bound to a Conjur service instance. However, if an organization pre-creates the org and spaces that the applications will be deployed to, they will know in advance what the org / space GUIDs are where the app will be deployed and will be able to grant privilege to access Conjur resources to apps that will be deployed to that org and/or space.
Happily, PCF updated their service broker functionality as of Version 2.0 so that on a bind request the service broker is sent the org and space GUIDs. In light of this, we will revise the service broker's response to a bind request to include adding the host identity to layers for the org and space (with IDs given by the org/space GUIDs). We expect this will make it easier to manage privilege for CF applications in Conjur at scale while maintaining segregation of duties.
Open questions:
Is org/space in the bind context only available in PCF? If this is also available in CF, what versions of CF support org/space information supplied on bind?
Org / space in context was added to CF in this commit and added to the CAPI release in this commit
Supported as of CAPI 1.30.0 (confirmed by CF dev team) which is used in PCF 1.12.0+
Other notes: support for OSB 2.13 was only added in CAPI 1.43.0 - we likely can't support CF instances using an earlier version
Are the org/space GUIDs supplied on bind those of the service instance or of the application? If it is the org/space of the service instance, we may want to specifically advise users to provision a service instance per org/space for our SB.
Supported versions for update:
Conjur Versions Supported by Update: EE 5.0+, OSS 1.0+
PCF Versions Supported by Update: 1.12+
CF Versions Supported by Update:
To use the auto org/space functionality your CF installation must have CAPI 1.30.0+
To use multi-buildpack functionality your CF installation must have Diego 1.15.3+ and you must use CF CLI 6.38+
To use OSB API 2.13 compatible service brokers, your CF installation should have CAPI 1.43.0+
Version 2.0.0 of the buildpack has the limitation that it only supports Spring Boot versions less than 1.4 (eg versions that place configuration stored in src/main/resources in root at build time)
jvanderhoof
changed the title
On bind, hosts are added to org and space layers
Cloud Foundry hosts are automatically added to the appropriate organization and space layer
Nov 19, 2018
Copied from duplicate issue conjurinc/appliance#507
For PCF 2.0 and above, hosts need to be add-able to predictable layers in Conjur that correspond to org & space (using meta-data sent with the bind request).
Without a solution, Conjur becomes a very unwieldy manual process that cannot work at scale.
See 365 doc "Cloud Foundry" / "PCF Scalability Conversation Notes" for more details.
Copied from duplicate issue conjurinc/appliance#507
For PCF 2.0 and above, hosts need to be add-able to predictable layers in Conjur that correspond to org & space (using meta-data sent with the bind request).
Without a solution, Conjur becomes a very unwieldy manual process that cannot work at scale.
See 365 doc "Cloud Foundry" / "PCF Scalability Conversation Notes" for more details.
micahlee
changed the title
Cloud Foundry hosts are automatically added to the appropriate organization and space layer
Cloud Foundry Application Entitlement is Scalable
Jan 24, 2019
ETA for completion of this epic: Feb 21, 2019
Confidence level of ETA accuracy: 75%
Objective
Organizations using the service broker may find it difficult to entitle applications to access Conjur resources at scale since the host ID in Conjur is unknown until the application is pushed to CF and bound to a Conjur service instance. However, if an organization pre-creates the org and spaces that the applications will be deployed to, they will know in advance what the org / space GUIDs are where the app will be deployed and will be able to grant privilege to access Conjur resources to apps that will be deployed to that org and/or space.
Happily, PCF updated their service broker functionality as of Version 2.0 so that on a bind request the service broker is sent the org and space GUIDs. In light of this, we will revise the service broker's response to a bind request to include adding the host identity to layers for the org and space (with IDs given by the org/space GUIDs). We expect this will make it easier to manage privilege for CF applications in Conjur at scale while maintaining segregation of duties.
Open questions:
Supported versions for update:
Conjur Versions Supported by Update: EE 5.0+, OSS 1.0+
PCF Versions Supported by Update: 1.12+
CF Versions Supported by Update:
src/main/resources
in root at build time)Story Breakdown
Preparation
Development
profile.d
directory cloudfoundry-conjur-buildpack#22 - Buildpack usesprofile.d
directoryCONJUR_FOLLOWER_URL
handles empty values #88 -CONJUR_FOLLOWER_URL
handles empty valuesDemonstration
Documentation
Release
XA
Future work:
app-guid
to identify bind!host
rather thanbinding_id
#85 - Consider usingapp-guid
to identify bind!host
rather thanbinding_id
The text was updated successfully, but these errors were encountered: