Data Protection and Privacy

General Data Protection Regulation Manager (GDPR) is an information framework that deals with Privacy of Personal Data. This service can be used by Data subject to identify and handle the privacy of personal data in the system. SAP provides specific features and functions to support compliance with regards to relevant legal requirements, including data protection. SAP IoT delivers predefined annotations com.sap.appiot.security:pii and com.sap.appiot.security:spi to support compliance with regard to relevant legal requirements, including data protection.

You can assign the predefined annotations for property set types when you create a property set type or update a property set type.

After you define the annotations, all properties of the property set type are considered as personal data or sensitive data based on the annotation defined. You can add annotation for a property set type if nothing is already assigned and even though the data exists for the properties. You cannot delete or change the already assigned annotation, if data exists for the properties of the property set type. Whenever you create or modify data for properties that are identified as personal data or sensitive data, the system must generate audit logs.

The following are examples of various configuration payloads illustrating how predefined annotations are assigned for a property set type.

Property Set Type Configuration (OData Service)

In the following example payload for creating a property set type, the predefined annotation com.sap.appiot.security:spi is assigned to the property set type core.automobiles:CarInfo to indicate that all properties of the property set type are considered as sensitive data:

{
	"Name": "core.automobiles:CarInfo",
	"DataCategory": "MasterData",
	"Descriptions": [{
		"LanguageCode": "en",
		"Description": "Master data for car information"
	}],
	"Annotations": [{
		"Name": "com.sap.appiot.security:spi",
		"PackageName": "com.sap.appiot.security"
	}],
	"Properties": [{
		"Name": "RegNum",
		"Descriptions": [{
			"LanguageCode": "en",
			"Description": "registration number"
		}],
		"Type": "String",
		"PropertyLength": "225"
		"UnitOfMeasure": "F"
	}]
}

Event Property Set Type Configuration (OData Service)

In the following example payload for creating an event property set type, the predefined annotation com.sap.appiot.security:spi is assigned to the property set type core.automobiles:TemparatureEventPST to indicate that all properties of the property set type are considered as sensitive data:

{
	"Name": "core.automobiles:TemparatureEventPST",
	"DataCategory": "EventData",
	"Descriptions": [{
		"LanguageCode": "en",
		"Description": "Properties in core.automobiles:TemperatureEventPST"
	}],
	"Annotations": [{
		"Name": "com.sap.appiot.security:spi"
	}],

	"Properties": [{
			"Name": "Temperature",
			"Descriptions": [{
				"LanguageCode": "en",
				"Description": "Temperature of the Engine"
			}],
			"Type": "Numeric",
			"PropertyLength": "",
			"QualityCode": "1",
			"UnitOfMeasure": "AA"
		},
		{
			"Name": "Pressure",
			"Descriptions": [{
				"LanguageCode": "en",
				"Description": "Pressure of the Engine"
			}],
			"Type": "Numeric",
			"PropertyLength": "",
			"QualityCode": "0",
			"UnitOfMeasure": "BA"
		}
	]
}