- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
05-22-2020 07:36 PM
I added a new rule in the PTA (in the PVWA Windows). Now all default Rules are gone and also new rules also gone. Why this happen?
Can i recover back those default rules
05-23-2020 02:13 AM
Check in the diamond logs, is the PTA PVWA connectivity still working? If you create rule in PTA is is available in pvwa and vice versa?
05-23-2020 02:13 AM
Check in the diamond logs, is the PTA PVWA connectivity still working? If you create rule in PTA is is available in pvwa and vice versa?
06-02-2020 07:23 PM
When I create rules in PVWA it was update in PTA (vice versa) but after few minuets from both PVWA & PTA the rules are gone.
06-19-2020 06:06 AM
Hi @Ranga Raja Raja Sekran,
I got this in the past. This is a bug.
There seems to be a problem with the double quotes character. If you have a rule containing ", then it will remove all other rules.
To restore the missing configuration, please do the following:
1. SSH to the PTA Server and type LOCALPARM
2. Locate the parameter "risky_command_configuration"
If you don't have a previous custom configuration of risky commands that is important to you:
3a. Comment the parameter "risky_command_configuration" with # and save.
If you do have an important previous configuration:
3b. Locate only the problematic rule in the JSON and delete the entire relevant section of the JSON. For example:
{\"category\":\"SSH\",\"regex\":\"(.*)echo(.*)"'(.*)bash_history",\"score\":\"40\",\"description\":\"Custom Rule.\",\"response\":\"NONE\",\"active\":true}
4. Run 'service appmgr restart'."
Thanks,
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

