🤖 LLM Optimization for Rule Scripts - BETA
Optimize Rule Scripts with AI for Enhanced Performance
We're introducing LLM Optimization for Rule Scripts—a powerful new feature that helps you streamline and enhance your rule logic using AI.
With this update, you can now pass your rule scripts to a large language model (LLM) for intelligent analysis and optimization. The model reviews your code and suggests meaningful improvements, such as:
- Replacing hardcoded strings with constants
- Improving memory allocation for better runtime performance
- Simplifying complex logic for easier maintenance
You’ll be able to preview the recommended changes before applying them—giving you full control and visibility.
Why it matters:
This enhancement makes it easier and faster to write clean, efficient rules—especially for security engineers working on API protection. By offloading optimization to the LLM, you reduce manual effort while improving performance and maintainability.
If you're interested in enabling LLM optimizations for rule scripts in your Impart environment, please reach out for enablement.
🕒 Expanded Event Change Logs Now Available
We’ve expanded the scope of the Event Change Log to give you a more complete, transparent view of what's happening across your organization.
What’s New
You’ll now see change log entries for several additional entity types, making it easier to track updates across your entire configuration. Whether you're collaborating across teams or auditing historical changes, you can now rely on the change log to tell the full story.
Full-Detail Diffs, Every Time
For every supported create, update, or delete operation, we show a field-level diff—so you can see exactly what changed, along with the previous values.
Changes are presented as JSON path-based diffs, making it easy to scan for differences and understand the impact. Whether you're reviewing a rule edit, a configuration change, or an update made through Terraform, you'll now have clear visibility into:
- What changed
- When it changed
- Who changed it
- What the previous state was
Why It Matters
Before, certain updates were harder to trace or required manual comparison. Now, with broader entity coverage and precise diffs, the change log becomes a powerful audit and collaboration tool—ideal for teams who need clarity, accountability, or just peace of mind.
🏷️ Rule and Tag Improvements
We’ve rolled out several updates to how rules are named, edited, and tagged to reduce confusion and create a more consistent experience.
Smarter Rule Editing Experience
- If you attempt to navigate away while editing a rule (create or update), you’ll now see a warning for unsaved changes.
- The discard prompt only appears when real edits have been made—no more false alarms.
Improved Tag Management
- When deleting tag metadata, the UI now clarifies that the tag remains on historical requests for 30 days, until it ages out.
- Tag names now use consistent slug-formatting (lowercase, hyphenated) across both the rule editor and rule scripts.
- For advanced use cases (e.g., emojis or non-standard UTF-8), you can now disable slugging.
- We’ve also relaxed slug rules to allow additional characters like periods and tildes.