Score¶
Methods described in this section relate to the score API.
These methods can be accessed at TenableIE.score
.
- class ScoreAPI(api: APISession)[source]¶
- list(profile_id: str, **kwargs) → List[Dict][source]¶
Get the list of directories score by profile.
- Parameters:
Option-1 –
- profile_id (str):
The profile instance identifier.
- directory_ids (optional, List(int)):
The list of directory_ids.
- checker_ids (optional, List(int)):
The list of checker_ids.
- reason_ids (optional, List(int)):
The list of reason_ids.
Option-2 –
- profile_id (str):
The profile instance identifier.
- directory_ids (optional, str):
The directory_id instance identifier.
- checker_ids (optional, str):
The checker_id instance identifier.
- reason_ids (optional, str):
The reason_id instance identifier.
- Returns:
List of scores of different directories in the instance.
- Return type:
Examples
With single directory_ids, checker_ids, reason_ids
>>> tie.score.list(profile_id='1', ... directory_ids='3', ... checker_ids='1', ... reason_ids='1')
With multiple directory_ids, checker_ids, reason_ids
>>> tie.score.list(profile_id='1', ... directory_ids=[1, 2, 3], ... checker_ids=[1, 2, 3], ... reason_ids=[1, 2, 3])