new custom security policy does not appear in WHM Settings!

xpl0it

Member
Jul 4, 2003
9
0
151
hello,

we are developing a new custom security policy, we placed the file ourSecurityPolicy.pm in the directory:

/usr/local/cpanel/Cpanel/SecurityPolicy

but it did not appear in the WHM->Configure Security Policies page.

we also copied the file to /usr/local/cpanel/Cpanel/Security/Policy with no success.

file starts with
Code:
 package  Cpanel::Security::Policy::ourSecurityPolicy;
we restarted cpanel too.

Any idea?
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,222
463
Hello :)

Do you notice any error messages in /usr/local/cpanel/logs/error_log when accessing "WHM Home » Security Center » Configure Security Policies"?

Thank you.
 

xpl0it

Member
Jul 4, 2003
9
0
151
hello,
a syntax error appeared in the log and I fixed it.

thanks for your guidance :)

regards
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,222
463
I am happy to see you were able to resolve the issue. Thank you for updating us with the outcome.