Skip to main content

Retention

After scraping we can choose to retain results on the basis of name, age, count and more.

The retention rules are applied for each unique catalog item. If changes is specified with type X and count 20, last 20 changes of X type would be kept for each catalog item

FieldDescriptionSchemeRequired
changesSpecify retention rules for changes[]RetentionChangesfalse

RetentionChanges

retention:
changes:
- name: CreateRole
age: 30d # Any change older than 30 days is removed
count: 50 # Only 50 last changes will be retained

- name: PullSuceeded
age: 7d # Only keep one week of PullSuceeded changes

- name: ProvisioningFailed
count: 5 # Only 5 latest events are kept

FieldDescriptionSchemeRequired
nameName of the change typestringtrue
ageMaximum age of the change type to retain (12h, 30d)stringfalse
countMaximum count to retain the change typeboolfalse