airgun.entities.oscapcontent¶
Module Contents¶
-
class
airgun.entities.oscapcontent.OSCAPContentEntity¶ Bases:
airgun.entities.base.BaseEntity-
endpoint_path= /compliance/scap_contents¶
-
create(self, values)¶ Create new SCAP Conent
Parameters: values – Parameters to be assigned to new SCAP content, manadatory values are Title and Scap file.
-
delete(self, entity_name)¶ Delete corresponding SCAP Content
Parameters: entity_name – title of the corresponding SCAP Content
-
search(self, title)¶ Search for SCAP Content
Parameters: title – title of the corresponding SCAP Content Returns: result of the SCAP Content search
-
read(self, entity_name, widget_names=None)¶ Reads the content of corresponding SCAP Content
Parameters: entity_name – specify corresponding SCAP Content Returns: dict representing tabs, with nested dicts representing fields
-
update(self, entity_name, values)¶ Updates instance of SCAP Content with new values
Parameters: - entity_name – specify corresponding SCAP Content
- values – updates individual parameters of SCAP Content instance
-
-
class
airgun.entities.oscapcontent.ShowAllSCAPContents¶ Bases:
airgun.navigation.NavigateStepNavigate to All SCAP Contents screen.
-
VIEW¶
-
step(self, *args, **kwargs)¶
-
-
class
airgun.entities.oscapcontent.UploadNewSCAPContent¶ Bases:
airgun.navigation.NavigateStepNavigate to upload new SCAP Content page.
-
VIEW¶
-
prerequisite¶
-
am_i_here(self, *args, **kwargs)¶
-
step(self, *args, **kwargs)¶
-
-
class
airgun.entities.oscapcontent.EditSCAPContent¶ Bases:
airgun.navigation.NavigateStepNavigate to edit existing SCAP Content page.
-
VIEW¶
-
prerequisite(self, *args, **kwargs)¶
-
step(self, *args, **kwargs)¶
-