Stay organized with collections
Save and categorize content based on your preferences.
Custom lists
The custom list is just a list of objects, that can be saved into
Siemplify's DBs, as a shared resource, fetched and queried by each
script execution instance. The custom list can be edited in the platform Settings screen. This section deals with SDK functionalities for
custom lists
Custom List item structure: This object is defined in
SiemplifyDataModel
Param Name
Param Type
Possible Values
identifier
string
Any identifier whatsoever. Usually this identifier represents a
possible entity in future alerts
category
string
Category from the Siemplify settings
environment
string
Environment name from the Siemplify settings
To create a CustomList object, do the
following:
from SiemplifyAction import SiemplifyAction
from SiemplifyDataModel import CustomList
custom_list = CustomList(identifier="203.0.113.1", category="AllowListed HOSTs", environment="")
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-06 UTC."],[[["Custom lists are shared lists of objects stored in Siemplify's databases, accessible and queryable by any script execution instance."],["Custom lists can be managed via the platform Settings screen, and the SDK offers specific functionalities for interacting with them."],["Each item in a custom list includes an identifier, a category sourced from the Siemplify settings, and an environment name also sourced from Siemplify settings."],["You can create a *CustomList* object using the `CustomList` class from the `SiemplifyDataModel` module, specifying an identifier, category, and environment."],["There are related methods available in the Siemplify module, such as `add_entities_to_custom_list`, `any_entity_in_custom_list`, `remove_entities_from_custom_list`, `get_existing_custom_list_categories`, and `is_existing_category`."]]],[]]