public class SecurityAgentConfig
extends java.lang.Object
| Constructor and Description |
|---|
SecurityAgentConfig() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addSecurityAgentConfigSupportabilityMetrics()
Create supportability metrics showing the enabled status of the security agent.
|
static java.lang.String |
getSecurityAgentMode()
Get the Security agent mode.
|
static java.lang.String |
getSecurityAgentValidatorServiceUrl()
Get the validator service URL that the security agent communicates with.
|
static boolean |
isSecurityAgentEnabled()
Determines whether the security agent will be enabled or completely disabled.
|
static boolean |
isSecurityDetectionDeserializationEnabled()
Determines whether the security agent should detect deserialization events.
|
static boolean |
isSecurityDetectionRciEnabled()
Determines whether the security agent should detect RCI events.
|
static boolean |
isSecurityDetectionRxssEnabled()
Determines whether the security agent should detect RXSS events.
|
static boolean |
isSecurityEnabled()
Determines whether the security agent, once initialized, is allowed to send security data to New Relic.
|
static boolean |
isSecurityLowPriorityInstrumentationEnabled()
Determines whether the security agent low priority attack/vulnerability modules will instrument or not.
|
static void |
logSettings(java.util.logging.Level logLevel)
Log security settings to help debug when the IAST agent is not enabled.
|
static boolean |
shouldInitializeSecurityAgent()
Determines whether the security agent should be initialized.
|
public static final java.lang.String SECURITY_AGENT_ENABLED
public static final boolean SECURITY_AGENT_ENABLED_DEFAULT
public static final java.lang.String SECURITY_ENABLED
public static final boolean SECURITY_ENABLED_DEFAULT
public static final java.lang.String SECURITY_LOW_PRIORITY_INSTRUMENTATION_ENABLED
public static final boolean SECURITY_LOW_PRIORITY_INSTRUMENTATION_ENABLED_DEFAULT
public static final java.lang.String SECURITY_MODE
public static final java.lang.String SECURITY_MODE_DEFAULT
public static final java.lang.String SECURITY_VALIDATOR_SERVICE_URL
public static final java.lang.String SECURITY_VALIDATOR_SERVICE_URL_DEFAULT
public static final java.lang.String SECURITY_DETECTION_RCI_ENABLED
public static final boolean SECURITY_DETECTION_RCI_ENABLED_DEFAULT
public static final java.lang.String SECURITY_DETECTION_RXSS_ENABLED
public static final boolean SECURITY_DETECTION_RXSS_ENABLED_DEFAULT
public static final java.lang.String SECURITY_DETECTION_DESERIALIZATION_ENABLED
public static final boolean SECURITY_DETECTION_DESERIALIZATION_ENABLED_DEFAULT
public static final java.util.Set<java.lang.String> SECURITY_AGENT_CLASS_TRANSFORMER_EXCLUDES_TO_IGNORE
public static void addSecurityAgentConfigSupportabilityMetrics()
public static boolean shouldInitializeSecurityAgent()
public static boolean isSecurityAgentEnabled()
public static boolean isSecurityEnabled()
public static boolean isSecurityDetectionRciEnabled()
public static boolean isSecurityDetectionRxssEnabled()
public static boolean isSecurityDetectionDeserializationEnabled()
public static java.lang.String getSecurityAgentValidatorServiceUrl()
public static java.lang.String getSecurityAgentMode()
public static boolean isSecurityLowPriorityInstrumentationEnabled()
public static void logSettings(java.util.logging.Level logLevel)