Jump to: navigation, search
Line 1: Line 1:
 
=Web Services & Applications Support for GDPR=
 
=Web Services & Applications Support for GDPR=
 +
 +
{{Editgrn_open}}Under Development{{Editgrn_close}}
 +
{{#jira:HTCC-29660}}
  
 
==Deleting PII==
 
==Deleting PII==
Line 5: Line 8:
  
 
The script can be run with the following parameters:  
 
The script can be run with the following parameters:  
 +
 
<tt>gdpr_forget_me.py [-h] [--gws GWS] --cass_keyspace CASS_KEYSPACE --cass_hostname CASS_HOSTNAME --cass_port CASS_PORT --search SEARCH [--group_name GROUP_NAME] [--cleanup CLEANUP] [--gws_username GWS_USERNAME] [--gws_user_password GWS_USER_PASSWORD] [--gws_additional_headers GWS_ADDITIONAL_HEADERS]</tt>
 
<tt>gdpr_forget_me.py [-h] [--gws GWS] --cass_keyspace CASS_KEYSPACE --cass_hostname CASS_HOSTNAME --cass_port CASS_PORT --search SEARCH [--group_name GROUP_NAME] [--cleanup CLEANUP] [--gws_username GWS_USERNAME] [--gws_user_password GWS_USER_PASSWORD] [--gws_additional_headers GWS_ADDITIONAL_HEADERS]</tt>
  

Revision as of 08:17, May 11, 2018

Web Services & Applications Support for GDPR

Under Development


Deleting PII

The gdpr_forget_me.py script provides an option to delete personal data from the Personal Favorites where the agent fills the information about the user.

The script can be run with the following parameters:

gdpr_forget_me.py [-h] [--gws GWS] --cass_keyspace CASS_KEYSPACE --cass_hostname CASS_HOSTNAME --cass_port CASS_PORT --search SEARCH [--group_name GROUP_NAME] [--cleanup CLEANUP] [--gws_username GWS_USERNAME] [--gws_user_password GWS_USER_PASSWORD] [--gws_additional_headers GWS_ADDITIONAL_HEADERS]

The following software packages are required to run this script:

  • Python 2.7
  • PyCassa 1.9.1

Parameters

Parameter Name Mandatory Description
--cass_keyspace CASS_KEYSPACE Yes Cassandra keyspace name
--cass_hostname CASS_HOSTNAME Yes Cassandra hostname
--cass_port CASS_PORT Yes Cassandra thrift port
--search SEARCH Yes Search text: email or phone number
-h, --help No Show this help message and exit
--group_name GROUP_NAME No https://docs.genesys.com/Documentation/HTCC/8.5.2/API/UserSettings]. For example, interaction-workspace-personal-favorites.
--cleanup CLEANUP No If cleanup value is 'true' the script will send requests to GWS to delete matched settings. Default value is false
--gws_username GWS_USERNAME No Username of GWS user who has admin role. The user used to delete matched data via GWS API.
--gws_user_password GWS_USER_PASSWORD No Password of the user who was described in--gws_username
--gws_additional_headers GWS_ADDITIONAL_HEADERS No Additional headers which will be added to request to GWS. CSRF headers must be added here. Headers are presented as json. For example, {"header_name": "header_value"}

Example

Comments or questions about this documentation? Contact us for support!