Questions tagged [auditing]
330 questions
8
votes
3 answers
How to enable auditing for MongoDB via Annotations in Spring
I wanted to enable some auditing features, such as @CreatedDate. I am not using Spring xml configuration file, so I cannot add mongo:auditing to Spring configuration. I was wondering if there was an alternative way of enable auditing. The following…

Julio
- 849
- 2
- 10
- 17
7
votes
3 answers
How to store audit data in Azure
We're in the design phase for building an audit trail in an existing web application. The application runs on Windows Azure and uses a SQL Azure database.
The audit logs must be filtered by user, or by object type (eg. show all action of a user, or…

Hanno
- 1,017
- 11
- 18
7
votes
4 answers
When to update audit fields? DDD
I have a Meeting Object:
Meeting{id, name, time, CreatedBy, UpdatedBy}
and a
MeetingAssignee{id, MeetingID, EmployeeId, CreatedBy, UpdatedBy)
Meeting, as Aggregate root, has a method AssignEmployee.
I was about to pass in the current user to the…

user676767
- 255
- 2
- 12
6
votes
2 answers
How to use Auditing in JPA/Spring-Data JPA?
I am using JPA & Spring-Data JPA in a project. I have one table wherei Insert and then update the data. However i need the auditing information to save the state of all the objects i.e. I need state information of insert and all subsequent updates…

Abhishek
- 1,031
- 4
- 16
- 25
6
votes
1 answer
How to track online users in Rails?
This was always a problem for me, as rails doesn't have some mechanisms for session tracking like java frameworks do, what methods do you use to track who is currently logged on your site? I use a simple method by setting up last_visited field with…

Vortex
- 63
- 1
- 7
6
votes
1 answer
Getting modified properties by revision
I am using Hibernate Envers to audit my entities and properties (org.hibernate.envers.global_with_modified_flag=true). This seems to work, but now I'd like to get all properties of a specific entity which changed at a given revision, compared to the…

Dominik Sandjaja
- 6,326
- 6
- 52
- 77
6
votes
3 answers
Nmap not retrieving MAC address and Vendor
I've found a strange behaviour in Nmap (I am using version 5.51 if that matters but I have the same issue with version 5.00), on some networks this plugin does not retrieve MAC address and, consequently, Vendor. The strange thing is that it…

raz3r
- 3,071
- 8
- 44
- 66
5
votes
1 answer
ORIGINAL_LOGIN and SYSTEM_USER functions for auditing?
I am implementing an inserted trigger and am considering using ORIGINAL_LOGIN function to capture the current executing user. I would like to know the pros and cons of using ORIGINAL_LOGIN for auditing. Under what scenario does SYSTEM_USER provide a…

Animesh
- 4,926
- 14
- 68
- 110
5
votes
1 answer
PostgreSQL set session variable
My app which connects to PostgreSQL DB using same credentials (db provider requirement...)
However I need to recognize what app user is connecting to DB (eg for udates auditing etc)
I wonder if there is any way I can set some variable (which life is…

Maciej
- 10,423
- 17
- 64
- 97
5
votes
1 answer
JPA Auditing with Kotlin
I want to use the @CreatedDate annotation in a kotlin data class. All attributes should be initialized as immutable (val). The problem is, that the implementation is not able to handle immutable variables. The correct date will not be set and the…

Sebastian A.
- 105
- 1
- 8
5
votes
1 answer
"audit create session by session" vs. "audit create session by access"?
When I enabling auditing for create session by the following way:
audit create session by session;
Then I am querying the following:
select * from dba_priv_audit_opts;
The result is:
USERNAME | PROXY_NAME | AUDIT_OPTION | SUCCESS | FAILURE …

kupa
- 1,861
- 5
- 25
- 41
5
votes
1 answer
spring jpa auditing lastmodifiedby and lastmodifiedDate are ok, but createdBy and createdDate annotation are always null
I'm trying to setup (as a java beginner) spring jpa auditing for hours/days now ... and I'm starting to get very frustrating as I can't find the problem.
I would really appreciate some help.
@LastModifiedBy and @LastModifiedDate annotations are…

Didier
- 153
- 1
- 7
5
votes
1 answer
Pass object between two Around functions - AOP
I am doing Auditing for my Controller, Service and Dao layer. I have three Around aspect functions for Controller, Service and Dao respectively. I use a custom annotation which if present on the Controller method will invoke an Around aspect…

Akash Raveendran
- 559
- 1
- 9
- 22
5
votes
3 answers
SQL Azure Database. Login with non-secure connection string
I have an SQL Azure database and have the auditing enabled on it. According to the portal , Auditing requires use of Security Enabled Connection Strings and consequently have set the Security Enabled Access parameter on the DB portal to “Required”…

ICICI81
- 101
- 1
- 9
5
votes
3 answers
How do I do backup and (point-in-time) recovery for etcd?
I understand that etcd stores its data in some kind of distributed log.
Are there tools to back up these logs and do recovery from them? Does that also support point-in-time recovery (and how far back can we go)?
Extra points: do these logs also…

Thilo
- 257,207
- 101
- 511
- 656