Finding transitions

Python SDK reference for the transitions resource

Warning

The SDKs are in research preview. Their interfaces may change between minor versions until 1.0.

Access this resource from client.transitions. Both async and sync clients expose the same methods.

list

GET /v1/transitions

How findings changed between versions, across the project.

result = await client.transitions.list()

Arguments:

paramsTransitionListParams | Nonequery
default:None
pageinteger
page_sizeinteger
order_by'created_at' | 'updated_at'
order'desc' | 'asc'
before_version_idstring
after_version_idstring
before_finding_idstring
after_finding_idstring
kindFindingTransitionKind
user_idstring
with_paginationboolquery
default:False

Return type by call:

  • with_pagination=True → PaginatedResource[FindingTransition]
  • with_pagination=False → Pagination[FindingTransition]
show properties (6)hide properties (6)
resultsarray of FindingTransition
show properties (8)hide properties (8)
idstringrequired
created_atstringrequired
before_versionAnalysisVersionRefrequired
show properties (2)hide properties (2)
idstringrequired
analysis_idstringrequired
after_versionAnalysisVersionRefrequired
show properties (2)hide properties (2)
idstringrequired
analysis_idstringrequired
kindFindingTransitionKindrequired

How the finding changed.

before_findingOptional[FindingBare]

The finding before the change.

show properties (11)hide properties (11)
idstringrequired
created_atstringrequired
origin_finding_idstringrequired

The finding's original ID, stable across versions and edits.

is_acknowledgedbooleanrequired

Whether a user acknowledged the finding.

typestringrequired
levelFindingLevelrequired
namestringrequired
explanationstringrequired
recommendationOptional[string]
pocOptional[string]
toolstringrequired

What produced the finding.

after_findingOptional[FindingBare]

The finding after the change.

show properties (11)hide properties (11)
idstringrequired
created_atstringrequired
origin_finding_idstringrequired

The finding's original ID, stable across versions and edits.

is_acknowledgedbooleanrequired

Whether a user acknowledged the finding.

typestringrequired
levelFindingLevelrequired
namestringrequired
explanationstringrequired
recommendationOptional[string]
pocOptional[string]
toolstringrequired

What produced the finding.

changed_fieldsarray of string

used when comparing staged changes

pageintegerrequired
page_sizeintegerrequired
morebooleanrequired

Whether more pages follow.

total_observationsintegerrequired

Total results across all pages.

total_pagesintegerrequired

get

GET /v1/transitions/{transition_id}

result = await client.transitions.get(
    transition_id=transition_id,
)

Arguments:

transition_idstrpathrequired

Returns: FindingTransition

show properties (8)hide properties (8)
idstringrequired
created_atstringrequired
before_versionAnalysisVersionRefrequired
show properties (2)hide properties (2)
idstringrequired
analysis_idstringrequired
after_versionAnalysisVersionRefrequired
show properties (2)hide properties (2)
idstringrequired
analysis_idstringrequired
kindFindingTransitionKindrequired

How the finding changed.

before_findingOptional[FindingBare]

The finding before the change.

show properties (11)hide properties (11)
idstringrequired
created_atstringrequired
origin_finding_idstringrequired

The finding's original ID, stable across versions and edits.

is_acknowledgedbooleanrequired

Whether a user acknowledged the finding.

typestringrequired
levelFindingLevelrequired
namestringrequired
explanationstringrequired
recommendationOptional[string]
pocOptional[string]
toolstringrequired

What produced the finding.

after_findingOptional[FindingBare]

The finding after the change.

show properties (11)hide properties (11)
idstringrequired
created_atstringrequired
origin_finding_idstringrequired

The finding's original ID, stable across versions and edits.

is_acknowledgedbooleanrequired

Whether a user acknowledged the finding.

typestringrequired
levelFindingLevelrequired
namestringrequired
explanationstringrequired
recommendationOptional[string]
pocOptional[string]
toolstringrequired

What produced the finding.

changed_fieldsarray of string

used when comparing staged changes

On this page