auditing

TFS 2012: Correllating binaries to builds and source code

放肆的年华 提交于 2020-01-01 19:14:11
问题 I'm starting to dive into TFS 2012 and I have a basic understanding of the tiers and how build servers, controllers and agents work and how different build scripts can have different configurations and projects. However, one of the things I'm struggling with is a requirement for our source control solution that says that I need to be able to prove a particular changeset or shelfset produced a particular build. That is, given a particular binary, I can point to a release changeset that

How to manage object revisions in Grails?

流过昼夜 提交于 2020-01-01 04:04:31
问题 I need to implement a revision system for articles in my grails web app. After searching grails forum, stackoverflow, grails plugins and googling internet, I have ended up with 3 options: Option 1 - Using the grails Envers plugin (see http://code.google.com/p/grails-envers-plugin/). Has anyone used it successfully? Or using Envers without the plugin (see here) but how can I make it work with GORM? Option 2 - Using the Gvers plugin I have found out here: https://github.com/ziftytodd/gvers. I

mysql (almost) complete auditing

时光怂恿深爱的人放手 提交于 2020-01-01 03:51:06
问题 I'm looking for a way of making simple event log for my tables. I have few tables that can be changed by various users, and I want to keep track on: - who made the change - when - what was before update - what is the new value - which table and which record & column somthing like will be great: 20:00:00 | john | update | products | 113 | product_name | "xbox" | "xbox 360" 20:00:10 | jim | update | products | 113 | product_name | "xbox 360" | "" 20:01:00 | jim | delete | products | 113 So i

MVC3 NHibernate, SQL audit

雨燕双飞 提交于 2019-12-23 03:16:10
问题 I have some misunderstandings about the implementation of an SQL audit module , using as ORM Fluent NHibernate . So here is the situation: We are talking about a Client-Server application build on MVC3 framework. Suppose there we have a method which renders the grid : [HttpGet] public ActionResult ShowGrid() { var gridModel = _gridService.GetAllRecords(); return View(gridModel); } Now when somebody executes a DB Inser/Update/Delete command, I want that every client which views that grid to

MVC3 NHibernate, SQL audit

北慕城南 提交于 2019-12-23 03:16:04
问题 I have some misunderstandings about the implementation of an SQL audit module , using as ORM Fluent NHibernate . So here is the situation: We are talking about a Client-Server application build on MVC3 framework. Suppose there we have a method which renders the grid : [HttpGet] public ActionResult ShowGrid() { var gridModel = _gridService.GetAllRecords(); return View(gridModel); } Now when somebody executes a DB Inser/Update/Delete command, I want that every client which views that grid to

SQL Server 2008 Change Data Capture, who made the change?

ⅰ亾dé卋堺 提交于 2019-12-22 04:09:13
问题 I asked a question on SOF a week or so ago about auditing SQL data changes. The usual stuff about using triggers came up, there was also the mention of CDC in SQL Server 2008. I've been trying it out today and so far so good, the one thing I can't see it supports is keeping a track of who actually made the change. Who executed the statement? I'm interested to know if anyone has used CDC for auditing and how you kept track of who made the change? 回答1: I altered the CDC table directly using:

How to track online users in Rails?

人盡茶涼 提交于 2019-12-21 01:18:39
问题 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 current time every time user clicks somewhere on the site, and then checking for users which have updated that field in (lets say) last 10 minutes. What other methods are there besides this one? 回答1: If you are using the active_record_store for

Spring Data JPA and Spring Boot auditing with Hibernate Envers

蹲街弑〆低调 提交于 2019-12-19 10:27:18
问题 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 doesn't track deletions? So my Question is : 1) Can we integrate Hibernate Envers with Spring data JPA? 2) We have native queries, HQLs and Spring data JPA update/save/delete dynamic queries, so would Hibernate envers be able to track object for

Entity Framework - Auditing activity

梦想与她 提交于 2019-12-17 15:51:46
问题 My database has a 'LastModifiedUser' column on every table in which I intend to collect the logged in user from an application who makes a change. I am not talking about the database user so essentially this is just a string on each entity. I would like to find a way to default this for each entity so that other developers don't have to remember to assign it any time they instantiate the entity. So something like this would occur: using (EntityContext ctx = new EntityContext()) { MyEntity foo

Spring data auditing not working in my project

感情迁移 提交于 2019-12-13 18:22:21
问题 I'm trying to configure spring data auditing. I use Hibernate 4.1.6, hibernate-jpa 2.0, spring-data-jpa 1.1.0, spring 3.1.2 (I've added spring-aspects to the dependecies since I got an error without it). I've based my project configuration on this example with some modifications: My entity don't extend AbstractAuditable but implements Auditable interface I don't have a persistence.xml where to put the jadira properties and I used the following annotation on DateTime properties instead: @Type