from .enforcement_asset import EnforcementAsset from .constants import Capability, EntityType, JobName, Status class HighRiskPhoneSignups(EnforcementAsset): def __init__(self): super().__init__( name=JobName.HIGH_RISK_PHONE_SIGNUPS, description="Apply gen restrictions to high risk phone signups", entity_type=EntityType.USER, capability=Capability.GENERATE, status=Status.SILENTLY_REVOKED, reason="Bots from a high risk phone number region", schedule="15 * * * *", query_file="queries/high_risk_phone_signup_bots.sql", max_entities_per_run=5000, ) # Create the asset asset = HighRiskPhoneSignups()