Skip to content

Commit f8352fb

Browse files
authored
Merge pull request #183 from google/feature/secops-feed-managment-tools
feat: SecOps Feed management tools
2 parents 20db053 + a137ab9 commit f8352fb

File tree

5 files changed

+819
-9
lines changed

5 files changed

+819
-9
lines changed

server/secops/README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,32 @@ Chronicle Security Operations suite.
8282
- **`update_reference_list(name, project_id=None, customer_id=None, region=None, entries=None, description=None)`**
8383
- Update the contents or description of an existing reference list.
8484

85+
### Feed Management Tools
86+
87+
- **`list_feeds(project_id=None, customer_id=None, region=None)`**
88+
- Lists all configured feeds in Chronicle, providing details such as feed name, status, log type, and source type.
89+
90+
- **`get_feed(feed_id, project_id=None, customer_id=None, region=None)`**
91+
- Get detailed information about a specific feed by ID, including connection settings, log type, state, and metadata.
92+
93+
- **`create_feed(display_name, feed_details, project_id=None, customer_id=None, region=None)`**
94+
- Creates a new feed configuration for ingesting data into Chronicle. Supports various feed types including HTTP, S3, GCS, and GCP SCC.
95+
96+
- **`update_feed(feed_id, display_name=None, feed_details=None, project_id=None, customer_id=None, region=None)`**
97+
- Modifies the configuration of an existing feed. Can update the display name, connection settings, or other properties.
98+
99+
- **`enable_feed(feed_id, project_id=None, customer_id=None, region=None)`**
100+
- Activates a feed that is currently in the INACTIVE state, allowing it to resume data ingestion.
101+
102+
- **`disable_feed(feed_id, project_id=None, customer_id=None, region=None)`**
103+
- Stops data ingestion for a feed by setting its state to INACTIVE. The feed configuration remains but no new data will be processed.
104+
105+
- **`delete_feed(feed_id, project_id=None, customer_id=None, region=None)`**
106+
- Permanently removes a feed configuration from Chronicle. This action cannot be undone.
107+
108+
- **`generate_feed_secret(feed_id, project_id=None, customer_id=None, region=None)`**
109+
- Creates a new authentication secret for feeds that support authentication (e.g., HTTP feeds with basic auth). This replaces any existing secret.
110+
85111
### API Capabilities
86112

87113
The MCP server provides the following capabilities:
@@ -97,6 +123,7 @@ The MCP server provides the following capabilities:
97123
9. **Parser Management**: Create, manage, and test log parsers
98124
10. **Data Table Management**: Create and manage structured data tables for detection rules
99125
11. **Reference List Management**: Create and manage reference lists for detection rules
126+
12. **Feed Management**: Create, update, enable, disable, and delete data feeds
100127

101128
### Example
102129

@@ -118,6 +145,7 @@ These tools help you get data into Chronicle:
118145
- **UDM Event Ingestion**: Use `ingest_udm_events` for pre-formatted security events
119146
- **Parser Development**: Use the parser management tools to create custom parsers for unique log formats
120147
- **Testing**: Use `run_parser_against_sample_logs` to validate parser logic before deployment
148+
- **Feed Management**: Use feed management tools (`list_feeds`, `create_feed`, etc.) to configure and manage data collection sources
121149

122150
### Context Data Management Tools
123151
These tools help you maintain reference data for enhanced detections:

server/secops/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "google-secops-mcp"
3-
version = "0.2.0"
3+
version = "0.3.0"
44
description = "Google SecOps MCP server"
55
readme = "README.md"
66
requires-python = ">=3.11"
@@ -16,7 +16,7 @@ classifiers = [
1616
dependencies = [
1717
"httpx>=0.28.1",
1818
"mcp[cli]>=1.4.1",
19-
"secops>=0.8.0",
19+
"secops>=0.18.0",
2020
"google-auth>=2.38.0",
2121
"google-auth-httplib2>=0.2.0",
2222
"google-api-python-client>=2.164.0"

server/secops/secops_mcp/tools/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@
2222
from .log_ingestion import *
2323
from .parser_management import *
2424
from .data_table_management import *
25-
from .reference_list_management import *
25+
from .reference_list_management import *
26+
from .feed_management import *

0 commit comments

Comments
 (0)