ML Model Policy

Create an ML Model policy in JFrog Xray to block or alert on unapproved versions.

Create a security policy for ML Model package types by defining rules based on package versions. Use this to enforce security standards, detect risks in ML models, and automate responses such as blocking usage or triggering alerts when the policy detects unapproved model versions.

To create an ML Model policy:

  1. Navigate to Application > Xray > Watches & Policies.
  2. In the Policies tab, click New Policy.
  3. Enter a Policy Name.
  4. (Optional) Add a Description explaining the policy's purpose.
  5. Under Select Policy Type, select Security.
  6. Click Next.
    The Create New Policy Rule window opens.
  7. Enter a Rule Name.
  8. Under Rule Type, select Package Version.
  9. From the Select package type menu, select ML Model.
  10. Add a package name.
  11. Select a version.
  12. Under Then, define the policy actions.
  13. Select Save Rule.
  14. Click Next.
  15. Under Apply on Scope, select one or more policy watches.
  16. Click Save Policy.

Related Topics


Did this page help you?