Previous Topic: Audit LogNext Topic: Database Tables


Audit Example

A typical scenario of a user performing CA Harvest SCM project actions and then of an administrator auditing those actions follows.

Example: Perform User Actions

This example shows the user JohnD performing the following CA Harvest SCM actions, and the records of the actions in the audit log.

  1. Log in as user JohnD to Broker1 with an invalid password.

    Action 1: The login fails.

  2. Log in as user JohnD to Broker1 with a valid password.

    The login succeeds.

  3. JohnD performs the following actions:

    Action 2: Creates project E1

    Action 3: Creates state S1 in project E1

    Action 4: Creates state process P1 in state S1

    Action 5: Creates linked process L1 in state process P1

  4. Events are recorded in the audit log as follows:

 

Action 1

Action 2

Action 3

Action 4

Action 5

AuditEventObjId

1

2

3

4

5

ActionObjId

411

200

700

1300

1700

SuccessFailure

F

S

S

S

S

ActionName

Login user

Create project

Create state

Create state process

Create linked process

EventTime

12/4/2006 11:10am

12/4/2006 11:15am

12/4/2006 11:20am

12/4/2006 11:25am

12/4/2006 11:28am

UsrObjId

10

10

10

10

10

UserName

JohnD

JohnD

JohnD

JohnD

JohnD

 

 

 

 

 

 

ClientHostname

HClient1

HClient1

HClient1

HClient1

HClient1

ClientProcessId

2358

2358

2358

2358

2358

ServerHostname

HBroker1

HBroker1

HBroker1

HBroker1

HBroker1

ServerProcessId

5867

5869

5868

5867

5868

 

 

 

 

 

 

ResourceTypeObjId

4

2

7

13

17

ResourceTypeName

User

Project

State

State Process

Linked Process

ResourceObjId

10

350

567

1200

1201

ResourceName

JohnD

E1

S1

P1

L1

 

 

 

 

 

 

ER1ResourceTypeObjId

1

1

1

1

1

ER1ResourceTypeName

Broker

Broker

Broker

Broker

Broker

ER1ResourceObjId

1

1

1

1

1

ER1ResourceName

HBroker1

HBroker1

HBroker1

HBroker1

HBroker1

 

 

 

 

 

 

ER2ResourceTypeObjId

 

 

2

2

2

ER2ResourceTypeName

 

 

Project

Project

Project

ER2ResourceObjId

 

 

350

350

350

ER2ResourceName

 

 

E1

E1

E1

 

 

 

 

 

 

ER3ResourceTypeObjId

 

 

 

7

7

ER3ResourceTypeName

 

 

 

State

State

ER3ResourceObjId

 

 

 

567

567

 

 

 

 

S1

S1

ER3ResourceName

 

 

 

 

 

 

 

 

 

 

 

ER4ResourceTypeObjId

 

 

 

 

13

ER4ResourceTypeName

 

 

 

 

State Process

ER4ResourceObjId

 

 

 

 

1200

ER4ResourceName

 

 

 

 

P1

Example: Query the Log View

This example shows how the administrator queries the log view using queries.