chore: Remove unused code related to Crowdstrike feature flag (#236)
taylor_socfortress committed
Jun 10, 2024 at 10:00 UTC
d8764141e86382df34c0dd7f7b49fccb2b0c4d48
1 file changed
-3
backend/app/integrations/crowdstrike/routes/provision.py
-3
@@ -17,7 +17,6 @@ from app.integrations.routes import find_customer_integration
17
from app.integrations.routes import get_customer_integrations_by_customer_code
18
from app.integrations.schema import CustomerIntegrations
19
from app.integrations.schema import CustomerIntegrationsResponse
20
-from app.middleware.license import is_feature_enabled
20
21
integration_crowdstrike_router = APIRouter()
22
@@ -99,7 +98,6 @@ async def provision_crowdstrike_route(
98
Returns:
99
ProvisionCrowdstrikeResponse: The response object containing the result of the provisioning.
100
"""
102
- await is_feature_enabled(feature_name="CROWDSTRIKE", session=session)
101
customer_integration_response = await get_customer_integration_response(
102
provision_crowdstrike_request.customer_code,
103
session,
@@ -114,7 +112,6 @@ async def provision_crowdstrike_route(
112
crowdstrike_auth_keys = extract_crowdstrike_auth_keys(customer_integration)
113
114
auth_keys = ProvisionCrowdstrikeAuthKeys(**crowdstrike_auth_keys)
117
- # logger.info(f"Provisioning Crowdstrike for customer {provision_crowdstrike_request.customer_code} with auth keys: {auth_keys.dict()}")
115
116
return await provision_crowdstrike(
117
customer_details=CrowdstrikeCustomerDetails(