Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Cloud Foundry Application Entitlement is Scalable #62

Closed
23 of 27 tasks
izgeri opened this issue Nov 16, 2018 · 2 comments
Closed
23 of 27 tasks

Cloud Foundry Application Entitlement is Scalable #62

izgeri opened this issue Nov 16, 2018 · 2 comments

Comments

@izgeri
Copy link
Contributor

izgeri commented Nov 16, 2018

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)

Story Breakdown

Preparation

Development

Demonstration

Documentation

Release

  • Parent of conjurinc/cloudfoundry-conjur-tile#11 - Tile v1.0.0 is released

XA

Future work:

@izgeri izgeri self-assigned this Nov 16, 2018
@jvanderhoof 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
@izgeri
Copy link
Contributor Author

izgeri commented Nov 20, 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.

1 similar comment
@izgeri
Copy link
Contributor Author

izgeri commented Nov 20, 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.

@micahlee micahlee self-assigned this Nov 30, 2018
@micahlee 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
@garkler-zz garkler-zz added this to the 10.8 milestone Feb 13, 2019
@izgeri izgeri closed this as completed Mar 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants