How to include the oracle database name to os audit trail?
My DB settings:Connected to:Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - ProductionVersion 19.12.0.0.0SYS@CDBXXX1>unified_audit_common_systemlog stringunified_audit_sga_queue_size...
View ArticleUsing views with no insert table VS Audit tables
I(not a DBA) am considering designing Audit tables for an application that needs to be really fast as well fully audited (undo is not necessary). I referred to some from so and I found variations of...
View ArticleFind who is selecting from table SQL Server
We have a table that has a very long update process that I think was from a no longer used program. No one can seem to tell me if anyone still uses it or not.What is the best way to log which users...
View ArticleWhere does PMM store login details for DBs?
I have to audit the logins used by our services and it's not clear where I find the logins used for our PMM instance to connect to the remote DBs.
View ArticleScheduled job not present on database, but visible from dba_scheduler_job_log
I'm seeing this error in the alert log (sorry, it's in italian!):*** 2021-09-14 23:50:17.891*** SESSION ID:(249.6897) 2021-09-14 23:50:17.891*** CLIENT ID:() 2021-09-14 23:50:17.891*** SERVICE...
View ArticleUse trigger on DELETE to retrieve original SQL command and user who did it
I'm trying to create an audit log to store all delete commands on some tables, on MSSQL 2012.What I need is the username that executed it and the command executed, then I can insert them on a log...
View ArticleOracle audit: Only 'SESSION REC' in ACTION_NAME column
I was asked to generate a report of operations performed on certain Oracle 9i tables in a given period of time.When I query the DBA_AUDIT_TRAIL table I only get SESSION REC in the ACTION_NAME column.I...
View ArticleAbout MySQL audit select instruction triggers
Good afternoon.I have a need for a business rule in the company, where I need to audit BI users who seek customer reports, company numbers and the like.I ask.Using MySQL + RDSIs it possible to audit...
View Articledb2 How to get the application user from delete events
We use temporal tables to store the history of all changes to specific tables in the db. But we also need the user who made the changes. While on db2 side the user is the application, the application...
View ArticleHow to get historical queries in SQL Server, based on time
Please how do I get the query that was running at a specific time in SQL Server 2016? Something similar to AWR report in Oracle? We need to know what was happening at a specific time in the past...
View ArticleFGA AUDITING does not record audit
hello i dont know why my fga auditing is not workingmy codeEXEC...
View ArticleGetting database-level audit logs without database audit specification
I have server level auditing on SQL Server 2014.Why am I receiving database-level audit events (such as SELECT, INSERT, UPDATE, DELETE, etc.), even though there are no database audit specifications?I...
View ArticleSQL Server DML auditing - Triggers vs SQL Server Audit Feature (vs temporal...
I am looking to implement an auditing process on an instance I have on SQL Server 2017. However, I am not finding a complete conclusion on which auditing feature would be best to use for a DB with a...
View ArticleTLS Encryption Logging/Auditing in Oracle
I use Oracle only occasionally, but have heard that it is pretty easy to verify if your Oracle encryption is working (e.g. this post Verify if the client is connecting to the Oracle database using...
View ArticleAuditing via change data capture (CDC) for MSSQL
I want to ask the DBA community about best practices for auditing the MSSQL database. I set up CDC MSSQL and experience some difficulties with it. It's working all fine until I change the structure of...
View ArticleHow do i disable Oracle Unified Auditing for RMAN?
I currently have Oracle's Unified Auditing enabled, but I noticed that RMAN is also listed in the Unified_Audit_Trail. The value RMAN_AUDIT is displayed in the Audit_Type instead of Standard when i...
View ArticleReading SQL Server .sqlaudit Files Stored in S3
I set up an audit in SQL Server that saves audit logs (.sqlaudit files) to RDS, which we then copy over to S3 using a standard process. All of the documentation I can find on reading these audit files...
View ArticleDouble registration when using select into
SQL Server 2019 CU15, Database Audit:When auditing a SELECT on a database, everything looks fine,but if I SELECT INTO a #myTempDB, I get double registration in the AUDIT LOG.I created a test database...
View ArticleWhat could be the reason for this invalid objects after trying to upgrade?
We recently wanted to upgrade our Database but didnt get to do it as we got a lot of Audit specific invalid objects, after looking online for ressources we couldnt find anything specific reason for...
View ArticleLogging just one table in an Azure SQL Database
Our company is ISO27001 certified. As such, it is required for us to log database events.We are taking an incremental approach, and first starting with logging events just on one table.This particular...
View Article