-
Notifications
You must be signed in to change notification settings - Fork 0
Nuclei studio #74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Nuclei studio #74
Conversation
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
* feat(worker): join worker cluster with api key from provider tools * feat(jobs-registry): enhance job retrieval with tool filtering based on worker type * feat(jobs): create job for any tool * fix(jobs-registry): refine job retrieval logic to ensure workspace filtering for built-in tools * fix(jobs-registry): update query conditions to use andWhere for target and workspace filtering * feat(jobs-registry): add job property to GetNextJobResponseDto and refactor getNextJob method for built-in tools
…on and linting (#59)
* refactor(core-api): improve type safety and add test file rules in ESLint configuration * feat(husky): add lint check to pre-commit hook
* feat(asset-column): sort IP addresses to prioritize IPv4 over IPv6 in BadgeList * refactor(detail-provider): remove tabs and improve layout for provider details
#63) * feat(assets): update tags name for asset by asset id * feat(asset-column): add tags column with display and count for remaining tags * fix(auth): comment out secure and sameSite attributes in session cookie configuration * fix(tools): cannot run auto create built-in tools to database * feat(assets): add asset tags functionality and update related entities
# Conflicts: # .gitignore # console/src/routers/index.tsx
Remove jotai
… job creation logic
…vice documentation
- Add WORKER_TOKEN_HEADER constant for worker authentication - Create WorkerTokenAuth decorator for applying worker token guards and swagger documentation - Implement WorkerTokenGuard to validate worker tokens against the database - Add validateWorkerToken method to WorkersService for token validation - Apply WorkerTokenAuth to JobsRegistryController.getNextJob endpoint - Update OpenAPI spec to include worker-token header requirement - Modify worker tool to include worker-token header in API requests - Improve job result reporting with structured data payloads
) * feat(api): implement bullmq for scan scheduling and job management - Integrate BullMQ for handling scheduled scans and background jobs - Replace previous cron-based scheduling with BullMQ repeatable jobs - Add new constants and queue configurations for scan schedules - Update dependencies to include @nestjs/bullmq and bullmq - Refactor TargetsService to use BullMQ for managing target scan schedules - Remove old RedisService and SchedulerRegistry dependencies - Add new module imports and queue registrations for jobs and scan schedules * refactor(api): replace constant with enum for bullmq queue names
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.
This pull request introduces a new "Studio" section to the app, including a new layout and a tabbed YAML template editor with persistent state management using Jotai. It also adds several new dependencies to support the editor's functionality and improves code consistency and minor UI details across the console. Below are the most important changes:
Studio Feature:
Studio
menu entry to the sidebar and created a dedicatedstudio-layout.tsx
for the Studio section, including a header with navigation and a GitHub badge. [1] [2] [3]studio/atoms.ts
to manage YAML template tabs, including persistent storage, add/remove functionality, and active tab tracking.EditorTabs
component for displaying and managing open YAML template tabs in the Studio editor.Dependency and Configuration Updates:
@uiw/react-codemirror
,@uiw/codemirror-theme-tokyo-night
,@codemirror/lang-yaml
,jotai
,prettier
,uuid
, andreact-hotkeys-hook
. [1] [2]orval.config.ts
to use single quotes for consistency and made minor path adjustments.use flake
to.envrc
for environment setup.UI and Code Quality Improvements:
These changes collectively lay the groundwork for a user-friendly, persistent YAML template editor within the new Studio section of the application.