Skip to content

Commit 2d124d6

Browse files
committed
Add to DataSource model
1 parent e953dd2 commit 2d124d6

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

contentctl/objects/data_source.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
from __future__ import annotations
2-
from typing import Optional, Any
3-
from pydantic import Field, HttpUrl, model_serializer, BaseModel
2+
3+
from typing import Any, Optional
4+
5+
from pydantic import BaseModel, Field, HttpUrl, model_serializer
6+
47
from contentctl.objects.security_content_object import SecurityContentObject
58

69

@@ -14,10 +17,12 @@ class DataSource(SecurityContentObject):
1417
source: str = Field(...)
1518
sourcetype: str = Field(...)
1619
separator: Optional[str] = None
20+
separator_value: Optional[str] = None
1721
configuration: Optional[str] = None
1822
supported_TA: list[TA] = []
1923
fields: None | list = None
2024
field_mappings: None | list = None
25+
mitre_components: list[str] = []
2126
convert_to_log_source: None | list = None
2227
example_log: None | str = None
2328

0 commit comments

Comments
 (0)