Skip to content

Commit

Permalink
chore: Remove unused dfir-iris connection verification and fields fro…
Browse files Browse the repository at this point in the history
…m ProvisionNewCustomer schema
  • Loading branch information
taylorwalton committed Aug 23, 2024
1 parent 18289a3 commit cdb5162
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions backend/app/customer_provisioning/services/provision.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,16 +129,6 @@ async def provision_wazuh_customer(
),
)

try:
provision_meta_data["iris_customer_id"] = (await create_customer(request.customer_name)).data.customer_id
except Exception:
provision_meta_data["iris_customer_id"] = 2

if request.dfir_iris_username is not None:
await add_user_to_all_customers(
request.dfir_iris_username,
)

customer_provision_meta = CustomerProvisionMeta(**provision_meta_data)
customer_meta = await update_customer_meta_table(
request,
Expand Down

0 comments on commit cdb5162

Please sign in to comment.