Audit System

Follow

NOTE: THIS EXTENSION IS COMMUNITY-TESTED AND IS NOT PART OF OUR REGULAR RELEASE CYCLE. THIS EXTENSION IS FOR THE LATEST VERSION OF APPRENDA. IF YOU ENCOUNTER AN ISSUE OR REQUIRE A PREVIOUS VERSION, PLEASE LEAVE A COMMENT AND WE'LL ADDRESS IT ASAP.

The following extension provides a simple audit system for major platform events. The application is three-tiered with a UI for displaying the audit messages, a service layer to handle the business logic and implement the extension hook points, and a database to store the data.

AuditSystem.jpg

Implementing the Extension

Note: The UI for this application uses the MVC 3 Framework. You will need to have it installed in your development workstation.

  1. Download the Visual Studio Solution for the extension.
  2. Open the solution.
  3. Compile the solution.
  4. Prepare an Archive manually or using the Apprenda Archive Builder.
  5. Create a new Application in Apprenda (no Apprenda services selected).
  6. Upload the Archive.
  7. Promote the Application.
  8. Access the SOC for your Apprenda Instance.
  9. Go to the Platform Registry and add the following settings:

     

    • Setting Name: @CitadelExtServices
    • Setting Value: {alias of your application}/CitadelExtensions
    • Setting Name: @DeveloperPortalExtServices
    • Setting Value: {alias of your application}/DeveloperPortalExtensions
    • Setting Name: @AccountPortalExtServices
    • Setting Value: {alias of your application}/AccountPortalExtensions

Note: if your extension application is not in the Published stage, you will have to append the version alias (v1,v2, etc).

The extension service will automatically get deployed when a request is detected or when the application is launched. You can then launch your extension application to see the audit messages that have been logged.

Downloading the Extension

To download the Visual Studio Solution for this extension, click on the link below.

Audit System Source Code

Have more questions? Submit a request

Comments

  • Avatar
    joe d'andrea

    should base be called so whatever apprenda is doing is not overridden
    public override void OnUserLogout(string userName)
    {
    AuditMessage.AddAuditMessage(userName, "The user has logged out of the Apprenda Platform");
    base.OnUserLogout(userName);
    }

    i know old post just checking it out , i likey