# Scripts (/en/docs/platform/features/pci-dss/scripts)



The script inventory is your record for PCI DSS requirement 6.4.3: every script your payment pages load, with a decision and its history.

## How scripts get here [#how-scripts-get-here]

Your visitors' browsers report each script a [payment page](/en/docs/platform/features/pci-dss/payment-pages) runs, with a hash of its content. CentralCSP adds every script seen on an enabled payment page to the inventory, and updates it as reports arrive and after every change to your payment pages or rules.

A script that stops loading on your payment pages leaves the inventory. Its decision and history are kept, and it comes back with them if it loads again.

## Statuses [#statuses]

| Status           | Meaning                                                                                           |
| ---------------- | ------------------------------------------------------------------------------------------------- |
| **Needs review** | Nobody has decided on it yet, or its content changed since the last decision                      |
| **Approved**     | Authorized on your payment pages, with a justification                                            |
| **Rejected**     | Should not be on your payment pages, with a reason                                                |
| **Out of scope** | Known to load, needs no action, with a reason, such as what a visitor's browser extension injects |

When the content of a script a person approved changes, it goes back to **Needs review**, so a modified script is never left approved without someone looking at it. A script a [rule](/en/docs/platform/features/pci-dss/scripts/rules) approved stays approved, since the rule covers its future content.

A rejected script also says whether it is **Still loaded** by your payment pages, so you remove it or block it with your Content Security Policy, or only **Rarely reported**, usually by a cached page or a browser extension, which needs nothing from you.

## Before you decide [#before-you-decide]

Each script keeps what you need to decide on it: its URL, origin and current hash, what your payment pages recently reported of it, its [tags](/en/docs/platform/features/pci-dss/scripts/tags), and its full history. When [Technologies](/en/docs/platform/features/technologies) recognizes the library a script carries, its version and known vulnerabilities are shown too: check them before you approve.

For how to decide, refer to [Review scripts](/en/docs/platform/features/pci-dss/scripts/review-scripts). To see the scripts grouped by where they come from, refer to [Origins](/en/docs/platform/features/pci-dss/scripts/origins).

## Refresh and export [#refresh-and-export]

To pick up new scripts right away, for example after a deploy, a Manager can select **Refresh inventory**. Processing can take a few minutes.

**Export CSV** downloads the scripts you are viewing, with their decisions, to work through a long list in a spreadsheet. For what an assessor asks for, download the [evidence](/en/docs/platform/features/pci-dss/evidence) instead.

## When the list is empty [#when-the-list-is-empty]

The empty list says why, with the action that fixes it:

| Message                            | What to do                                                                             |
| ---------------------------------- | -------------------------------------------------------------------------------------- |
| **No payment page yet**            | Add a payment page.                                                                    |
| **All payment pages are disabled** | Turn one on.                                                                           |
| **No script reported yet**         | Your payment pages do not send reports yet. Select **Open setup** to finish reporting. |
| **No report from a payment page**  | Reports arrive, but none matches your payment pages. Check their patterns.             |
| **Preparing your scripts**         | The list will be ready in a few minutes.                                               |

## Next steps [#next-steps]

* [Review scripts](/en/docs/platform/features/pci-dss/scripts/review-scripts)
* [Rules](/en/docs/platform/features/pci-dss/scripts/rules)
* [Origins](/en/docs/platform/features/pci-dss/scripts/origins)
