public void SecurityAlertAuditTest() { SecurityAlertAuditHelper helper = new SecurityAlertAuditHelper( new DicomAuditSource("testApp", "Site", AuditSourceTypeCodeEnum.ApplicationServerProcessTierInMultiTierSystem), EventIdentificationTypeEventOutcomeIndicator.Success, SecurityAlertEventTypeCodeEnum.NodeAuthentication); helper.AddReportingUser(new AuditProcessActiveParticipant("serverAe")); helper.AddActiveParticipant(new AuditPersonActiveParticipant("testUser", "test@test", "Test Name")); string output = helper.Serialize(true); Assert.IsNotEmpty(output); string failure; bool result = helper.Verify(out failure); Assert.IsTrue(result, failure); }
public void SecurityAlertAuditTest() { SecurityAlertAuditHelper helper = new SecurityAlertAuditHelper( new DicomAuditSource("testApp", "Site", AuditSourceTypeCodeEnum.ApplicationServerProcessTierInMultiTierSystem), EventIdentificationContentsEventOutcomeIndicator.Success, SecurityAlertEventTypeCodeEnum.NodeAuthentication); helper.AddReportingUser(new AuditProcessActiveParticipant("serverAe")); helper.AddActiveParticipant(new AuditPersonActiveParticipant("testUser", "test@test", "Test Name")); string output = helper.Serialize(true); Assert.IsNotEmpty(output); Assert.Ignore("Skipping schema validation due to schema bug #9455"); Exception exception; if (!helper.Verify(out exception)) { throw exception; } }
public void SecurityAlertAuditTest() { SecurityAlertAuditHelper helper = new SecurityAlertAuditHelper( new DicomAuditSource("testApp", "Site", AuditSourceTypeCodeEnum.ApplicationServerProcessTierInMultiTierSystem), EventIdentificationTypeEventOutcomeIndicator.Success,SecurityAlertEventTypeCodeEnum.NodeAuthentication); helper.AddReportingUser(new AuditProcessActiveParticipant("serverAe")); helper.AddActiveParticipant(new AuditPersonActiveParticipant("testUser", "test@test", "Test Name")); string output = helper.Serialize(true); Assert.IsNotEmpty(output); string failure; bool result = helper.Verify(out failure); Assert.IsTrue(result, failure); }
public void SecurityAlertAuditTest() { SecurityAlertAuditHelper helper = new SecurityAlertAuditHelper( new DicomAuditSource("testApp", "Site", AuditSourceTypeCodeEnum.ApplicationServerProcessTierInMultiTierSystem), EventIdentificationContentsEventOutcomeIndicator.Success,SecurityAlertEventTypeCodeEnum.NodeAuthentication); helper.AddReportingUser(new AuditProcessActiveParticipant("serverAe")); helper.AddActiveParticipant(new AuditPersonActiveParticipant("testUser", "test@test", "Test Name")); string output = helper.Serialize(true); Assert.IsNotEmpty(output); Assert.Ignore("Skipping schema validation due to schema bug #9455"); Exception exception; if (!helper.Verify(out exception)) throw exception; }