Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Our applications replicate the full data from the source. Some source systems have a State attribute to keep track of the health or lifecycle of the asset. In example:

Source

Object Type

Attribute

Possible Values

Azure AD

Users

Account Enabled

True / False

Intune

Managed Devices

Device Registration State

notRegistered, registered, revoked, keyConflict, approvalPending, certificateReset, notRegisteredPendingEnrollment, unknown

Datadog

Hosts

Is muted

True / False

On the other hand, if a resource is deleted from the source, then there is no information coming from the source for that record. We recommend using the features of Assets for this purpose.

\uD83D\uDCD8 Instructions

...

  1. Go to Object Schema Configuration.

  2. Select the “Statuses” tab.

  3. Click “Create a status”

  4. Call it “Deleted” and select the red category (inactive).

Image Added

  1. Go back to Object Schema.

  2. Select the object type you would like to modify.

  3. Select the Attributes tab.

  4. Add a new attribute for “Source State” with a type of Status.

Image Added

  1. Go to Object Schema Configuration again.

  2. Select the import tab.

  3. Select “Edit Mapping” for the import configuration.

  4. Select edit object type mapping for the Object Type that you would like to update.

Image Added

  1. Change the setting for “Missing objects” to “Update”. Select the “Source State” attribute. And write “Deleted” for the new value. Set the Threshold Number to 3. This means, in case a record is not found 3 times, then during the 4th import it will be marked as “Deleted”.

Image Added

  1. From now on you can follow the imports and check if the records are being marked as Deleted.

    Example AQL:

"Source State" = "Deleted"

Image Added

\uD83D\uDCCB Related articles

Filter by label (Content by label)
page
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@adc
showSpacefalse
sortmodified
showSpacetypefalsepage
reversetruetype
labelskb-how-to-article
cqllabel = "kb-how-to-article" and type = "page" and space = "WS"labelskb-how-to-article