imperva / imperva/incapsula-cli
Export does not contain all Security Rules
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 33
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
I noticed my coworker created this security rule the other day. It shows up when you view it in the UI and do incap site status, but does not show up using incap site export. Some other rules show up in the export but this one is missing.
From the status it looks like this
{
"incap_rules": [
...
{
"action": "api.rule_action_type.rule_action_block",
"creation_date": 1761851066000,
"id": 9441462,
"name": "Block requests for JS Test",
"rule": "URL contains \"^/<%=\""
}
...
}
is it something about the rule? i would hope the export contained everything.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the discrepancy with incap site status and incap site export, using the security rule shown in the report. Trace how each command retrieves and filters security rules, then compare their results. Done means incap site export includes the rule visible in status, with coverage for the missing-rule case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100