Enable Reversing Labs
    • PDF

    Enable Reversing Labs

    • PDF

    Article summary

    Follow these (optional) steps to enable integration with ReversingLabs.

    Add ReversingLabs credentials

    ReversingLabs credentials should be securely stored in a Kubernetes secret.

    • First retrieve the existing kubernetes secrets and save to a yaml file
      kubectl get secret cdrplatform-secrets -n cdrplatform -o yaml > cdrplatform-secrets.yaml
      
    • Edit the cdrplatform-secrets.yaml file and add 2 lines with halo-reversinglabs-username and halo-reversinglabs-password under the data section. Leave the existing lines untouched.
      apiVersion: v1
      data:
        <existing secrets>
        <existing secrets>
        halo-reversinglabs-username: <base64-encoded-username>
        halo-reversinglabs-password: <base64-encoded-password>
      kind: Secret
      ...
      
    • Apply the yaml.
      kubectl apply -f cdrplatform-secrets.yaml -n cdrplatform
      

    Pull Helm charts

    Pull the necessary helm charts to enable Reversing Labs in the Halo.

    kubectl create secret docker-registry acr-secret -n cdrplatform \
      --docker-server="glasswallhub.azurecr.io" --docker-username="${token_ID}" --docker-password="${token}"
    kubectl create secret docker-registry acr-secret -n license-management \
      --docker-server="glasswallhub.azurecr.io" --docker-username="${token_ID}" --docker-password="${token}"
    helm registry login "glasswallhub.azurecr.io" -u "${token_ID}" -p "${token}"
    helm pull oci://glasswallhub.azurecr.io/helm/cdrplatform-portal --version {{ cdrplatform_portal_version }} --untar --untardir .
    helm pull oci://glasswallhub.azurecr.io/helm/cdrplatform-engine --version {{ cdrplatform_engine_version }} --untar --untardir .
    

    Upgrade Helm charts

    Engine

    Run below commands to enable Reversing Labs in the engine.

    helm get values cdrplatform-engine -oyaml > cdrplatform-engine-values.yaml
    helm upgrade cdrplatform-engine cdrplatform-engine \
      -n cdrplatform \
      -f cdrplatform-engine-values.yaml \
      --set configuration.ENABLE_REVERSING_LABS="true" \
      --atomic
    

    Portal (Optional)

    If the Portal is configured with SSO Login, you may optionally want to enable Reversing Labs page in the Portal. Run below commands to enable Reversing Labs page in the Portal.

    helm get values cdrplatform-portal -oyaml > cdrplatform-portal-values.yaml
    helm upgrade --install cdrplatform-portal cdrplatform-portal \
      -n cdrplatform \
      -f cdrplatform-portal-values.yaml \
      --set enabled_pages='SystemSettings\,PolicySettings\,ReversingLabs' \
      --atomic
    

    Was this article helpful?

    What's Next