public static class SqlFirewallViolationSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SqlFirewallViolationSummary |
build() |
SqlFirewallViolationSummary.Builder |
clientIp(String clientIp)
The IP address of the host machine from which the session was generated.
|
SqlFirewallViolationSummary.Builder |
clientOsUserName(String clientOsUserName)
The name of the operating system user for the database session.
|
SqlFirewallViolationSummary.Builder |
clientProgram(String clientProgram)
The application from which the SQL violation was generated.
|
SqlFirewallViolationSummary.Builder |
compartmentId(String compartmentId)
The OCID of the compartment containing the SQL violation.
|
SqlFirewallViolationSummary.Builder |
copy(SqlFirewallViolationSummary model) |
SqlFirewallViolationSummary.Builder |
currentDbUserName(String currentDbUserName)
The name of the user that SQL was executed as.
|
SqlFirewallViolationSummary.Builder |
dbUserName(String dbUserName)
The name of the database user.
|
SqlFirewallViolationSummary.Builder |
id(String id)
The OCID of the SQL violation.
|
SqlFirewallViolationSummary.Builder |
operation(String operation)
The name of the action executed by the user on the target database.
|
SqlFirewallViolationSummary.Builder |
operationTime(Date operationTime)
The time of the SQL violation occurrence in the target database.
|
SqlFirewallViolationSummary.Builder |
sqlAccessedObjects(String sqlAccessedObjects)
The objects accessed by the SQL.
|
SqlFirewallViolationSummary.Builder |
sqlLevel(SqlFirewallViolationSummary.SqlLevel sqlLevel)
Specifies the level of SQL for this violation.
|
SqlFirewallViolationSummary.Builder |
sqlText(String sqlText)
The SQL text caught by the firewall.
|
SqlFirewallViolationSummary.Builder |
targetId(String targetId)
The OCID of the target database.
|
SqlFirewallViolationSummary.Builder |
targetName(String targetName)
The name of the target database.
|
SqlFirewallViolationSummary.Builder |
timeCollected(Date timeCollected)
The timestamp when this SQL violation was collected from the target database by Data
Safe.
|
SqlFirewallViolationSummary.Builder |
violationAction(SqlFirewallViolationSummary.ViolationAction violationAction)
The action taken for this SQL violation.
|
SqlFirewallViolationSummary.Builder |
violationCause(String violationCause)
Indicates whether SQL or context violation.
|
public SqlFirewallViolationSummary.Builder id(String id)
The OCID of the SQL violation.
id
- the value to setpublic SqlFirewallViolationSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the SQL violation.
compartmentId
- the value to setpublic SqlFirewallViolationSummary.Builder dbUserName(String dbUserName)
The name of the database user.
dbUserName
- the value to setpublic SqlFirewallViolationSummary.Builder targetId(String targetId)
The OCID of the target database.
targetId
- the value to setpublic SqlFirewallViolationSummary.Builder targetName(String targetName)
The name of the target database.
targetName
- the value to setpublic SqlFirewallViolationSummary.Builder operationTime(Date operationTime)
The time of the SQL violation occurrence in the target database.
operationTime
- the value to setpublic SqlFirewallViolationSummary.Builder timeCollected(Date timeCollected)
The timestamp when this SQL violation was collected from the target database by Data Safe.
timeCollected
- the value to setpublic SqlFirewallViolationSummary.Builder clientOsUserName(String clientOsUserName)
The name of the operating system user for the database session.
clientOsUserName
- the value to setpublic SqlFirewallViolationSummary.Builder operation(String operation)
The name of the action executed by the user on the target database. For example, ALTER, CREATE, DROP.
operation
- the value to setpublic SqlFirewallViolationSummary.Builder sqlText(String sqlText)
The SQL text caught by the firewall.
sqlText
- the value to setpublic SqlFirewallViolationSummary.Builder sqlAccessedObjects(String sqlAccessedObjects)
The objects accessed by the SQL.
sqlAccessedObjects
- the value to setpublic SqlFirewallViolationSummary.Builder currentDbUserName(String currentDbUserName)
The name of the user that SQL was executed as.
currentDbUserName
- the value to setpublic SqlFirewallViolationSummary.Builder sqlLevel(SqlFirewallViolationSummary.SqlLevel sqlLevel)
Specifies the level of SQL for this violation. USER_ISSUED_SQL - User issued SQL statements only. ALL_SQL - Includes all SQL statements including SQL statement issued inside PL/SQL units.
sqlLevel
- the value to setpublic SqlFirewallViolationSummary.Builder clientIp(String clientIp)
The IP address of the host machine from which the session was generated.
clientIp
- the value to setpublic SqlFirewallViolationSummary.Builder clientProgram(String clientProgram)
The application from which the SQL violation was generated. Examples include SQL Plus or SQL Developer.
clientProgram
- the value to setpublic SqlFirewallViolationSummary.Builder violationCause(String violationCause)
Indicates whether SQL or context violation.
violationCause
- the value to setpublic SqlFirewallViolationSummary.Builder violationAction(SqlFirewallViolationSummary.ViolationAction violationAction)
The action taken for this SQL violation.
violationAction
- the value to setpublic SqlFirewallViolationSummary build()
public SqlFirewallViolationSummary.Builder copy(SqlFirewallViolationSummary model)
Copyright © 2016–2024. All rights reserved.