pyhuntress/src/pyhuntress/endpoints/managedsat/PhishingAttemptsActionsEndpoint.py
Peter Annabel 146431e818 Added all the endpoints
Get requests should work for all but the completion certificate
Post requests still need work
2025-07-24 15:40:39 -05:00

22 lines
856 B
Python

from pyhuntress.endpoints.base.huntress_endpoint import HuntressEndpoint
from pyhuntress.endpoints.managedsat.PhishingAttemptsActionsReportEndpoint import PhishingAttemptsActionsReportEndpoint
from pyhuntress.interfaces import (
IPostable,
)
from pyhuntress.models.managedsat import SATPhishingAttemptsReport
from pyhuntress.types import (
JSON,
HuntressSATRequestParams,
)
class PhishingAttemptsActionsEndpoint(
HuntressEndpoint,
IPostable[SATPhishingAttemptsReport, HuntressSATRequestParams],
):
def __init__(self, client, parent_endpoint=None) -> None:
HuntressEndpoint.__init__(self, client, "actions", parent_endpoint=parent_endpoint)
IPostable.__init__(self, SATPhishingAttemptsReport)
self.report = self._register_child_endpoint(PhishingAttemptsActionsReportEndpoint(client, parent_endpoint=self))