Module glasswall.content_management.switches.ppt
Expand source code
from glasswall.content_management.switches.switch import Switch
class embedded_files(Switch):
def __init__(self, value: str):
self.name = self.__class__.__name__
self.restrict_values = ["allow", "disallow", "sanitise"]
self.value = value
super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)
class embedded_images(Switch):
def __init__(self, value: str):
self.name = self.__class__.__name__
self.restrict_values = ["allow", "disallow", "sanitise"]
self.value = value
super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)
class external_hyperlinks(Switch):
def __init__(self, value: str):
self.name = self.__class__.__name__
self.restrict_values = ["allow", "disallow", "sanitise"]
self.value = value
super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)
class internal_hyperlinks(Switch):
def __init__(self, value: str):
self.name = self.__class__.__name__
self.restrict_values = ["allow", "disallow", "sanitise"]
self.value = value
super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)
class javascript(Switch):
def __init__(self, value: str):
self.name = self.__class__.__name__
self.restrict_values = ["allow", "disallow", "sanitise"]
self.value = value
super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)
class macros(Switch):
def __init__(self, value: str):
self.name = self.__class__.__name__
self.restrict_values = ["allow", "disallow", "sanitise"]
self.value = value
super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)
class metadata(Switch):
def __init__(self, value: str):
self.name = self.__class__.__name__
self.restrict_values = ["allow", "disallow", "sanitise"]
self.value = value
super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)
class review_comments(Switch):
def __init__(self, value: str):
self.name = self.__class__.__name__
self.restrict_values = ["allow", "disallow", "sanitise"]
self.value = value
super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)
Classes
class embedded_files (value: str)
-
A Content Management Policy switch which has a name and a value, and can have attributes.
Expand source code
class embedded_files(Switch): def __init__(self, value: str): self.name = self.__class__.__name__ self.restrict_values = ["allow", "disallow", "sanitise"] self.value = value super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)
Ancestors
Inherited members
class embedded_images (value: str)
-
A Content Management Policy switch which has a name and a value, and can have attributes.
Expand source code
class embedded_images(Switch): def __init__(self, value: str): self.name = self.__class__.__name__ self.restrict_values = ["allow", "disallow", "sanitise"] self.value = value super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)
Ancestors
Inherited members
class external_hyperlinks (value: str)
-
A Content Management Policy switch which has a name and a value, and can have attributes.
Expand source code
class external_hyperlinks(Switch): def __init__(self, value: str): self.name = self.__class__.__name__ self.restrict_values = ["allow", "disallow", "sanitise"] self.value = value super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)
Ancestors
Inherited members
class internal_hyperlinks (value: str)
-
A Content Management Policy switch which has a name and a value, and can have attributes.
Expand source code
class internal_hyperlinks(Switch): def __init__(self, value: str): self.name = self.__class__.__name__ self.restrict_values = ["allow", "disallow", "sanitise"] self.value = value super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)
Ancestors
Inherited members
class javascript (value: str)
-
A Content Management Policy switch which has a name and a value, and can have attributes.
Expand source code
class javascript(Switch): def __init__(self, value: str): self.name = self.__class__.__name__ self.restrict_values = ["allow", "disallow", "sanitise"] self.value = value super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)
Ancestors
Inherited members
class macros (value: str)
-
A Content Management Policy switch which has a name and a value, and can have attributes.
Expand source code
class macros(Switch): def __init__(self, value: str): self.name = self.__class__.__name__ self.restrict_values = ["allow", "disallow", "sanitise"] self.value = value super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)
Ancestors
Inherited members
class metadata (value: str)
-
A Content Management Policy switch which has a name and a value, and can have attributes.
Expand source code
class metadata(Switch): def __init__(self, value: str): self.name = self.__class__.__name__ self.restrict_values = ["allow", "disallow", "sanitise"] self.value = value super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)
Ancestors
Inherited members
class review_comments (value: str)
-
A Content Management Policy switch which has a name and a value, and can have attributes.
Expand source code
class review_comments(Switch): def __init__(self, value: str): self.name = self.__class__.__name__ self.restrict_values = ["allow", "disallow", "sanitise"] self.value = value super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)
Ancestors
Inherited members