Skip to content

Commit b341a33

Browse files
Merge pull request #3301 from craigcomstock/ENT-11987/master
ENT-11987: Clarify that cf-runagent --remote-bundles requires explicit bundle resource_type access promises
2 parents 71ed551 + e757151 commit b341a33

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

reference/components/cf-runagent.markdown

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,16 @@ keywords: [runagent]
88

99
`cf-runagent` connects to a list of running instances of
1010
`cf-serverd`. It allows foregoing the usual `cf-execd` schedule to activate `cf-agent`.
11-
Additionally, a user may send [classes][Classes and decisions] to be defined
11+
A user may send [classes][Classes and decisions] to be defined
1212
on the remote host. Two kinds of classes may be sent: classes to decide on
1313
which hosts `cf-agent` will be started, and classes that the user requests
1414
`cf-agent` should define on execution. The latter type is regulated by
1515
`cf-serverd`'s [role based access control][roles].
16+
Additionally a user may send a list of [bundles][Bundles] to activate on the remote host
17+
with the `--remote-bundles` argument.
18+
This argument takes one or more comma separated bundle names.
19+
Each of the bundles requested must be given explicit permission with an access promise
20+
matching the bundle names.
1621

1722
**Notes:**
1823

reference/promise-types/access.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ published: true
77
Access promises are conditional promises made by resources living on the server.
88

99
The promiser is the name of the resource affected and is interpreted to be a path, unless a
10-
different `resource_type` is specified. Access is then granted to hosts listed in `admit_ips`,
10+
different `resource_type` is specified. Access must then be granted to hosts listed in `admit_ips`,
1111
`admit_keys` and `admit_hostnames`, or denied using the counterparts `deny_ips`, `deny_keys`
1212
and `deny_hostnames`.
1313

14-
You layer the access policy by denying all access and then allowing it
15-
only to selected clients, then denying to an even more restricted set.
14+
By default access is denied.
15+
As a policy writer you must specifically grant access.
1616

1717
```cf3
1818
bundle server my_access_rules()

0 commit comments

Comments
 (0)