Skip to content

Commit ce09ac0

Browse files
committed
Use jRuby 9.4.12.0
JDBC driver version = 23.7.0.25.01 show audit contexts
1 parent 1f43598 commit ce09ac0

20 files changed

+138
-92
lines changed

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
jruby-9.4.11.0
1+
jruby-9.4.12.0

app/controllers/dba_schema_controller.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2569,6 +2569,8 @@ def show_audit_rules
25692569
LEFT OUTER JOIN Audit_Unified_Policy_Comments c ON c.Policy_Name = p.Policy_Name
25702570
#{"LEFT OUTER " if @object_type.nil?}JOIN Policies pc ON pc.Policy_Name = p.Policy_Name
25712571
ORDER BY p.Policy_Name"].concat(where_values)
2572+
2573+
@audit_unified_contexts = sql_select_all "SELECT * FROM Audit_Unified_Contexts ORDER BY Namespace, Attribute, User_Name"
25722574
end
25732575
render_partial
25742576
end

app/views/dba_schema/_list_audit_unified_policies.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
<%=
2020
gen_slickgrid(@policies, column_options, {
21-
caption: "Unified audit policies for policy = '#{@policy_name}' from Audit_Unified_Policies",
21+
caption: "Unified audit policy actions for policy = '#{@policy_name}' from Audit_Unified_Policies",
2222
max_height: 450,
2323
show_pin_icon: 1
2424
})

app/views/dba_schema/_show_audit_rules.html.erb

Lines changed: 61 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<%=
2222
gen_slickgrid(@audits, column_options, {
2323
:caption => 'Active auditing rules from DBA_Stmt_Audit_Opts',
24-
:max_height => 450,
24+
:max_height => 250,
2525
:width => :auto,
2626
show_pin_icon: 3
2727
})
@@ -57,7 +57,7 @@
5757
<%=
5858
gen_slickgrid(@obj_audit_opts, column_options, {
5959
:caption => 'Active auditing rules from DBA_Obj_Audit_Opts',
60-
:max_height => 450,
60+
:max_height => 250,
6161
:width => :auto,
6262
show_pin_icon: 3
6363
})
@@ -105,49 +105,73 @@
105105
<%=
106106
gen_slickgrid(@fga_policies, column_options, {
107107
:caption => 'FGA policies from DBA_Audit_Policies',
108-
:max_height => 450,
108+
:max_height => 250,
109109
:width => :auto,
110110
show_pin_icon: 3
111111
})
112112
%>
113113
</div>
114114
<% end %>
115115

116-
<% if get_db_version >= '12.2' && @audit_unified_enabled_policies.count > 0 %>
117-
<div class="flex-row-element">
118-
<%
119-
link_policy_count = proc do |rec|
120-
ajax_link(fn(rec.policy_count), {
121-
action: :list_audit_unified_policies,
122-
policy_name: rec.policy_name,
123-
object_type: @object_type,
124-
owner: @owner,
125-
object_name: @object_name,
126-
update_area: @update_area
127-
}, title: "Show the #{fn(rec.policy_count)} policies from Audit_Unified_Policies" )
128-
end
129-
column_options =
130-
[
131-
{caption: 'Policy', data: proc{|rec| rec.policy_name }, title: 'Name of the audit policy'},
132-
{caption: 'Enabled option', data: proc{|rec| rec.enabled_option}, title: "Enabled option of the audit policy. Possible values:\nBY USER: For policies that are enabled on users\nEXCEPT USER: For policies that are enabled on users\nBY GRANTED ROLE: For policies that are enabled on roles\nINVALID: For policies that are not enabled on either users or roles\nNO: Not enabled on any user or role (Records in Audit_Unified_Policies only)"},
133-
{caption: 'Entity name', data: proc{|rec| rec.entity_name}, title: "Database entity (user name or role name) on which the audit policy is enabled.\nWhen an audit policy is enabled on all database users, ALL USERS is displayed in this column."},
134-
{caption: 'Entity type', data: proc{|rec| rec.entity_type}, title: "Database entity type. Possible values:\nUSER: Indicates that the policy is enabled on a user or users.\nROLE: Indicates that the policy is enabled on a role or roles."},
135-
{caption: 'Success', data: proc{|rec| rec.success}, title: 'Indicates whether the audit policy is enabled for auditing successful events (YES) or not (NO)'},
136-
{caption: 'Failure', data: proc{|rec| rec.failure}, title: 'Indicates whether the audit policy is enabled for auditing unsuccessful events (YES) or not (NO)'},
137-
{caption: 'Policy count', data: link_policy_count, title: 'Number of unified audit policies in Audit_Unified_Policies', align: :right},
138-
{caption: 'Comment', data: proc{|rec| rec.comments}, title: 'Comment from Audit_Unified_Policy_Comments'},
139-
]
140-
%>
116+
<% if get_db_version >= '12.2' %>
117+
<% if @audit_unified_enabled_policies.count > 0 %>
118+
<div class="flex-row-element">
119+
<%
120+
link_policy_count = proc do |rec|
121+
ajax_link(fn(rec.policy_count), {
122+
action: :list_audit_unified_policies,
123+
policy_name: rec.policy_name,
124+
object_type: @object_type,
125+
owner: @owner,
126+
object_name: @object_name,
127+
update_area: @update_area
128+
}, title: "Show the #{fn(rec.policy_count)} policies from Audit_Unified_Policies" )
129+
end
130+
column_options =
131+
[
132+
{caption: 'Policy', data: proc{|rec| rec.policy_name }, title: 'Name of the audit policy'},
133+
{caption: 'Enabled option', data: proc{|rec| rec.enabled_option}, title: "Enabled option of the audit policy. Possible values:\nBY USER: For policies that are enabled on users\nEXCEPT USER: For policies that are enabled on users\nBY GRANTED ROLE: For policies that are enabled on roles\nINVALID: For policies that are not enabled on either users or roles\nNO: Not enabled on any user or role (Records in Audit_Unified_Policies only)"},
134+
{caption: 'Entity name', data: proc{|rec| rec.entity_name}, title: "Database entity (user name or role name) on which the audit policy is enabled.\nWhen an audit policy is enabled on all database users, ALL USERS is displayed in this column."},
135+
{caption: 'Entity type', data: proc{|rec| rec.entity_type}, title: "Database entity type. Possible values:\nUSER: Indicates that the policy is enabled on a user or users.\nROLE: Indicates that the policy is enabled on a role or roles."},
136+
{caption: 'Success', data: proc{|rec| rec.success}, title: 'Indicates whether the audit policy is enabled for auditing successful events (YES) or not (NO)'},
137+
{caption: 'Failure', data: proc{|rec| rec.failure}, title: 'Indicates whether the audit policy is enabled for auditing unsuccessful events (YES) or not (NO)'},
138+
{caption: 'Policy count', data: link_policy_count, title: 'Number of unified audit policies in Audit_Unified_Policies', align: :right},
139+
{caption: 'Comment', data: proc{|rec| rec.comments}, title: 'Comment from Audit_Unified_Policy_Comments'},
140+
]
141+
%>
141142

142-
<%=
143-
gen_slickgrid(@audit_unified_enabled_policies, column_options, {
144-
:caption => 'Unified audit policies from Audit_Unified_Enabled_Policies',
145-
:max_height => 450,
146-
:width => :auto,
147-
show_pin_icon: 3
148-
})
149-
%>
150-
</div>
143+
<%=
144+
gen_slickgrid(@audit_unified_enabled_policies, column_options, {
145+
:caption => 'Unified audit policies from Audit_Unified_Enabled_Policies',
146+
:max_height => 250,
147+
:width => :auto,
148+
show_pin_icon: 3
149+
})
150+
%>
151+
</div>
152+
<% end %>
153+
154+
<% if @audit_unified_contexts.count > 0 %>
155+
<div class="flex-row-element">
156+
<%
157+
column_options =
158+
[
159+
{caption: 'Namespace ', data: proc{|rec| rec.namespace }, title: 'Application context namespace'},
160+
{caption: 'Attribute', data: proc{|rec| rec.attribute}, title: "Application context attribute"},
161+
{caption: 'User name', data: proc{|rec| rec.user_name}, title: "Username of database user for whom the application context's attribute is confiured to be captured in the audit trail"},
162+
]
163+
%>
164+
165+
<%=
166+
gen_slickgrid(@audit_unified_contexts, column_options, {
167+
:caption => 'Additional application context attributes from Audit_Unified_Contexts',
168+
:max_height => 250,
169+
:width => :auto,
170+
show_pin_icon: 3
171+
})
172+
%>
173+
</div>
174+
<% end %>
151175
<% end %>
152176

153177
</div>

lib/README.txt

Lines changed: 0 additions & 53 deletions
This file was deleted.

lib/Readme.txt

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
======================================================
2+
Oracle Free Use Terms and Conditions (FUTC) License
3+
======================================================
4+
https://www.oracle.com/downloads/licenses/oracle-free-license.html
5+
===================================================================
6+
7+
ojdbc11-full.tar.gz - JDBC Thin Driver and Companion JARS
8+
========================================================
9+
This TAR archive (ojdbc11-full.tar.gz) contains the 23.7.0.25.01 release of the Oracle JDBC Thin driver(ojdbc11.jar), the Universal Connection Pool (ucp11.jar) and other companion JARs grouped by category.
10+
11+
(1) ojdbc11.jar (7310561 bytes) -
12+
(SHA1 Checksum: 665f52abef9122ce003b5cfc1d9d44f7302e2cfe)
13+
Oracle JDBC Driver compatible with JDK8, JDK11, JDK12, JDK13, JDK14, and JDK15.
14+
15+
(2) ucp11.jar (1545773 bytes) - (SHA1 Checksum: d4939f55f255628841fe8479985732481b686d83)
16+
Universal Connection Pool classes to be used with ojdbc11.jar -- for performance, scalability, high availability, sharded and multitenant databases.
17+
18+
(3) rsi.jar (260433 bytes) - (SHA1 Checksum: f9a781869b478040020ab26ab3f4d2312f49ab5a)
19+
Reactive Streams Ingestion (RSI)
20+
21+
======================
22+
Security Related JARs
23+
======================
24+
Java applications require some additional jars to use Oracle Wallets.
25+
You need to use all the three jars while using Oracle Wallets.
26+
27+
(4) oraclepki.jar (502640 bytes) - (SHA1 Checksum: 57a2d44f2a2a69cac5733c2963f33e207054cd32)
28+
Additional jar required to access Oracle Wallets from Java
29+
30+
=============================
31+
JARs for NLS and XDK support
32+
=============================
33+
(5) orai18n.jar (1666060 bytes) - (SHA1 Checksum: ad9455fc5c9ae6fac2e7c214660d37dd461c705e)
34+
Classes for NLS support
35+
(6) xdb.jar (129321 bytes) - (SHA1 Checksum: efc55778998fe79a800c537eaad360567a8193d7)
36+
Classes to support standard JDBC 4.x java.sql.SQLXML interface
37+
(7) xmlparserv2.jar (1951007 bytes) - (SHA1 Checksum: ed50481c06d3dd8dbcce6727479492d61ce564bd)
38+
Classes to support standard JDBC 4.x java.sql.SQLXML interface
39+
(8) xmlparserv2_sans_jaxp_services.jar (1946254 bytes) - (SHA1 Checksum: 8dd81737df7e7911bcb4c259336190cf273a3424)
40+
Classes to support standard JDBC 4.x java.sql.SQLXML interface
41+
42+
====================================================
43+
JARs for Real Application Clusters(RAC), ADG, or DG
44+
====================================================
45+
(9) ons.jar (155093 bytes) - (SHA1 Checksum: e7d2f6254463321e2ebf18c6842eabfec1fba1f9)
46+
for use by the pure Java client-side Oracle Notification Services (ONS) daemon
47+
(10) simplefan.jar (32445 bytes) - (SHA1 Checksum: 8ff0c2cf83f88c82b40c94d4b99114cd58dbfd2e)
48+
Java APIs for subscribing to RAC events via ONS; simplefan policy and javadoc
49+
50+
==================================================================
51+
Oracle JDBC and UCP - Javadoc and README
52+
==================================================================
53+
54+
(11) JDBC-Javadoc-23c.jar (2641323 bytes) - JDBC API Reference 23c
55+
56+
(12) ucp-Javadoc-23c.jar (714187 bytes) - UCP Java API Reference 23c
57+
58+
(13) rsi-Javadoc-23c.jar (260510 bytes) - RSI Java API Reference 23c
59+
60+
(14) simplefan-Javadoc-23c.jar (300853 bytes) - Simplefan API Reference 23c
61+
62+
(15) xdb-Javadoc-23c.jar (2631108 bytes) - XDB API Reference 23c
63+
64+
(16) xmlparserv2-Javadoc-23c.jar (2631108 bytes) - xmlparserv2 API Reference 23c
65+
66+
(17) JDBC-Readme.txt: It contains general information about the JDBC driver and bugs that have been fixed in the 23.7.0.25.01 release.
67+
68+
(18) UCP-Readme.txt: It contains general information about UCP and bugs that are fixed in the 23.7.0.25.01 release.
69+
70+
=============== Known Problems in the Release 23c ====================
71+
72+
Refer to Bugs-fixed-in-23c.txt on JDBC download page (https://www.oracle.com/database/technologies/appdev/jdbc-downloads.html) for the list of bugs fixed in the 23c release.
73+

lib/ojdbc11.jar

6.97 MB
Binary file not shown.

lib/ojdbc17.jar

6.97 MB
Binary file not shown.

lib/ojdbc8.jar

2 MB
Binary file not shown.

lib/ons.jar

-42.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)