Skip to content

[feat/VM-7321] Add accepted status to attack path findings schema#980

Open
naumraviz wants to merge 3 commits intotenable:mainfrom
naumraviz:feature/VM-7321-public-api-status-enum
Open

[feat/VM-7321] Add accepted status to attack path findings schema#980
naumraviz wants to merge 3 commits intotenable:mainfrom
naumraviz:feature/VM-7321-public-api-status-enum

Conversation

@naumraviz
Copy link
Contributor

Add "accepted" to the status enum in both Pydantic and Marshmallow finding schemas to support the new lifecycle management status.

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A
  • Test B

Test Configuration:

  • Python Version(s) Tested:
  • Tenable.sc version (if necessary):

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@naumraviz naumraviz requested a review from a team as a code owner February 26, 2026 08:49
@naumraviz naumraviz force-pushed the feature/VM-7321-public-api-status-enum branch from 7cb89b4 to 08d3cfd Compare February 26, 2026 08:54
- Add `accepted` to technique StatusEnum (Pydantic) and Marshmallow validation (VM-7321)
- Add PathStatusEnum and `path_status` field to VectorRow (Pydantic) (VM-7287)
- Add `path_status` field to VectorSchema (Marshmallow) with validation (VM-7287)
- Add path_status filter example to top_attack_paths_search docs (VM-7288)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@naumraviz naumraviz force-pushed the feature/VM-7321-public-api-status-enum branch from 08d3cfd to 75fc6dc Compare February 26, 2026 09:18
Naum Rabich and others added 2 commits February 27, 2026 15:27
…_status

Update existing finding fixtures to use status "accepted" and add
path_status field to vector fixtures to validate the new schema changes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add exclude_resolved (default True) to search_attack_techniques and
top_attack_paths_search. Passed as query param to server endpoints.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant