Skip to content

Latest commit

 

History

History
executable file
·
39 lines (32 loc) · 2.38 KB

framework-contrast_security_agent.md

File metadata and controls

executable file
·
39 lines (32 loc) · 2.38 KB

Contrast Security Agent Framework

The Contrast Security Agent Framework causes an application to be automatically configured to work with a bound Contrast Security Service.

Detection CriterionExistence of a single bound Contrast Security service. The existence of an Contrast Security service defined by the VCAP_SERVICES payload containing a service name, label or tag with contrast-security as a substring.
Tags are printed to standard output by the buildpack detect script

User-Provided Service

When binding ContrastSecurity using a user-provided service, it must have name or tag with contrast-security in it. The credential payload can contain the following entries:

Name Description
api_key Your user's api key
service_key Your user's service key
teamserver_url The base URL in which your user has access to and the URL to which the Agent will report. ex: https://app.contrastsecurity.com
username The account name to use when downloading the agent

Configuration

For general information on configuring the buildpack, including how to specify configuration values through environment variables, refer to Configuration and Extension.

The framework can be configured by modifying the config/contrast_security_agent.yml file in the buildpack fork. The framework uses the Repository utility support and so it supports the version syntax defined there.

Name Description
repository_root The URL of the Contrast Security repository index (details).
version The version of Contrast Security to use. Candidate versions can be found in this listing.