-
Notifications
You must be signed in to change notification settings - Fork 488
[ti_cyware_intel_exchange] Update Readme and add ioc_expiration_duration config parameter #15286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
[ti_cyware_intel_exchange] Update Readme and add ioc_expiration_duration config parameter #15286
Conversation
1. Updated the readme as per the new template. 2. Added ilm policy inside manifest file.
1. Add ioc_expiration_duration config parameter. 2. Updated dashboard description. 3. Change field type from long to flattened of custom_scores field.
Pinging @elastic/security-service-integrations (Team:Security-Service Integrations) |
...ges/ti_cyware_intel_exchange/data_stream/indicator/_dev/test/pipeline/test-common-config.yml
Outdated
Show resolved
Hide resolved
...ges/ti_cyware_intel_exchange/data_stream/indicator/elasticsearch/ingest_pipeline/default.yml
Show resolved
Hide resolved
/test |
🚀 Benchmarks reportTo see the full report comment with |
|
||
## Requirements | ||
The Cyware Intel Exchange integration is compatible with `v3` version. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Cyware Intel Exchange integration is compatible with `v3` version. | |
The Cyware Intel Exchange integration is compatible with Cyware version `v3`. |
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updating with:
The Cyware Intel Exchange integration is compatible with CTIX API version v3
.
|
||
Agentless deployments are only supported in Elastic Serverless and Elastic Cloud environments. This functionality is in beta and is subject to change. Beta features are not subject to the support SLA of official GA features. | ||
This integration periodically queries the CTIX API to retrieve IOC indicators. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This integration periodically queries the CTIX API to retrieve IOC indicators. | |
This integration periodically queries the [CTIX API](https://ctixapiv3.cyware.com/intel-exchange-api-reference) to retrieve Indicators of Compromise (IOCs). |
|
||
1. Go to **Administration** > **Integration Management**. | ||
2. In **Third Party Developers**, click **CTIX Integrators**. | ||
3. Click **Add New**. Enter the following details: | ||
- **Name**: Enter a unique name for the API credentials in 50 characters. | ||
- **Name**: Enter a unique name for the API credentials within 50 characters. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- **Name**: Enter a unique name for the API credentials within 50 characters. | |
- **Name**: Enter a unique name for the API credentials up to 50 characters long. |
|
||
1. Go to **Administration** > **Integration Management**. | ||
2. In **Third Party Developers**, click **CTIX Integrators**. | ||
3. Click **Add New**. Enter the following details: | ||
- **Name**: Enter a unique name for the API credentials in 50 characters. | ||
- **Name**: Enter a unique name for the API credentials within 50 characters. | ||
- **Description**: Enter a description for the credentials within 1000 characters. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- **Description**: Enter a description for the credentials within 1000 characters. | |
- **Description**: Enter a description for the credentials up to 1000 characters long. |
#### ILM Policy | ||
|
||
To facilitate IoC expiration, source data stream-backed indices `.ds-logs-ti_cyware_intel_exchange.indicator-*` are allowed to contain duplicates from each polling interval. ILM policy `logs-ti_cyware_intel_exchange.indicator-default_policy` is added to these source indices, so it doesn't lead to unbounded growth. This means that in these source indices data will be deleted after `5 days` from ingested date. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete this empty line.
@@ -1,4 +1,9 @@ | |||
# newer versions go on top | |||
- version: "0.1.1" | |||
changes: | |||
- description: Update documentation and add ioc_expiration_duration config parameter. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- description: Update documentation and add ioc_expiration_duration config parameter. | |
- description: Update documentation and add "IOC Expiration Duration" configuration parameter. |
(ioc_expiration_duration
is not a user-facing entity, but the changelog is user-facing documentation)
@@ -1,4 +1,9 @@ | |||
# newer versions go on top | |||
- version: "0.1.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- version: "0.1.1" | |
- version: "0.2.0" |
(enhancement bumps minor)
changes: | ||
- description: Update documentation and add ioc_expiration_duration config parameter. | ||
type: enhancement | ||
link: https://github.com/elastic/integrations/pull/15286 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
link: https://github.com/elastic/integrations/pull/15286 | |
link: https://github.com/elastic/integrations/pull/15286 | |
- description: Fix type of `ti_cyware_intel_exchange.indicator.external_references` field in transform field definitions. | |
type: bugfix | |
link: https://github.com/elastic/integrations/pull/15286 | |
- description: Fix handling of `ti_cyware_intel_exchange.indicator.custom_scores`. | |
type: bugfix | |
link: https://github.com/elastic/integrations/pull/15286 | |
- description: Change type of `ti_cyware_intel_exchange.indicator.custom_scores` from `long` to `flattened`. | |
type: breaking-change | |
link: https://github.com/elastic/integrations/pull/15286 |
- name: custom_scores | ||
type: long | ||
type: flattened |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes it a breaking change. Why is it being changed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In live logs, we are now receiving values like: {"x_ctix_customscore_2": 2}
.
Previously, the value used to be null
, so we had defined the type as long
, assuming it would be numeric based on the name. However, since actual values are now appearing in live logs, we changed it to flattened
.
/test |
💔 Build Failed
Failed CI StepsHistory
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM from my end but please wait for Dan's approval before merging
Type of change
Proposed commit message
ioc_expiration_duration
configuration parameter to define the time of deletion of a log from transform.custom_scores
is changed from long to flattened.Checklist
changelog.yml
file.How to test this PR locally