WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit c10b0db

Browse files
gouravjshahclaude
andcommitted
feat: Add New Relic, Splunk, and ServiceNow integrations
Rust Tool Implementations: - newrelic.rs: 6 tools (NRQL query, alerts, incidents, entity search, metrics, incident ack) - splunk.rs: 6 tools (search, alerts, saved searches, HEC send, indexes) - servicenow.rs: 6 tools (incident CRUD, CMDB query, change create) Feature Flags: - observability: New Relic tools - siem: Splunk tools - itsm: ServiceNow tools Documentation: - Tools reference pages: newrelic.md, splunk.md, servicenow.md - Agent Library: Added ITSM domain (itsm.md) with 3 agents - Agent Library: Updated observability.md with newrelic-ops, splunk-analyst - Wired into Docusaurus sidebar Example Agents: - newrelic-ops.yaml: Comprehensive New Relic observability agent - splunk-ops.yaml: Splunk log analysis and SIEM agent - servicenow-ops.yaml: ServiceNow ITSM automation agent Closes #83 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 4dcb49c commit c10b0db

File tree

23 files changed

+7808
-5
lines changed

23 files changed

+7808
-5
lines changed

crates/aof-tools/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,13 @@ git = []
1818
terraform = []
1919
http = ["reqwest"]
2020
observability = ["reqwest", "chrono"]
21+
siem = ["reqwest", "chrono", "urlencoding"]
22+
itsm = ["reqwest", "base64"]
2123
cicd = ["reqwest", "chrono"]
2224
security = ["reqwest", "base64", "urlencoding"]
2325
cloud = []
2426
benchmark = ["chrono", "rand"]
25-
all = ["file", "shell", "kubectl", "docker", "git", "terraform", "http", "observability", "cicd", "security", "cloud", "benchmark"]
27+
all = ["file", "shell", "kubectl", "docker", "git", "terraform", "http", "observability", "siem", "itsm", "cicd", "security", "cloud", "benchmark"]
2628

2729
[dependencies]
2830
aof-core = { workspace = true }

crates/aof-tools/src/lib.rs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,15 @@ pub use tools::http::HttpTool;
9191
#[cfg(feature = "observability")]
9292
pub use tools::observability::{ObservabilityTools, PrometheusQueryTool, LokiQueryTool, ElasticsearchQueryTool, VictoriaMetricsQueryTool};
9393

94+
#[cfg(feature = "observability")]
95+
pub use tools::newrelic::{NewRelicTools, NewRelicNrqlQueryTool, NewRelicAlertsListTool, NewRelicIncidentsListTool, NewRelicEntitySearchTool, NewRelicMetricsQueryTool, NewRelicIncidentAckTool};
96+
97+
#[cfg(feature = "siem")]
98+
pub use tools::splunk::{SplunkTools, SplunkSearchTool, SplunkAlertsListTool, SplunkSavedSearchesTool, SplunkSavedSearchRunTool, SplunkHecSendTool, SplunkIndexesListTool};
99+
100+
#[cfg(feature = "itsm")]
101+
pub use tools::servicenow::{ServiceNowTools, ServiceNowIncidentCreateTool, ServiceNowIncidentQueryTool, ServiceNowIncidentUpdateTool, ServiceNowIncidentGetTool, ServiceNowCmdbQueryTool, ServiceNowChangeCreateTool};
102+
94103
// ============================================================================
95104
// Legacy Per-Operation Tools (Backward Compatibility)
96105
// ============================================================================
@@ -136,4 +145,13 @@ pub mod prelude {
136145

137146
#[cfg(feature = "observability")]
138147
pub use super::tools::observability::ObservabilityTools;
148+
149+
#[cfg(feature = "observability")]
150+
pub use super::tools::newrelic::NewRelicTools;
151+
152+
#[cfg(feature = "siem")]
153+
pub use super::tools::splunk::SplunkTools;
154+
155+
#[cfg(feature = "itsm")]
156+
pub use super::tools::servicenow::ServiceNowTools;
139157
}

crates/aof-tools/src/tools/mod.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,17 @@ pub mod grafana;
4848
#[cfg(feature = "observability")]
4949
pub mod datadog;
5050

51+
#[cfg(feature = "observability")]
52+
pub mod newrelic;
53+
54+
// SIEM tools
55+
#[cfg(feature = "siem")]
56+
pub mod splunk;
57+
58+
// ITSM tools
59+
#[cfg(feature = "itsm")]
60+
pub mod servicenow;
61+
5162
// CI/CD tools
5263
#[cfg(feature = "cicd")]
5364
pub mod github_actions;

0 commit comments

Comments
 (0)