What's New
Last updated
Last updated
Integrations can now access the requesting user information from both the onMessage
and onDetails
hooks. This information includes the username
and id
. Read more about it on our new recipe page
Integration's can now implement a second order lookup when the summary block is expanded. Please see the section for more information.
Integration's can now send messages from the overlay window component to the server. This allows for interactive integrations (e.g., adding a button that triggers an action on the server). For more information on this feature please see the and sections of the documentation.
We added a simple recipe for adding user actions to your integration. You can find the recipe
Users can now specify what entity types an integration should receive via the Polarity user interface. Previously, allowing a user to toggle on and off a specific entity type required setting a custom option. Please note that an integration will still only allow a user to turn entity types on and off if they are specified in the integration's config.js
file as part of the entityTypes
or customTypes
properties.
*
Entity TypeThe integration config.js
is now validated to help catch mistakes. If your integration's config.js
file has invalid syntax in it you will now see an error describing the problem on the integration page when the integration is started.
SHA512
entity type is deprecatedThe built-in SHA512
type is now deprecated along with the isSHA512
flag found on entity objects. You will no longer receive entities for this built-in type but config files will still pass validation if the type is specified. If you need to support SHA512 lookups please use a custom regex.
geo
entity type is deprecatedThe built-in geo
entity type is now deprecated along with the isGeo
, latitude
and longitude
flags. You will no longer receive entities for this built-in type but config files will still pass validation if the type is specified. If you need to support geo lookups please use a custom regex.
Integrations can now define custom types using a regular expression to capture specific pattern matchable data. For example, if you have a specific hostname naming convention you can now capture those hostnames using a custom type.
entityTypes
or customTypes
Integration config files must now specify what types of data the integration should receive. Previously, by default, an integration would receive all data unless specific data types were specified. We have changed the default behavior to now be that an integration receives no data unless it explicitly defines what entity types (e.g., 'IPv4', 'hash', 'email') it should receive.
This change was made to make it easier for Polarity administrators to know what data specific integrations are requesting from Polarity Clients.
isHex
flag is deprecatedThe isHex
flag will be removed from entity objects in future versions of Polarity. If you need to recognize hex types (outside of hashes) you should add this as a custom type.
isHTMLTag
has been removedThe isHTMLTag
flag has been removed from entity objects and is no longer supported as a pre-defined type. If you need to recognize HTML tags in your integration you should use the following custom type to achieve the same behavior:
isGeo
has been removedThe isGeo
flag has been removed from entity objects and is no longer supported as a pre-defined type. If you need to recognize Latitude Longitude or Addresses in your integration you should use the following custom types to achieve the same behavior:
Note that the
latitude
andlongitude
properties will no longer be provided as well. Please see the google maps integration for an example of working with with latitude longitude and property addresses.
Integrations now receive for entity objects sent to the doLookup method. This allows integration authors to take action on an entity based on whether or not the entity is tagged in a specific channel.
We have added a new *
entity type that is short hand for specifying all the built-in entity types. See more in the entity types section of the
For more information on defining custom types in your integration config please see the .
For more information on defining entity types please see the .