Questions tagged [auditing]

330 questions
4
votes
4 answers

Complex NHibernate Auditing

I'm using the IPostUpdateEventListener interface to do update audit logging now, grabbing the old and new values, then storing each updated field in an "Audit" table and all that jive. Works swell, but there's two last requirements I'm having a hard…
Darrell Mozingo
  • 865
  • 10
  • 16
4
votes
4 answers

Logging in a Winform application

Initial situation: There is a big Winform application with many dialogs and an Oracle database in the background. Now there is the requirement to implement a audit logging feature, which logs data changes (before/after) by the users (for later…
uhu
  • 1,702
  • 5
  • 17
  • 26
3
votes
2 answers

What security events does one audit for a line of business application?

I already audit authorization success, failure and logout. I've considered auditing (logging) every method call and keeping a version of every row and column that was ever modified, but both of those options will greatly increase the complexity of…
MatthewMartin
  • 32,326
  • 33
  • 105
  • 164
3
votes
4 answers

Using table auditing in order to have "snapshots" of table

I need a solution for the following problem: I will have a table in SQL server 2008 that will be changing daily. It's a small table with maybe 5000 rows at most and around 5 fields. The client will need the ability to view all the data in the table…
Alex Gordon
  • 57,446
  • 287
  • 670
  • 1,062
3
votes
1 answer

How can I query Windows registry keys from Linux?

I am developing a Linux auditing application that, among other things, has to retrieve installed software and licenses from a Windows machine. The application MUST be agent-free. wmi-client actually does implement what I want, I tryed to query…
raz3r
  • 3,071
  • 8
  • 44
  • 66
3
votes
1 answer

Hibernate Envers: disable auditing temporarily

I've created an entities copier in a project where envers is enable but for this copier I don't need the auditing: is there a way to disable temporarily the envers auditing? I know that there are listener that works as interceptors (before the audit…
Sum_Pie
  • 175
  • 3
  • 15
3
votes
2 answers

npm audit versus yarn audit

I have a React Native project (0.61.4) that uses yarn as its package manager. When I run yarn audit a huge number of vulnerabilities are reported: 18202 vulnerabilities found - Packages audited: 958823 Severity: 18202 High ✨ Done in 14.34s. Most…
Squrler
  • 3,444
  • 8
  • 41
  • 62
3
votes
1 answer

Is there a way to selectively disable auditing for entity modifications in tests?

I have several entities that need to be audited. Auditing is implemented by using the following JPA event listener. public class AuditListener { @PrePersist @Transactional(readOnly = true, propagation = Propagation.REQUIRES_NEW) public…
user1134181
3
votes
1 answer

Should I use elasticsearch for audit logs?

I am building an application in a micro service architecture . So I have my different business models running on different microservices. Microservices are using graph and document databases. What I have to do is, I need to keep all audit logs…
89n3ur0n
  • 921
  • 11
  • 24
3
votes
2 answers

Tracking of who created or changed an entity in microservices

Usually in spring boot applications, we can use jpa audit to do the tracking. Spring Boot Jpa Auditing While in microservices architecture, I'd try to avoid involving security in core microservice. Instead, we can do authentication/authorization at…
Joe
  • 91
  • 1
  • 5
3
votes
0 answers

No audit events generated although relevant SACLs are in place

I want to monitor registry modifications from a given key and its subkeys and values by setting the relevant SACLs and consuming the audit event. I've set the SACL in place on the registry key and configured it to monitor all modification attempts…
3
votes
3 answers

Spring Data JPA and Spring Boot auditing with Hibernate Envers

I am using Spring Data JPA and Spring Boot for my project. I have Audit requirement for Objects(Create/Update/Delete). I may need to get Audit revisions for particular objects too. I have checked on net that Spring Data Envers cant get revisions and…
Khushi
  • 325
  • 1
  • 11
  • 32
3
votes
0 answers

prolems with DB "save" with @LastModifiedDate and @LastModifiedBy

I've setup Spring Data JPA Auditing as it is described in the docs. I think its configured correctly because on insert, i have all 4 fields (created, createdBy, modified, modifiedBy) filled in correctly. Now the interesting part. On modification of…
Logemann
  • 2,767
  • 33
  • 53
3
votes
2 answers

Can I force spring-data to update auditable fields even if JPA entity not dirty?

I'm using Spring-data-jpa with auditing. I essentially want to "touch" my entity - I want to update the @LastModifiedDate and @LastModifiedBy fields even though I have made no changes to the object. Essentially, I'm looking to make these two fields…
Eric B.
  • 23,425
  • 50
  • 169
  • 316
3
votes
1 answer

Hibernate Envers SQL auditing

I was wondering if anyone had succeeded in auditing a native query (SQL) with Hibernate Envers? I know this is probably just wrong, but it would spare me a lot of refactoring time. Cheers Nick
nicolasl
  • 421
  • 3
  • 16