After adding a new rule in PTA the default rules are gone (rules Windows is empty).

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

After adding a new rule in PTA the default rules are gone (rules Windows is empty).

L3 Networker

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

4 REPLIES 4

L6 Presenter

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?

L4 Transporter

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?

L3 Networker

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.

L4 Transporter

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,

  • 413 Views
  • 4 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!