Skip to content

Commit

Permalink
Added module 'allow-hosts'
Browse files Browse the repository at this point in the history
  • Loading branch information
CFEngine Build API committed Apr 17, 2024
1 parent 9a258ae commit 99230ee
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions cfbs.json
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,32 @@
"description": "Local policy file added using cfbs command line",
"tags": ["local"],
"added_by": "cfbs add",
"steps": [
"copy ./overlay/inventory/os.cf inventory/os.cf"
"steps": ["copy ./overlay/inventory/os.cf inventory/os.cf"]
},
{
"name": "allow-hosts",
"description": "Allows specific hosts (by IP / subnet) to connect and fetch policy.",
"tags": ["management", "security", "experimental"],
"repo": "https://github.com/olehermanse/cfengine-allow-hosts",
"by": "https://github.com/olehermanse",
"version": "0.0.2",
"commit": "620b4a523d82cb3b50a429b2f8d3511c7efa219c",
"added_by": "cfbs add",
"steps": ["input ./input.json def.json"],
"input": [
{
"type": "list",
"namespace": "default",
"bundle": "def",
"variable": "acl",
"label": "Allowed hosts",
"subtype": {
"type": "string",
"label": "IP / subnet",
"question": "IP / subnet to allow"
},
"while": "Do you want to specify more IPs / subnets?"
}
]
}
]
Expand Down

0 comments on commit 99230ee

Please sign in to comment.