View Issue Details

IDProjectCategoryView StatusLast Update
0007971Compliance Test Tool (CTT) Unified Architecture1 - Script Issuepublic2022-05-12 16:31
ReporterFlorin Neamtu Assigned ToPaul Hunkar  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
PlatformWindowsOSWindows 
Product Version1.04.09.398 
Summary0007971: Server Auditing flag usage option based on OPC Foundation specification
Description

During testing of Auditing option the ctt seems to use a wrong node id for filtering auditing events

Steps To Reproduce

Select a project setting and provide a Server Url to a ReferenceServer from UA-.NETStandard-master for example

Inside ServerInternalData.CreateServerObject(....) you might modify the code as in the following example

ServerObjectState serverObject = m_serverObject = (ServerObjectState)m_diagnosticsNodeManager.FindPredefinedNode(
ObjectIds.Server,
typeof(ServerObjectState));

            serverObject.Auditing.Value = true;

or in other way that you like.

The result should be that all auditing event type messages should be allowed. The Server.Auditing variable value play a role in filtering the auditing event messages ...

In the compliance tool script part2.xml.js of version 1.4.9.398 there is the following definition:

{
"NodeClass": "NodeClass.Variable",
"NodeId": "i=2742",
"BrowseName": "Auditing",
"ParentNodeId": "i=2004",
"DataType": "BuiltInType.Boolean",
"DisplayName": "Auditing",
"Description": "A flag indicating whether the server is currently generating audit events.",
"Required": true,
"References": [
{

The 'i=2742' node identifier it looks for the ServerType.Auditing node defined in Types\ObjectTypes predefined collection of the server.

But the OPC Netstandard stack code defines another node Server.Auditing = 2994 that is an active variable node that should be changed instead modifying and use base type definition ServerType.Auditing !

Consulting the OPC Documentation for the auditing description there is no reference to the ServerType but always says about Server and Client Auditing.

Because there is no explicit description about auditing usage in OPC specification it wouldn't be better to consider using Server.Auditing = 2994 instead of ServerType.Auditing = 2742 node value as base auditing filtering testing criteria!?

TagsNo tags attached.
Files Affected

Activities

Paul Hunkar

2022-05-12 16:31

administrator   ~0016706

No changes to any scripts are required

Paul Hunkar

2022-05-12 16:31

administrator   ~0016707

reviewed inCMP call Agreed to no changes and closed

Issue History

Date Modified Username Field Change
2022-05-03 11:03 Florin Neamtu New Issue
2022-05-12 16:31 Paul Hunkar Assigned To => Paul Hunkar
2022-05-12 16:31 Paul Hunkar Status new => resolved
2022-05-12 16:31 Paul Hunkar Resolution open => no change required
2022-05-12 16:31 Paul Hunkar Note Added: 0016706
2022-05-12 16:31 Paul Hunkar Status resolved => closed
2022-05-12 16:31 Paul Hunkar Note Added: 0016707