Skip to content

Commit

Permalink
[backend] change name of built-in decay rules
Browse files Browse the repository at this point in the history
  • Loading branch information
SouadHadjiat committed Feb 15, 2024
1 parent 224b97b commit bbaa01b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ export const getDecaySettingsChartData = async (context: AuthContext, user: Auth

// region init built-in decay rules
export const FALLBACK_DECAY_RULE: DecayRuleConfiguration = {
name: 'Built-in default decay rule',
name: 'Built-in default',
description: 'Built-in decay rule for all indicators that do not match any other decay rule.',
decay_lifetime: 470, // 1 year
decay_pound: 0.35,
Expand All @@ -258,7 +258,7 @@ export const FALLBACK_DECAY_RULE: DecayRuleConfiguration = {
active: true,
};
export const BUILT_IN_DECAY_RULE_FILE_ARTEFACT: DecayRuleConfiguration = {
name: 'Built-in files and artifact decay rule',
name: 'Built-in files and artifact',
description: 'Built-in decay rule for indicators with files or artefact as main observable type.',
decay_lifetime: 460,
decay_pound: 0.3,
Expand All @@ -273,7 +273,7 @@ export const BUILT_IN_DECAY_RULE_FILE_ARTEFACT: DecayRuleConfiguration = {
};

export const BUILT_IN_DECAY_RULE_IP_URL: DecayRuleConfiguration = {
name: 'Built-in IP and URL decay rule',
name: 'Built-in IP and URL',
description: 'Built-in decay rule for indicators with IP or URL as main observable type.',
decay_lifetime: 47,
decay_pound: 0.55,
Expand All @@ -289,7 +289,7 @@ export const BUILT_IN_DECAY_RULE_IP_URL: DecayRuleConfiguration = {
};

export const BUILT_IN_DECAY_RULE_DOMAIN_NAME: DecayRuleConfiguration = {
name: 'Built-in domain name decay rule',
name: 'Built-in domain name',
description: 'Built-in decay rule for indicators with domain name as main observable type.',
decay_lifetime: 300,
decay_pound: 0.7,
Expand Down

0 comments on commit bbaa01b

Please sign in to comment.