# Osano

> Handle privacy work in Osano: subject rights requests and their action items, cookie consent rules and discoveries, and the data stores in your data map.

App · 25 actions. Web page: https://docs.lodol.com/docs/integrations/osano

## Actions

### Add activity to request

Record something done offline on a subject rights request in its activity log.

**Inputs**

- Request ID (`request_id`, text, required): The subject rights request's ID.
- Note (`note`, text, required): What was done.
- Done by (`user`, text): Who did it. Osano records the API key's user when this is empty.
- When (`timestamp`, date and time): When it was done. Osano uses the current time when this is empty.

**Outputs**

- `data` (object): The response from Osano.

**Example output**

```json
{
  "data": {
    "added": true,
    "request_id": "example"
  }
}
```

### Create data store

Add a data store to your data map, such as an internal database or a SaaS app.

**Inputs**

- Name (`name`, text, required): The data store's name.
- Description (`description`, text): What the data store holds.
- Alias (`alias`, text): Another name for it.
- Connector (`connector_id`, number): The Osano connector it uses, for a SaaS or on-premises system. At least 1.

**Outputs**

- `data` (object): The response from Osano.

**Example output**

```json
{
  "data": {
    "active": true,
    "alias": "example",
    "connector": {
      "authType": "example",
      "connectorId": 1,
      "productName": "example"
    },
    "created": "example",
    "dataStoreId": 1,
    "description": "example",
    "fieldsWithUserData": 1,
    "labels": [
      {
        "labelId": "example",
        "name": "example"
      }
    ],
    "lastSync": "example",
    "metadata": {},
    "name": "example",
    "owners": [
      {
        "email": "example",
        "primary": true
      }
    ],
    "status": "example",
    "totalFields": 1,
    "type": "example",
    "unclassifiedFields": 1
  }
}
```

### Create request

Record a subject rights request for someone, such as one received by phone or email. Osano sends no verification email for it.

**Inputs**

- Form (`form_id`, number, required): The request form to file it under. At least 1.
- Type (`request_type`, text, required): What the person is asking for. One of: `DELETE` (Delete my data), `SUMMARIZE` (Access my data (summary)), `PORTABILITY` (Copy of my data (portability)), `CORRECT` (Correct my data), `DO_NOT_SELL` (Do not sell my data), `OPT_OUT` (Opt out), `OPT_OUT_OF_PROFILING` (Opt out of profiling), `OPT_OUT_OF_USING_SENSITIVE_DATA` (Opt out of using sensitive data), `LIMIT_USE` (Limit use), `RESTRICT_PROCESSING` (Restrict processing), and 8 more.
- Status (`status`, text, required): The request's status to start with. One of: `PENDING_EMAIL_VERIFICATION` (Waiting for email verification), `PENDING_IDENTITY_VERIFICATION` (Waiting for identity verification), `IN_PROGRESS` (In progress), `IN_REVIEW` (In review), `PENDING_APPEAL` (Appeal pending), `COMPLETED`, `REJECTED`, `REJECTED_AUTO` (Rejected automatically).
- Email (`email`, text, required): The person's email address.
- First name (`given_name`, text): The person's first name.
- Last name (`family_name`, text): The person's last name.
- Due (`due`, date and time): When the request must be answered by.
- Notes (`notes`, text): Notes about the request.
- Email the requester (`notify_email`, true/false): Email the person about the request's status.
- Rejection reason (`rejection_reason`, text): Why it was rejected, when the status is Rejected. One of: `TECHNICALLY_INFEASIBLE` (Technically infeasible), `REJECTED_APPEAL` (Appeal rejected), `UNCOVERED_GEO` (Location not covered), `DUPLICATE`, `UNFOUNDED`, `OTHER`, `IDENTITY_NOT_VERIFIED` (Identity not verified).

**Outputs**

- `data` (object): The response from Osano.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "created": "example",
        "dsarDetails": {},
        "dsarId": "example",
        "due": "example",
        "form": {
          "formId": 1,
          "formName": "example"
        },
        "isTest": true,
        "notes": "example",
        "requestSource": "example",
        "requestType": "example",
        "status": "example"
      }
    ],
    "next": "example"
  }
}
```

### Create rule

Add a cookie consent rule that puts a cookie, script, iframe or local storage item in a consent category. It takes effect when the configuration is next published.

**Inputs**

- Configuration (`config_id`, text, required): The cookie consent configuration.
- Kind (`store_type`, text, required): The kind of item the rule is for. One of: `cookie`, `script`, `iframe`, `localStorage` (Local storage).
- Category (`classification`, text, required): The consent category the rule puts matching items in. One of: `ESSENTIAL`, `ANALYTICS`, `MARKETING`, `PERSONALIZATION`, `HIDDEN`, `BLACKLISTED`.
- Rule (`rule`, text, required): What the rule matches: a cookie name, script URL, iframe URL or local storage key.
- Title (`title`, text): The name shown in the consent disclosure in place of the rule.
- Vendor (`vendor_name`, text): The vendor the item belongs to.
- Disclose (`disclosure`, true/false): Show the rule in the consent disclosure.
- Description (`description`, text): A description of the cookie for disclosures. Cookie rules only.
- Expiry (`expiry`, text): How long until the cookie expires, such as 1 year. Cookie rules only.

**Outputs**

- `data` (object): The response from Osano.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "classification": "example",
        "configId": "example",
        "created": "example",
        "description": "example",
        "disclosure": true,
        "expiry": "example",
        "rule": "example",
        "ruleId": 1,
        "title": "example",
        "type": "example",
        "updated": "example",
        "vendorId": "example",
        "vendorName": "example"
      }
    ],
    "next": "example"
  }
}
```

### Deactivate data store

Deactivate a data store, so it is no longer used in data mapping.

**Inputs**

- Data store (`data_store_id`, number, required): The data store. At least 1.

**Outputs**

- `data` (object): The response from Osano.

**Example output**

```json
{
  "data": {
    "data_store_id": 1,
    "deactivated": true
  }
}
```

### Delete rule

Delete a cookie consent rule.

**Inputs**

- Rule ID (`rule_id`, number, required): The rule's ID. At least 1.

**Outputs**

- `data` (object): The response from Osano.

**Example output**

```json
{
  "data": {
    "deleted": true,
    "rule_id": 1
  }
}
```

### Get action item

Get one action item of a subject rights request.

**Inputs**

- Action item ID (`action_item_id`, number, required): The action item's ID. At least 1.

**Outputs**

- `data` (object): The response from Osano.

**Example output**

```json
{
  "data": {
    "actionItemType": "example",
    "assignees": [
      "example"
    ],
    "completionType": "example",
    "created": "example",
    "dataStore": {
      "dataStoreId": 1,
      "name": "example"
    },
    "dsarActionItemId": 1,
    "dsarDetails": {},
    "dsarId": "example",
    "due": "example",
    "internalNotes": "example",
    "isTest": true,
    "requestStatus": "example",
    "requestType": "example",
    "status": "example",
    "task": {
      "name": "example",
      "taskId": 1
    }
  }
}
```

### Get cookie consent configuration

Get a cookie consent configuration with all its settings.

**Inputs**

- Configuration (`config_id`, text, required): The cookie consent configuration.

**Outputs**

- `data` (object): The response from Osano.

**Example output**

```json
{
  "data": {
    "configId": "example",
    "configuration": {},
    "created": 1,
    "customerId": "example",
    "domains": [
      "example"
    ],
    "lastPublished": 1,
    "mode": "example",
    "name": "example",
    "orgIds": [
      "example"
    ],
    "publishStatus": "example",
    "publishedRevision": 1,
    "tattleRecordStopped": true,
    "updated": 1
  }
}
```

### Get data store

Get a data store: its owners, connector, labels and field counts.

**Inputs**

- Data store (`data_store_id`, number, required): The data store. At least 1.

**Outputs**

- `data` (object): The response from Osano.

**Example output**

```json
{
  "data": {
    "active": true,
    "alias": "example",
    "connector": {
      "authType": "example",
      "connectorId": 1,
      "productName": "example"
    },
    "created": "example",
    "dataStoreId": 1,
    "description": "example",
    "fieldsWithUserData": 1,
    "labels": [
      {
        "labelId": "example",
        "name": "example"
      }
    ],
    "lastSync": "example",
    "metadata": {},
    "name": "example",
    "owners": [
      {
        "email": "example",
        "primary": true
      }
    ],
    "status": "example",
    "totalFields": 1,
    "type": "example",
    "unclassifiedFields": 1
  }
}
```

### Get request

Get a subject rights request: its type, status, due date, form and the requester's details.

**Inputs**

- Request ID (`request_id`, text, required): The subject rights request's ID.

**Outputs**

- `data` (object): The response from Osano.

**Example output**

```json
{
  "data": {
    "created": "example",
    "dsarDetails": {},
    "dsarId": "example",
    "due": "example",
    "form": {
      "formId": 1,
      "formName": "example"
    },
    "isTest": true,
    "notes": "example",
    "requestSource": "example",
    "requestType": "example",
    "status": "example"
  }
}
```

### List action items

List the action items of subject rights requests: the data stores and tasks to search for each request.

**Inputs**

- Request ID (`dsar_id`, text): Only action items of this request.
- Status (`status`, text): Only action items with this status. One of: `IN_PROGRESS` (In progress), `COMPLETED`, `REJECTED`.
- Created after (`after`, date and time): Only action items created after this time.
- Test requests (`test_requests`, text): Whether test requests appear. Osano leaves them out when this is empty. One of: `exclude` (Leave out test requests), `include` (Include test requests), `only` (Only test requests).
- Limit (`limit`, number): How many records to return. From 1 to 500.
- Next page token (`next`, text): The next token from the previous page, to read the next one.

**Outputs**

- `data` (object): The response from Osano.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "actionItemType": "example",
        "assignees": [
          "example"
        ],
        "completionType": "example",
        "created": "example",
        "dataStore": {
          "dataStoreId": 1,
          "name": "example"
        },
        "dsarActionItemId": 1,
        "dsarDetails": {},
        "dsarId": "example",
        "due": "example",
        "internalNotes": "example",
        "isTest": true,
        "requestStatus": "example",
        "requestType": "example",
        "status": "example",
        "task": {
          "name": "example",
          "taskId": 1
        }
      }
    ],
    "next": "example"
  }
}
```

### List connectors

List the SaaS and on-premises systems Osano can connect to for data discovery.

**Inputs**

- Name (`name`, text): Only connectors whose product name contains this.
- Kind (`connector_type`, text): Only SaaS or only on-premises connectors. One of: `saas`, `onprem` (On-premises).
- Limit (`limit`, number): How many records to return. From 1 to 500.
- Next page token (`next`, text): The next token from the previous page, to read the next one.

**Outputs**

- `data` (object): The response from Osano.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "authType": "example",
        "connectorId": 1,
        "productName": "example"
      }
    ],
    "next": "example"
  }
}
```

### List cookie consent changes

List changes made to cookie consent configurations and rules, newest first, with who made them.

**Inputs**

- Configurations (`config_ids`, list): Only changes to these configurations.
- Kind of change (`change_type`, text): Only this kind of change. One of: `text_customization` (Text customization), `style`, `iab`, `setting`, `rule`.
- Changed by (`actor`, text): Only changes made by this person (their email).
- From (`start_date`, date and time): Only changes at or after this time.
- Until (`end_date`, date and time): Only changes before this time.
- Limit (`limit`, number): How many changes to return, up to 200. From 1 to 200.
- Next page token (`next`, text): The next token from the previous page, to read the next one.

**Outputs**

- `data` (object): The response from Osano.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "actor": "example",
        "eventType": "example",
        "id": "example",
        "metadata": {},
        "module": "example",
        "resources": [
          {}
        ],
        "timestamp": "example"
      }
    ],
    "next": "example"
  }
}
```

### List cookie consent configurations

List the cookie consent configurations, with their domains, mode and publish status.

**Inputs**

- Name (`name`, text): Only configurations whose name contains this.
- Mode (`mode`, text): Only configurations in this mode. One of: `debug`, `permissive`, `production`.
- Publish status (`publish_status`, text): Only configurations with this publish status. One of: `unpublished`, `in-progress`, `published`, `outdated`, `error`.
- Limit (`limit`, number): How many records to return. From 1 to 500.
- Next page token (`next`, text): The next token from the previous page, to read the next one.

**Outputs**

- `data` (object): The response from Osano.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "configId": "example",
        "configuration": {},
        "created": 1,
        "customerId": "example",
        "domains": [
          "example"
        ],
        "lastPublished": 1,
        "mode": "example",
        "name": "example",
        "orgIds": [
          "example"
        ],
        "publishStatus": "example",
        "publishedRevision": 1,
        "tattleRecordStopped": true,
        "updated": 1
      }
    ],
    "next": "example"
  }
}
```

### List data stores

List the data stores in your data map: the systems that hold personal data.

**Inputs**

- Name (`name`, text): Only data stores whose name contains this.
- Kind (`data_store_type`, text): Only data stores of this kind. One of: `internal`, `saas`, `onprem` (On-premises).
- Active (`active`, true/false): Active or deactivated data stores. Osano lists active ones when this is empty.
- Created after (`after`, date and time): Only data stores created after this time.
- Limit (`limit`, number): How many records to return. From 1 to 500.
- Next page token (`next`, text): The next token from the previous page, to read the next one.

**Outputs**

- `data` (object): The response from Osano.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "active": true,
        "alias": "example",
        "connector": {
          "authType": "example",
          "connectorId": 1,
          "productName": "example"
        },
        "created": "example",
        "dataStoreId": 1,
        "description": "example",
        "fieldsWithUserData": 1,
        "labels": [
          {
            "labelId": "example",
            "name": "example"
          }
        ],
        "lastSync": "example",
        "metadata": {},
        "name": "example",
        "owners": [
          {
            "email": "example",
            "primary": true
          }
        ],
        "status": "example",
        "totalFields": 1,
        "type": "example",
        "unclassifiedFields": 1
      }
    ],
    "next": "example"
  }
}
```

### List discoveries

List the cookies, scripts, iframes and local storage Osano found on your sites that no rule covers yet, with its suggested category.

**Inputs**

- Configuration (`config_id`, text): Only this cookie consent configuration.
- Kind (`type`, text): Only this kind of item. One of: `cookie`, `script`, `iframe`, `localStorage` (Local storage).
- Suggested category (`classification`, text): Only items with this suggested category. One of: `ESSENTIAL`, `ANALYTICS`, `MARKETING`, `PERSONALIZATION`, `HIDDEN`, `BLACKLISTED`.
- Limit (`limit`, number): How many records to return. From 1 to 500.
- Next page token (`next`, text): The next token from the previous page, to read the next one.

**Outputs**

- `data` (object): The response from Osano.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "classification": "example",
        "confidence": "example",
        "configId": "example",
        "configName": "example",
        "created": "example",
        "description": "example",
        "expiry": "example",
        "firstPageSeen": "example",
        "pattern": "example",
        "scanOrigin": "example",
        "storeKey": "example",
        "type": "example",
        "updated": "example",
        "vendorId": "example",
        "vendorName": "example"
      }
    ],
    "next": "example"
  }
}
```

### List portal messages

List the messages exchanged with the requester on a subject rights request's portal.

**Inputs**

- Request ID (`request_id`, text, required): The subject rights request's ID.
- After (`after`, date and time): Only messages after this time.
- Limit (`limit`, number): How many records to return. From 1 to 500.
- Next page token (`next`, text): The next token from the previous page, to read the next one.

**Outputs**

- `data` (object): The response from Osano.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "attachments": [
          {}
        ],
        "content": "example",
        "messageId": 1,
        "read": true,
        "sent": "example",
        "source": "example"
      }
    ],
    "next": "example"
  }
}
```

### List request types

List the kinds of subject rights request and the privacy laws each applies under.

**Inputs**

- Country (`country`, text): Only laws of this country (two-letter code, such as US).
- Privacy law (`privacy_law_name`, text): Only this privacy law, such as CCPA.

**Outputs**

- `data` (object): The response from Osano.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "applicableLaws": [
          {}
        ],
        "requestType": "example",
        "requestTypeCategory": "example"
      }
    ]
  }
}
```

### List requests

List subject rights requests, newest first, filtered by status, type, source or form.

**Inputs**

- Status (`status`, text): Only requests with this status. One of: `PENDING_EMAIL_VERIFICATION` (Waiting for email verification), `PENDING_IDENTITY_VERIFICATION` (Waiting for identity verification), `IN_PROGRESS` (In progress), `IN_REVIEW` (In review), `PENDING_APPEAL` (Appeal pending), `COMPLETED`, `REJECTED`, `REJECTED_AUTO` (Rejected automatically).
- Type (`request_type`, text): Only requests of this type. One of: `DELETE` (Delete my data), `SUMMARIZE` (Access my data (summary)), `PORTABILITY` (Copy of my data (portability)), `CORRECT` (Correct my data), `DO_NOT_SELL` (Do not sell my data), `OPT_OUT` (Opt out), `OPT_OUT_OF_PROFILING` (Opt out of profiling), `OPT_OUT_OF_USING_SENSITIVE_DATA` (Opt out of using sensitive data), `LIMIT_USE` (Limit use), `RESTRICT_PROCESSING` (Restrict processing), and 8 more.
- Source (`source`, text): Only requests that came in this way. One of: `ADMIN` (Added by an admin), `AGENT_WEB` (Agent web form), `API`, `CMP` (Consent banner), `CSV` (CSV import), `EMAIL_INTAKE` (Email), `WEB` (Web form).
- Form (`form_id`, number): Only requests made through this form. At least 1.
- Created after (`after`, date and time): Only requests created after this time.
- Test requests (`test_requests`, text): Whether test requests appear. Osano leaves them out when this is empty. One of: `exclude` (Leave out test requests), `include` (Include test requests), `only` (Only test requests).
- Limit (`limit`, number): How many records to return. From 1 to 500.
- Next page token (`next`, text): The next token from the previous page, to read the next one.

**Outputs**

- `data` (object): The response from Osano.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "created": "example",
        "dsarDetails": {},
        "dsarId": "example",
        "due": "example",
        "form": {
          "formId": 1,
          "formName": "example"
        },
        "isTest": true,
        "notes": "example",
        "requestSource": "example",
        "requestType": "example",
        "status": "example"
      }
    ],
    "next": "example"
  }
}
```

### List rules

List the cookie consent rules that put cookies, scripts, iframes and local storage in consent categories.

**Inputs**

- Configuration (`config_id`, text): Only this cookie consent configuration.
- Rule (`rule`, text): Only rules matching exactly this.
- Kind (`type`, text): Only rules for this kind of item. One of: `cookie`, `script`, `iframe`, `localStorage` (Local storage).
- Match type (`rule_type`, text): Only rules that match this way. One of: `EXACT_MATCH` (Exact match), `STARTS_WITH` (Starts with), `ENDS_WITH` (Ends with), `CONTAINS`, `DOMAIN`, `PATH`, `FILENAME` (File name), `REGEXP` (Regular expression).
- Category (`classification`, text): Only rules for this category. One of: `ESSENTIAL`, `ANALYTICS`, `MARKETING`, `PERSONALIZATION`, `HIDDEN`, `BLACKLISTED`.
- Limit (`limit`, number): How many records to return. From 1 to 500.
- Next page token (`next`, text): The next token from the previous page, to read the next one.

**Outputs**

- `data` (object): The response from Osano.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "classification": "example",
        "configId": "example",
        "created": "example",
        "description": "example",
        "disclosure": true,
        "expiry": "example",
        "rule": "example",
        "ruleId": 1,
        "title": "example",
        "type": "example",
        "updated": "example",
        "vendorId": "example",
        "vendorName": "example"
      }
    ],
    "next": "example"
  }
}
```

### Send portal message

Send the requester a message on their subject rights request's portal.

**Inputs**

- Request ID (`request_id`, text, required): The subject rights request's ID.
- Message (`content`, text, required): The message.

**Outputs**

- `data` (object): The response from Osano.

**Example output**

```json
{
  "data": {
    "request_id": "example",
    "sent": true
  }
}
```

### Update action item

Assign an action item, change its status or notes. When completing it, say whether data was found.

**Inputs**

- Action item ID (`action_item_id`, number, required): The action item's ID. At least 1.
- Status (`status`, text): The action item's new status. One of: `IN_PROGRESS` (In progress), `COMPLETED`, `REJECTED`.
- Assignees (`assignees`, list): The emails of the people to assign it to. This replaces the current assignees.
- Internal notes (`internal_notes`, text): Notes for your team.
- Data found (`results_found`, true/false): Whether data about the person was found. Give this when completing it.

**Outputs**

- `data` (object): The response from Osano.

**Example output**

```json
{
  "data": {
    "actionItemType": "example",
    "assignees": [
      "example"
    ],
    "completionType": "example",
    "created": "example",
    "dataStore": {
      "dataStoreId": 1,
      "name": "example"
    },
    "dsarActionItemId": 1,
    "dsarDetails": {},
    "dsarId": "example",
    "due": "example",
    "internalNotes": "example",
    "isTest": true,
    "requestStatus": "example",
    "requestType": "example",
    "status": "example",
    "task": {
      "name": "example",
      "taskId": 1
    }
  }
}
```

### Update data store

Change a data store's name, description, alias or country. Empty fields are left as they are.

**Inputs**

- Data store (`data_store_id`, number, required): The data store. At least 1.
- Name (`name`, text): The new name.
- Description (`description`, text): The new description.
- Alias (`alias`, text): The new alias.
- Country (`country`, text): Where the data is kept (two-letter country code, such as US).

**Outputs**

- `data` (object): The response from Osano.

**Example output**

```json
{
  "data": {
    "active": true,
    "alias": "example",
    "connector": {
      "authType": "example",
      "connectorId": 1,
      "productName": "example"
    },
    "created": "example",
    "dataStoreId": 1,
    "description": "example",
    "fieldsWithUserData": 1,
    "labels": [
      {
        "labelId": "example",
        "name": "example"
      }
    ],
    "lastSync": "example",
    "metadata": {},
    "name": "example",
    "owners": [
      {
        "email": "example",
        "primary": true
      }
    ],
    "status": "example",
    "totalFields": 1,
    "type": "example",
    "unclassifiedFields": 1
  }
}
```

### Update request

Change a subject rights request's status or notes, and optionally email the person when it is completed or rejected.

**Inputs**

- Request ID (`request_id`, text, required): The subject rights request's ID.
- Status (`status`, text): The request's new status. One of: `PENDING_EMAIL_VERIFICATION` (Waiting for email verification), `PENDING_IDENTITY_VERIFICATION` (Waiting for identity verification), `IN_PROGRESS` (In progress), `IN_REVIEW` (In review), `PENDING_APPEAL` (Appeal pending), `COMPLETED`, `REJECTED`, `REJECTED_AUTO` (Rejected automatically).
- Notes (`notes`, text): New notes for the request.
- Email the requester (`notify`, true/false): Email the person when the status is Completed or Rejected.
- Message (`content`, text): The message emailed to the person when it is completed or rejected.
- Rejection reason (`rejection_reason`, text): Why it was rejected, when the status is Rejected. One of: `TECHNICALLY_INFEASIBLE` (Technically infeasible), `REJECTED_APPEAL` (Appeal rejected), `UNCOVERED_GEO` (Location not covered), `DUPLICATE`, `UNFOUNDED`, `OTHER`, `IDENTITY_NOT_VERIFIED` (Identity not verified).

**Outputs**

- `data` (object): The response from Osano.

**Example output**

```json
{
  "data": {
    "created": "example",
    "dsarDetails": {},
    "dsarId": "example",
    "due": "example",
    "form": {
      "formId": 1,
      "formName": "example"
    },
    "isTest": true,
    "notes": "example",
    "requestSource": "example",
    "requestType": "example",
    "status": "example"
  }
}
```

### Update rule

Change a cookie consent rule. Empty fields are left as they are.

**Inputs**

- Rule ID (`rule_id`, number, required): The rule's ID. At least 1.
- Category (`classification`, text): The consent category the rule puts matching items in. One of: `ESSENTIAL`, `ANALYTICS`, `MARKETING`, `PERSONALIZATION`, `HIDDEN`, `BLACKLISTED`.
- Rule (`rule`, text): What the rule matches: a cookie name, script URL, iframe URL or local storage key.
- Title (`title`, text): The name shown in the consent disclosure in place of the rule.
- Vendor (`vendor_name`, text): The vendor the item belongs to.
- Disclose (`disclosure`, true/false): Show the rule in the consent disclosure.
- Description (`description`, text): A description of the cookie for disclosures. Cookie rules only.
- Expiry (`expiry`, text): How long until the cookie expires, such as 1 year. Cookie rules only.

**Outputs**

- `data` (object): The response from Osano.

**Example output**

```json
{
  "data": {
    "classification": "example",
    "configId": "example",
    "created": "example",
    "description": "example",
    "disclosure": true,
    "expiry": "example",
    "rule": "example",
    "ruleId": 1,
    "title": "example",
    "type": "example",
    "updated": "example",
    "vendorId": "example",
    "vendorName": "example"
  }
}
```
