Add run.py entry point for Chronicle API samples - #1
Open
michaelhughes2501 with Copilot wants to merge 3 commits into
Open
michaelhughes2501 with Copilot wants to merge 3 commits into
michaelhughes2501 with Copilot wants to merge 3 commits into
Conversation
michaelhughes2501
approved these changes
Feb 11, 2026
Co-authored-by: michaelhughes2501 <258144740+michaelhughes2501@users.noreply.github.com>
Co-authored-by: michaelhughes2501 <258144740+michaelhughes2501@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add file creation for program execution
Add run.py entry point for Chronicle API samples
Feb 11, 2026
michaelhughes2501
previously approved these changes
Mar 11, 2026
michaelhughes2501
marked this pull request as ready for review
May 17, 2026 07:40
michaelhughes2501
self-requested a review
June 1, 2026 16:43
michaelhughes2501
enabled auto-merge (squash)
June 3, 2026 01:18
michaelhughes2501
approved these changes
Jun 3, 2026
michaelhughes2501
disabled auto-merge
June 12, 2026 18:16
michaelhughes2501
enabled auto-merge (squash)
June 12, 2026 18:17
michaelhughes2501
self-requested a review
June 12, 2026 18:17
michaelhughes2501
disabled auto-merge
June 16, 2026 12:28
michaelhughes2501
enabled auto-merge (squash)
June 20, 2026 12:10
Collaborator
|
bvhv |
michaelhughes2501
disabled auto-merge
June 20, 2026 13:00
michaelhughes2501
enabled auto-merge (squash)
June 20, 2026 13:00
michaelhughes2501
approved these changes
Jun 21, 2026
michaelhughes2501
disabled auto-merge
June 21, 2026 04:53
michaelhughes2501
enabled auto-merge
June 21, 2026 04:53
michaelhughes2501
self-requested a review
June 21, 2026 04:56
michaelhughes2501
disabled auto-merge
June 21, 2026 04:56
michaelhughes2501
enabled auto-merge
June 21, 2026 04:56
michaelhughes2501
disabled auto-merge
June 22, 2026 12:41
Collaborator
|
K |
michaelhughes2501
self-requested a review
June 22, 2026 13:03
michaelhughes2501
enabled auto-merge
June 22, 2026 13:18
michaelhughes2501
disabled auto-merge
July 20, 2026 02:22
michaelhughes2501
enabled auto-merge
July 20, 2026 19:57
michaelhughes2501
disabled auto-merge
July 26, 2026 23:22
michaelhughes2501
enabled auto-merge (squash)
July 26, 2026 23:22
michaelhughes2501
disabled auto-merge
July 26, 2026 23:23
michaelhughes2501
enabled auto-merge (rebase)
July 26, 2026 23:24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The repository contains 99+ Chronicle API samples but lacks a unified entry point for discovery and execution. Users must remember full module paths like
python3 -m detect.v2.list_rules.Changes
Added
run.pywith the following capabilities:-hand other flags directly to the target sampleUsage
The implementation uses
runpy.run_module()to execute samples in their original context, preserving all existing functionality while providing a simpler interface.Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.