René's URL Explorer Experiment


Title: feat(splunk): add Splunk Enterprise and Cloud integration by waleedlatif1 · Pull Request #6743 · simstudioai/sim · GitHub

Open Graph Title: feat(splunk): add Splunk Enterprise and Cloud integration by waleedlatif1 · Pull Request #6743 · simstudioai/sim

X Title: feat(splunk): add Splunk Enterprise and Cloud integration by waleedlatif1 · Pull Request #6743 · simstudioai/sim

Description: Summary Adds a Splunk block with 12 tools over the Splunk Enterprise / Splunk Cloud management REST API: run search, create/get/cancel search job, get search results, list/get/dispatch saved searches, list/get fired alerts, list indexes, list apps. Auth is a bearer authentication token, with username/password basic auth as a fallback. Requests are namespace-aware (/services by default, /servicesNS/{owner}/{app} when an owner or app is set) and always pin output_mode=json so a caller cannot flip the response back to XML. Three things worth a reviewer's attention: Get Search Results now uses search/v2/jobs/{sid}/results. The v1 instance of that endpoint is deprecated and turned off by default from Splunk Enterprise 9.0.1 / Splunk Cloud 9.0.2208 onward, so every call was hitting a disabled endpoint. Both versions publish the same JSON envelope (init_offset, messages, preview, results), so the response mapping is unchanged. enable_lookups and allow_partial_results were being sent as 0 on every search job. Both were switch subBlocks, and an untouched subBlock does not resolve to "unset" — so the request silently inverted Splunk's documented default of true for both. They are dropdowns defaulting to Yes now. The same class of bug affected every other optional field: an untouched subBlock resolves to null, and the form/query serializers only skipped undefined, so String(null) put earliest_time=null, trigger_actions=null, and force_dispatch=null on the wire. Max Results was worse — Number(null) is 0, and count=0 is Splunk's documented "return every available row", so an untouched Max Results asked for the entire result set on all six paginated operations instead of the documented default of 100. Both serializers now drop null alongside undefined, and the coercion guards against it. One detail remains unsourced: count/offset on alerts/fired_alerts/{name}. The entity reference for that endpoint says "Request parameters: None", while the sibling collection endpoint alerts/fired_alerts documents both. They are exposed on the assumption that the shared Atom collection pagination applies; an instance that ignores them just returns the full set. This is recorded in a TSDoc note on the tool. Everything else — endpoints, parameter names, defaults, and response field names — is taken from the Splunk REST API reference. Response fields are mapped individually rather than dumped, with Splunk's 0/1 booleans normalized and both the entry[] and feed.entry[] collection envelopes handled. Type of Change New feature (non-breaking change which adds functionality) Testing Tested manually. Added unit tests for the URL and form-body serializers covering the null-drop behavior, the pinned output_mode, explicit falsy values, and namespace selection. Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Open Graph Description: Summary Adds a Splunk block with 12 tools over the Splunk Enterprise / Splunk Cloud management REST API: run search, create/get/cancel search job, get search results, list/get/dispatch saved searc...

X Description: Summary Adds a Splunk block with 12 tools over the Splunk Enterprise / Splunk Cloud management REST API: run search, create/get/cancel search job, get search results, list/get/dispatch saved searc...

Opengraph URL: https://github.com/simstudioai/sim/pull/6743

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:e6900a24-8475-3ef8-4209-02850c46b1e8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9598:2E4CE1:632B:862E:6AFB47AB
html-safe-noncef6c24c713205f9fedee4597878121a74e78ed6672341cb651860a01274eb1548
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTk4OjJFNENFMTo2MzJCOjg2MkU6NkFGQjQ3QUIiLCJ2aXNpdG9yX2lkIjoiNTMyNDAyMjIwMzI4MzA5NzUxNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac942407f2a019793eba07cc4224b30c7ae538e7caaa4f2e42bc00090406e5e481
hovercard-subject-tagpull_request:4288040740
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/6743/files
twitter:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
og:image:altSummary Adds a Splunk block with 12 tools over the Splunk Enterprise / Splunk Cloud management REST API: run search, create/get/cancel search job, get search results, list/get/dispatch saved searc...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneacf7616d06cc051644705b379878c9bb13dc5e70ecf4ffd9b34140f8ac01d7e1
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release26504db649b58525278f77a52b80ba5f10d5f4de
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/6743/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F6743%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F6743%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/6743/files
Reloadhttps://github.com/simstudioai/sim/pull/6743/files
Reloadhttps://github.com/simstudioai/sim/pull/6743/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests199 (199)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
feat/splunk-integrationhttps://github.com/simstudioai/sim/tree/feat/splunk-integration
Conversation 13 https://github.com/simstudioai/sim/pull/6743
Commits 7 https://github.com/simstudioai/sim/pull/6743/commits
Checks 30 https://github.com/simstudioai/sim/pull/6743/checks
Files changed https://github.com/simstudioai/sim/pull/6743/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6743/files
feat(splunk): add Splunk Enterprise and Cloud integration https://github.com/simstudioai/sim/pull/6743/files#top
Show all changes 7 commits https://github.com/simstudioai/sim/pull/6743/files
a599e14 feat(splunk): add Splunk Enterprise and Cloud integration waleedlatif1 Aug 15, 2026 https://github.com/simstudioai/sim/pull/6743/commits/a599e1493408d3f032b42db9746af59d3b08742f
06262cd feat(splunk): use the Splunk wordmark on a white tile waleedlatif1 Aug 15, 2026 https://github.com/simstudioai/sim/pull/6743/commits/06262cdf08a95c7246409059f98496f396b8b9b1
36ae27f fix(splunk): move results off the disabled v1 endpoint and align with… waleedlatif1 Aug 15, 2026 https://github.com/simstudioai/sim/pull/6743/commits/36ae27fc20763f8ce9debdf5634fdf424f188894
f83be8e fix(splunk): drop null-valued fields instead of sending them as "null" waleedlatif1 Aug 15, 2026 https://github.com/simstudioai/sim/pull/6743/commits/f83be8ec2269b8dc1a3ca8c9165b95c4c4ee76b4
5ce54e7 fix(splunk): keep a typed boolean false on the search-job toggles waleedlatif1 Aug 15, 2026 https://github.com/simstudioai/sim/pull/6743/commits/5ce54e73b412427b0c701ddff5fac2ba40ef5467
5e11d9a fix(splunk): correct the namespace wildcard and fail loudly on a miss… waleedlatif1 Aug 16, 2026 https://github.com/simstudioai/sim/pull/6743/commits/5e11d9a3a10bf8fc413f47a7591ace7f046b05a3
f76a211 fix(splunk): keep the f field filter on the collection endpoint only waleedlatif1 Aug 16, 2026 https://github.com/simstudioai/sim/pull/6743/commits/f76a21141893d9d18d490ab17a472ae2a9bbaab7
Clear filters https://github.com/simstudioai/sim/pull/6743/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6743/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6743/files
icons.tsx https://github.com/simstudioai/sim/pull/6743/files#diff-ad82ea6f4020b7b9555fc40c56c93b82fb246b727c105f8e1e0da9c03dc49274
icon-mapping.ts https://github.com/simstudioai/sim/pull/6743/files#diff-193abeb0603365b837c7d5ba8637be7ef998dde35d5746dfb8fa954fe8b1fcaa
meta.json https://github.com/simstudioai/sim/pull/6743/files#diff-59d7506ddfe264c889aa27abd55383fa1815c385f9e008f02aebc41c2d9819ff
splunk.mdx https://github.com/simstudioai/sim/pull/6743/files#diff-57161fa397a274cc27efb4d4a8bb825a25ab9d05909a3211354a8ade352bf82f
splunk.test.ts https://github.com/simstudioai/sim/pull/6743/files#diff-dc495e7dd01499c7612336aa5bbcb454499ceb9e26f88f73d6cb3795eee52622
splunk.ts https://github.com/simstudioai/sim/pull/6743/files#diff-7a0f0c78756d4994e4140c045e7e74eec6ad26aa7fd300b6d3000d6e441c4dd3
registry-maps.ts https://github.com/simstudioai/sim/pull/6743/files#diff-989c47910e6b401eace95892b8e5119d99351912cc66928fe7dffcbaa6e086d7
icons.tsx https://github.com/simstudioai/sim/pull/6743/files#diff-75502961b6b1b69fd8b140643edfe13c66790af9f167e9a545cbcff6b2e9a20d
icon-mapping.ts https://github.com/simstudioai/sim/pull/6743/files#diff-31b9f59a480a2b6cc7d98ac5076f304e142b3a42be1ef966bfebd4643ba8c7af
integrations.json https://github.com/simstudioai/sim/pull/6743/files#diff-0c4cc916562765dac61bd44d1b984d95e44d7901c070e0a3f668474c684d92bd
tool-ids.ts https://github.com/simstudioai/sim/pull/6743/files#diff-fde8cbb4483aa4a8015ca3e576ab1c9b472d1c97c521fa67e81b469a5297bdfb
tool-metadata.ts https://github.com/simstudioai/sim/pull/6743/files#diff-3a953213cad2b14799015043b75c22cd4815397d3a43ccbf138816bedfdfccd7
tool-outputs.ts https://github.com/simstudioai/sim/pull/6743/files#diff-9fd709d7ce13d883503da15dae272e6c0a0a4fc25d7ec475f4ce6875c097b6aa
registry.ts https://github.com/simstudioai/sim/pull/6743/files#diff-a05e54887bf05477726b00df4183dd4a3fa0fd1f82b867bbf156e1b6a6d7e3fa
cancel_search_job.ts https://github.com/simstudioai/sim/pull/6743/files#diff-494501f9fa5672ae4cfc86788178bc7ddd8b0e13d0e48b4904035dcf764e9f75
create_search_job.ts https://github.com/simstudioai/sim/pull/6743/files#diff-b99078367fe8fa426c59cdf8a9338ef3ef6e8c26f3f37b964454c9e6df4de038
dispatch_saved_search.ts https://github.com/simstudioai/sim/pull/6743/files#diff-1c0acc37ab886bcee24cbdb999212ae89890bb03edb414bccf66fad13d6e1376
get_fired_alerts.ts https://github.com/simstudioai/sim/pull/6743/files#diff-c594ccbcd9328fd248b84aecf3599969c997c54ac35ea66a9c96baa97f417ad3
get_saved_search.ts https://github.com/simstudioai/sim/pull/6743/files#diff-07274ac77a9ad828b7b03fa96670e7050ba04bcb30636b4635ea6fa281184d50
get_search_job.ts https://github.com/simstudioai/sim/pull/6743/files#diff-a24a588884ea8e1e4636d1798ca9d8a6e83a70271412fb58191209260a98086c
get_search_results.ts https://github.com/simstudioai/sim/pull/6743/files#diff-101b8e4d3dff10a58ab310e0b62f6eaf84275adf1ca31b26d05346e760fe10c0
index.ts https://github.com/simstudioai/sim/pull/6743/files#diff-a15ed6f67f19199fc140222f635ae2ceb7e167a35c76295f083277c4945fe0c5
list_apps.ts https://github.com/simstudioai/sim/pull/6743/files#diff-ecc769003f6a8a31a4b2a3c4518038a090fcc32117ab8be39f609befa193ef37
list_fired_alerts.ts https://github.com/simstudioai/sim/pull/6743/files#diff-76e5ba99c39c8d6e9c5c8454ae364ba910b64e1b48ca06e158b28011fc769610
list_indexes.ts https://github.com/simstudioai/sim/pull/6743/files#diff-900f4fb91bd3ee5326d0543f0880ee3573f033d182f5d333dc6cc2258898344d
list_saved_searches.ts https://github.com/simstudioai/sim/pull/6743/files#diff-012d2c7e9ab056a2b7b905a77a51ebf241c0df5d9f6bf0f23144c5a048a533d8
requests.test.ts https://github.com/simstudioai/sim/pull/6743/files#diff-2334d089075b182d6758a23e00edbf8497776d69a4ddedd59b46522ec3ee7a9e
run_search.ts https://github.com/simstudioai/sim/pull/6743/files#diff-dbef6c1e602b68a722f259bd6fe51af07b2d3530d17d5d05b11eb6ee9e802808
types.ts https://github.com/simstudioai/sim/pull/6743/files#diff-60772ca06b7d93490eb77fc35429278577e28066ad79bd80f97223afe338cf23
utils.test.ts https://github.com/simstudioai/sim/pull/6743/files#diff-a6aadc3060c47e65e3f1822016ba98aea6605c6a77167ea0e2a8609334616eee
utils.ts https://github.com/simstudioai/sim/pull/6743/files#diff-58a564b56a4ceeb595d5cb87824f982228eaec770d9159459097c2ad56c7c370
apps/docs/components/icons.tsxhttps://github.com/simstudioai/sim/pull/6743/files#diff-ad82ea6f4020b7b9555fc40c56c93b82fb246b727c105f8e1e0da9c03dc49274
View file https://github.com/simstudioai/sim/blob/f76a21141893d9d18d490ab17a472ae2a9bbaab7/apps/docs/components/icons.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6743/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6743/files#diff-ad82ea6f4020b7b9555fc40c56c93b82fb246b727c105f8e1e0da9c03dc49274
https://github.com/simstudioai/sim/pull/6743/files#diff-ad82ea6f4020b7b9555fc40c56c93b82fb246b727c105f8e1e0da9c03dc49274
apps/docs/components/ui/icon-mapping.tshttps://github.com/simstudioai/sim/pull/6743/files#diff-193abeb0603365b837c7d5ba8637be7ef998dde35d5746dfb8fa954fe8b1fcaa
View file https://github.com/simstudioai/sim/blob/f76a21141893d9d18d490ab17a472ae2a9bbaab7/apps/docs/components/ui/icon-mapping.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6743/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6743/files#diff-193abeb0603365b837c7d5ba8637be7ef998dde35d5746dfb8fa954fe8b1fcaa
https://github.com/simstudioai/sim/pull/6743/files#diff-193abeb0603365b837c7d5ba8637be7ef998dde35d5746dfb8fa954fe8b1fcaa
https://github.com/simstudioai/sim/pull/6743/files#diff-193abeb0603365b837c7d5ba8637be7ef998dde35d5746dfb8fa954fe8b1fcaa
https://github.com/simstudioai/sim/pull/6743/files#diff-193abeb0603365b837c7d5ba8637be7ef998dde35d5746dfb8fa954fe8b1fcaa
apps/docs/content/docs/en/integrations/meta.jsonhttps://github.com/simstudioai/sim/pull/6743/files#diff-59d7506ddfe264c889aa27abd55383fa1815c385f9e008f02aebc41c2d9819ff
View file https://github.com/simstudioai/sim/blob/f76a21141893d9d18d490ab17a472ae2a9bbaab7/apps/docs/content/docs/en/integrations/meta.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6743/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6743/files#diff-59d7506ddfe264c889aa27abd55383fa1815c385f9e008f02aebc41c2d9819ff
https://github.com/simstudioai/sim/pull/6743/files#diff-59d7506ddfe264c889aa27abd55383fa1815c385f9e008f02aebc41c2d9819ff
apps/docs/content/docs/en/integrations/splunk.mdxhttps://github.com/simstudioai/sim/pull/6743/files#diff-57161fa397a274cc27efb4d4a8bb825a25ab9d05909a3211354a8ade352bf82f
View file https://github.com/simstudioai/sim/blob/f76a21141893d9d18d490ab17a472ae2a9bbaab7/apps/docs/content/docs/en/integrations/splunk.mdx
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/simstudioai/sim/pull/6743/files
apps/sim/blocks/blocks/splunk.test.tshttps://github.com/simstudioai/sim/pull/6743/files#diff-dc495e7dd01499c7612336aa5bbcb454499ceb9e26f88f73d6cb3795eee52622
View file https://github.com/simstudioai/sim/blob/f76a21141893d9d18d490ab17a472ae2a9bbaab7/apps/sim/blocks/blocks/splunk.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6743/{{ revealButtonHref }}
Please reload this pagehttps://github.com/simstudioai/sim/pull/6743/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6743/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.