Protected resources
Some machines nobody but an administrator should touch, whatever the access rules say: domain controllers, firewalls, bastion hosts. Mark them with a tag and Delegaris protects them.
What protection does
A protected resource:
- stays visible to whoever an access rule shows it to, so people know it is there
- shows "This resource is protected: only administrators can start, stop or change it." in its details
- can be started, stopped, rebooted, kept on, booked ahead or re-tagged by administrators only
- gives the Remote Desktop file to administrators only
- stops a server group that contains it from being started or stopped by anyone but an administrator
This overrides every access rule. A rule that grants Start on everything still cannot start a protected machine.
Choosing the tags
Open Settings > Access and scroll to Protected resources.
The default is one tag: Delegaris = protected. Anything carrying that tag is protected.
To change the list:
- Edit a row, or press Add a protected tag for another.
- Enter the Key and the value. A value of
*means any value, soRole = *protects anything with aRoletag at all. - Press Save changes.
A resource is protected if it carries any of the listed tags. Up to 20 can be listed.
- Keys and values are matched exactly, including capitals. Unlike access rules, a value cannot contain a wildcard; only a value of
*on its own means "any". - A tag that was dropped through Delegaris still counts, so dropping the tag does not remove protection.
Protecting a machine
Add the tag to the machine in AWS (the console, Terraform, CloudFormation, or whatever you use). Delegaris checks tags live at the moment of every action, so it is protected at once. Remove the tag in AWS to lift protection.
Because only administrators can change tags on a protected resource in Delegaris, people cannot remove the protection through Delegaris itself. Make sure they cannot remove it in AWS either.
Protected resources or Except?
| Use | When |
|---|---|
| Protected resources | A machine nobody but an administrator should ever act on, whatever any rule says now or later |
| Except in a rule | A machine one particular rule should leave out, while another rule may still cover it. See Access rules |