Conversation
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request expands the Censys integration by adding support for CensEye related infrastructure discovery. It introduces new actions that allow users to initiate asynchronous jobs to analyze hosts, web properties, or certificates, monitor their status, and retrieve detailed pivot results. These changes include necessary updates to the core API manager, new data models for result formatting, and updated documentation and tests to ensure reliability. Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Ignored Files
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request introduces three new actions to the Censys integration—Create Related Infrastructure Job, Get Related Infrastructure Job Status, and Get Related Infrastructure Results—enabling users to discover and monitor related infrastructure via the CensEye API. The implementation includes updates to the APIManager, new data models for pivot result formatting, and comprehensive unit tests. Review feedback identifies several improvement opportunities, including strengthening input validation for web properties, removing redundant string operations, and ensuring proper failure handling when expected job IDs are missing from API responses. Additionally, the feedback notes that JSON example filenames should be updated to comply with repository naming conventions and suggests using double quotes in search query generation to better handle special characters.
|
❌ Marketplace Validation Failed Click to view the full reportValidation Report🧩 IntegrationsPre-Build Stagecensys
|
|
@jayminp-crest Hey! |
|
@TalShafir1 - Resolved the comments and fixed the github action issues. |
|
❌ Marketplace Validation Failed Click to view the full reportValidation Report🧩 IntegrationsPre-Build Stagecensys
|
|
❌ Marketplace Validation Failed Click to view the full reportValidation Report🧩 IntegrationsPre-Build Stagecensys
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
There are 2 total unresolved issues (including 1 from previous review).
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 2ca22bc. Configure here.
|
@jayminp-crest We've added some new validations, please take a look and try to resolve them. If you have any question please let me know |
|
Hi @TalShafir1 / @AmitJ98 - To resolve this Gemini feedback i have changed the resource file names. But now i am gettting a valdiation error stating the files are missing which are already there. Could you please suggest what should be the correct file name format for the action example result json? |
the naming of the file need to be action_name_JsonResult_example.json |
|
You have used all of your free Bugbot PR reviews. To receive reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial. |
|
You have used all of your free Bugbot PR reviews. To receive reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial. |
|
You have used all of your free Bugbot PR reviews. To receive reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial. |
|
❌ Marketplace Validation Failed Click to view the full reportValidation Report📘 PlaybooksPre-Build Stagecensys_rescan
censys_host_history
|
|
You have used all of your free Bugbot PR reviews. To receive reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial. |
|
❌ Marketplace Validation Failed Click to view the full reportValidation Report📘 PlaybooksPre-Build Stagecensys_rescan
censys_host_history
|
|
You have used all of your free Bugbot PR reviews. To receive reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial. |
|
❌ Marketplace Validation Failed Click to view the full reportValidation Report📘 PlaybooksPre-Build Stagecensys_rescan
censys_host_history
|
|
Hi @AmitJ98 - I have bumped version of the playbook in |
|
You have used all of your free Bugbot PR reviews. To receive reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial. |
|
Hey @jayminp-crest the pr approved and merged. |

Censys Related Infrastructure Usecase
Checklist:
Please ensure you have completed the following items before submitting your PR.
This helps us review your contribution faster and more efficiently.
General Checks:
Open-Source Specific Checks:
Note
Medium Risk
Adds new Censys Threat Hunting (CensEye) API calls and async job polling/results retrieval, which could impact action behavior and API usage if request/response assumptions are wrong.
Overview
Adds a new Censys CensEye “Related Infrastructure” playbook that runs a 3-step flow: create a related-infrastructure job, poll job status asynchronously, then fetch and display pivot results.
Extends the Censys integration with new actions (
Create Related Infrastructure Job,Get Related Infrastructure Job Status,Get Related Infrastructure Results), new APIManager endpoints/methods for CensEye jobs/results, and aRelatedInfraResultModelthat formats pivots into a table and generates Censys search URLs. Also bumps the integration version to3.0, updates release notes/examples, and includes mostly formatting/test harness updates.Reviewed by Cursor Bugbot for commit 2ca22bc. Bugbot is set up for automated code reviews on this repo. Configure here.