# Tenant Preference

### dataSecurityPolicysunbird.tenant\_preference\_v2 \[PRIMARY KEY (orgid, key)]

Table used to store Tenant preference information

<table><thead><tr><th width="165.33333333333331">Column Name</th><th width="116">Data Type</th><th>Description</th><th>Sample Data</th></tr></thead><tbody><tr><td>orgid</td><td>text</td><td>organisation identifier whose preference details are stored</td><td>default</td></tr><tr><td>key</td><td>text</td><td>preference key id</td><td>dataSecurityPolicy/certList/selfdeclarations/userPrivateFields ....</td></tr><tr><td>createdby</td><td>text</td><td>Record created By</td><td>fbe926ac-a395-40e4-a65b-9b4f711d7642</td></tr><tr><td>createdon</td><td>timestamp</td><td>Record created On</td><td>2023-04-26 09:37:31.315000+0000</td></tr><tr><td>data</td><td>text</td><td>Preference details</td><td><pre class="language-json"><code class="lang-json">{"level":"PLAIN_DATASET","dataEncrypted":"No","comments":"Data is not encrypted","job":{"progress-exhaust":{"level":"PUBLIC_KEY_ENCRYPTED_DATASET","dataEncrypted":"No","comments":"Password protected file."},"response-exhaust":{"level":"TEXT_KEY_ENCRYPTED_DATASET","dataEncrypted":"No","comments":"Password protected file."},"userinfo-exhaust":{"level":"PASSWORD_PROTECTED_DATASET","dataEncrypted":"Yes","comments":"Password protected file."},"program-user-exhaust":{"level":"PLAIN_DATASET","dataEncrypted":"No","comments":"Data is not encrypted"}},"securityLevels":{"PLAIN_DATASET":"Data is present in plain text/zip. Generally applicable to open datasets.","PASSWORD_PROTECTED_DATASET":"Password protected zip file. Generally applicable to non PII data sets but can contain sensitive information which may not be considered open.","TEXT_KEY_ENCRYPTED_DATASET":"Data encrypted with a user provided encryption key. Generally applicable to non PII data but can contain sensitive information which may not be considered open.","PUBLIC_KEY_ENCRYPTED_DATASET":"Data encrypted via an org provided public/private key. Generally applicable to all PII data exhaust."}}
</code></pre></td></tr><tr><td>updatedby</td><td>text</td><td>Record updated By</td><td>fbe926ac-a395-40e4-a65b-9b4f711d7642</td></tr><tr><td>updatedon</td><td>timestamp</td><td>Record updated On</td><td>2023-06-27 08:44:54.019000+0000</td></tr></tbody></table>
