'''Attack Type=============Methods described in this section relate to the the attack type API.These methods can be accessed at ``TenableIE.attack_types``... rst-class:: hide-signature.. autoclass:: AttackTypesAPI :members:'''fromtypingimportList,Dictfromtenable.ie.attack_types.schemaimportAttackTypesSchemafromtenable.base.endpointimportAPIEndpoint
[docs]deflist(self)->List[Dict]:''' Retrieve all attack types Returns: list: The list of attack types objects Examples: >>> tie.attack_types.list() '''returnself._schema.load(self._get('attack-types'),many=True)