CTERA Content Services provides a secure data pipelines for GenAI workloads. In addition to the built-in security of the CTERA Portal, security is achieved by defining guardrails and firewall restrictions.

To add a guardrail:
- Select Security in the navigation pane.
-94929bbcd3fe/Images/Documentation/image-F13B3ZIJ.png) - Click New Guardrails.

- Enter the details:
- Guardrail Details
Name – A name to identify the guardrail.
Path – The path to the guardrail.
Description – Text describing the guardrail. - Configuration
Initialization Parameters – Add initialization parameter key and value pairs, clicking
to add each pair.
LLM Model – The LLM model the guardrail applies to.
On Fail Action – The action to take when the guardrail is triggered: No Operation (noop) or Fix.
User Local Models – Slide on to apply local models for this guardrail.
Guardrail Status – The current status of the rule, Enabled or Disabled.
- Guardrail Details
- Click Save Changes.

To add a firewall rule:
Firewall rules can only be defined after defining one or more guardrails.
-
Click the Firewall tab.

-
Click New Rule.

-
Enter the firewall rule details:
Name – A name to identify the rule.
Stage – When the rule is triggered:- Ingestion
- Retrieval
- Chat Pre
- Chat Post
Action – The action to take when the rule is triggered.
- Block
- Log
- Filter
Rule Status – The current status of the rule, Enabled or Disabled.
Guards – The guardrail to use from the drop-down list.
Datasets – The datasets that the rule applies to. Select each dataset from the list, one at a time.
Experts – The experts that the rule applies to. Select each expert from the list, one at a time.
Users – The users that the rule applies to. Select each user from the list, one at a time. -
Click Save Changes.

To edit security:
- Click Security in the navigation pane.

- Click the guardrail to edit or click the Firewall tab and then the firewall entry to edit.
Edit Guardrail Edit Firewall Rule 

- Make the changes as required.
- Click Save Changes.