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
The Contrast Security Agent Framework causes an application to be automatically configured to work with a bound [Contrast Security Service][].
3
+
4
+
<table>
5
+
<tr>
6
+
<td><strong>Detection Criterion</strong></td><td>Existence of a single bound Contrast Security service. The existence of an Contrast Security service defined by the <a href="http://docs.cloudfoundry.org/devguide/deploy-apps/environment-variable.html#VCAP-SERVICES"><code>VCAP_SERVICES</code></a> payload containing a service name, label or tag with <code>contrast-security</code> as a substring.
7
+
</td>
8
+
</tr>
9
+
</table>
10
+
Tags are printed to standard output by the buildpack detect script
11
+
12
+
## User-Provided Service
13
+
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:
14
+
15
+
| Name | Description
16
+
| ---- | -----------
17
+
| `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
18
+
| `username` | The account name to use when downloading the agent
19
+
| `org_uuid` | The org uuid to send app information to, this is the org that your bound application will appear within
20
+
| `api_key` | Your user's api key
21
+
| `service_key` | Your user's service key
22
+
23
+
24
+
## Configuration
25
+
For general information on configuring the buildpack, including how to specify configuration values through environment variables, refer to [Configuration and Extension][].
26
+
27
+
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][repositories] and so it supports the [version syntax][] defined there.
28
+
29
+
| Name | Description
30
+
| ---- | -----------
31
+
| `repository_root` | The URL of the Contrast Security repository index ([details][repositories]).
32
+
| `version` | The version of Contrast Security to use. Candidate versions can be found in [this listing][].
0 commit comments