Skip to content

Looking for docs for CSP rules ironclad library #96

Description

@renarsvilnis

Hey,
a bit unrelated to the exact library code, but trying to integrate Ironclad into the project and cannot find a source listing of the expected CSP rules I need to whitelist, so I have to waste time reverse-engineering it by trial & error.

Current list is:

const pactsafeCsp = {
        scriptSrc: ["https://*.pactsafe.com", "https://*.pactsafe.io"],
        connectSrc: [
          "https://*.pactsafe.com",
          "https://pactsafe.io",
          "https://*.pactsafe.io",
          "https://*.ironcladapp.com",
        ],
        frameSrc: ["https://*.pactsafe.com", "https://*.pactsafe.io"],
        styleSrc: ["https://*.pactsafe.com", "https://*.pactsafe.io"],
        imgSrc: ["https://*.pactsafe.com", "https://*.pactsafe.io"],
        fontSrc: ["https://*.pactsafe.com", "https://*.pactsafe.io"],
      } satisfies CspRuleSet;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions