# Security Hardening Checklist

> PeopleSoft security hardening checklist for new psLens deployments: Integration Broker nodes, high-privilege accounts, SOAP-to-CI, native passwords under SSO, password controls, and continuous auditing.

---

Site [llms.txt](/llms.txt)

---

This checklist documents how to audit and harden a newly connected PeopleSoft database using psLens security reports, the Failed Logins alert, object detail pages, and targeted PeopleSoft PIA settings. Start in your production (`PROD`) environment to establish a baseline, then apply remediation changes through `DEV` and `QA` first under your normal change-control process.

## Prerequisites

- [ ] **Verify required tables in the SWS whitelist:** Confirm that the security, Integration Broker, and audit tables listed in [Whitelist Tables](/docs/getting-started/whitelist-tables/) are registered in `CHG_PSLENS_WL` with no missing-table warnings on **Settings → Databases**. Include `PSPTLOGINAUDIT` for failed-login monitoring, plus the optional Search Framework tables (`PTSF_DEPLOY_OBJ`, `PSPTSF_SRCHATTR`, `PSPTSF_SD_PNLGP`, `PTSF_SRCH_ENGN`) if you run PeopleSoft Search Framework.
- [ ] **Set up notification delivery:** Configure at least one email list or webhook destination under **Settings → Notifications** per [Webhook Integrations](/docs/getting-started/webhook-integrations/) so scheduled security reports and alerts reach your security team.

## Integration Broker Nodes and Routings

Integration nodes without credentials, shared node accounts, and wildcard routings expose inbound PeopleSoft web services and allow service operations to execute under overly broad user accounts.

- [ ] **Eliminate unauthenticated active nodes:** Run [Nodes with No Password](/docs/reports/security/security-nodes-no-password/) (`security-nodes-no-password`, queries `PSMSGNODEDEFN`). Fix CRITICAL findings (`ACTIVE_NODE = '1'` and `AUTHOPTN = 'N'`) by setting Authentication Option to Password (`P`) or Certificate (`C`) under *PeopleTools > Integration Broker > Integration Setup > Node Definitions*, set missing passwords (`IBPASSWORD`/`IBEXTERNALPWD`) on WARNING findings, and deactivate nodes that are no longer used. Two intentional exceptions require extra care: outbound-only `HttpTargetConnector` nodes are safe only when their Default User ID holds zero `PSAUTHWS` permissions with no inbound routings, and the delivered `ANONYMOUS` fallback node must be restricted as described below.
- [ ] **Lock down node user accounts and `ANONYMOUS`:** Run [IB Node Security Audit](/docs/reports/integration-broker/ib-node-security-audit/) (`ib-node-security-audit`). Verify that the `ANONYMOUS` node's `USERID` is locked (`ACCTLOCK = 1`) and holds no elevated privileges. Remove superuser accounts (such as `PS` or `VP1`) and any PeopleTools client access from active node `USERID`s. Replace shared node accounts with dedicated per-node service accounts (for example, `{ORG}_{APP}_NODEUSER`) scoped strictly to required `PSAUTHWS` and `PSAUTHBUSCOMP` grants, and deactivate active external nodes with no active routings in `PSIBRTNGDEFN`.
- [ ] **Close wildcard and unauthenticated inbound routes:** Run [Unauthenticated Node Service Operations](/docs/reports/integration-broker/ib-noauth-node-svcops/) (`ib-noauth-node-svcops`) and [Active `~~ANY~~` to Local Node Routings](/docs/reports/integration-broker/ib-any-to-local-routing/) (`ib-any-to-local-routing`). Replace `~~ANY~~` inbound routings on sensitive operations (especially `USER_PROFILE`) with explicit sender-to-receiver routings, and deactivate unused service operations or routings.

## High-Privilege Access

Audit every active account (`ACCTLOCK = 0`) that can alter security definitions, modify PeopleSoft objects or code, reconfigure Integration Broker nodes, or adjust batch execution definitions.

- [ ] **Audit who can update security, nodes, URLs, and batch execution:** Run [Dangerous Permissions Audit](/docs/reports/security/security-dangerous-permissions/) (`security-dangerous-permissions`, queries `PSAUTHITEM`, `PSROLECLASS`, and `PSOPRDEFN` where `DISPLAYONLY = 0`). Review every permission list and active user count across these categories:
  - *Security administration:* `User Profile Management` (`MAINTAIN_SECURITY` / `USERPROFILES`, `USER_SAVEAS`, `USERMAINT_DIST`), `Role Management` (`ROLEMAINT`, `ROLESAVEAS`), and `Permission List Purge` (`PURGE_PERMLIST`, `PURGE_ROLEDEFN`, `PURGE_USR_PROFILE`).
  - *Integration nodes and external endpoints:* `Node Configuration` (`IB_CONFIGURE` / `IB_NODE`) and `URL Definitions Management` (`MAINTAIN_SECURITY` / `URL_MAINTENANCE`).
  - *Batch execution definitions:* `Process Type Definitions` (`PROCESSMONITOR` / `PRCSTYPE`), which controls the command lines executed by Process Scheduler.
- [ ] **Audit direct permission list maintenance:** Search [Components](/docs/objects/components/) in psLens for `ACCESS_CNTRL_LISTX` and `PERMISSION_SAVEAS` (under menu `MAINTAIN_SECURITY`), open the **Permission Lists with Access** panel, and review which permission lists, roles, and active accounts hold update access (`DISPLAYONLY = 0`). Restrict direct permission list editing alongside User Profile and Role management.
- [ ] **Audit who can modify code and object definitions:** Run [PeopleTools Access Audit](/docs/reports/security/peopletools-access/) (`security-peopletools-access`, queries `PSAUTHITEM` and `PSOPROBJ`). Review every active account holding Full or Read-only access to `APPLICATION_DESIGNER`, `DATA_MOVER`, `OBJECT_SECURITY`, `IMPORT_MANAGER`, `QUERY`, or `CLIENTPROCESS`, and verify Definition Security (`PSOPROBJ`) edit grants on the `PEOPLETOOLS` object group. Move analysts, auditors, and support staff who only browse metadata off Application Designer onto psLens — see [Reducing App Designer Access](/docs/use-cases/reducing-app-designer-access/).
- [ ] **Review broad "superuser" permission lists:** Run [Full Access Permission Lists](/docs/reports/security/security-full-access/) (`security-full-access-permlists`, default `minMenuCount = 50`). Inspect catch-all lists such as `ALLPAGES` or `PTPT1200`, trace their assigned roles and active accounts in psLens, and remove broad permission lists from non-administrator roles.
- [ ] **Inspect special system and search accounts:**
  - Open the [Users](/docs/security/users/) detail page for the Signon PeopleCode default user (`PSOPTIONS.OPRID`, shown under the **Special Use** toggle) and verify it does not hold superuser roles or PeopleTools client access.
  - In PeopleSoft PIA under *PeopleTools > Web Profile > Web Profile Configuration > Security*, inspect the **Public Users** User ID (`DEFAULTUSERID`) in psLens and verify it holds only minimal guest permissions.
  - If you run PeopleSoft Search Framework, run [Search Framework Security Audit](/docs/reports/security/ptsf-security-audit/) (`ptsf-security-audit`) to review deployed search definitions with no document or source security, indexed sensitive fields (`mcp.maskedFields`), search administrators (`PTPT3100`, `PTPT3300`, `PTPT5700`), and administrator roles on the search callback user (`PTSF_SRCH_ENGN`).

## Programmatic and Web Service Access

- [ ] **Restrict SOAP-to-CI access:** Run [SOAP to CI Access Audit](/docs/reports/security/security-soap-to-ci-access/) (`security-soap-to-ci-access`, queries `PSAUTHITEM` for `WEBLIB_SOAPTOCI` and `PSAUTHBUSCOMP`). Remove `WEBLIB_SOAPTOCI` from standard business users and primary permission lists (`OPRCLASS`). For required integration accounts, narrow `PSAUTHBUSCOMP` authorizations to the exact Component Interfaces and methods needed, and lock unused service accounts.
- [ ] **Disable WSDL generation in production:** Review the `WSDL Generation (WEBLIB_MSGWSDL)` section of [Dangerous Permissions Audit](/docs/reports/security/security-dangerous-permissions/) and remove `WEBLIB_MSGWSDL` access in production.
- [ ] **Review web service operation breadth:** Run [Web Service Operation Access Audit](/docs/reports/integration-broker/security-ws-access/) (`security-ws-access`, queries `PSAUTHWS`) to find active service operations exposed to unexpectedly broad user counts or orphaned permission lists.

## Native Passwords and Password Controls

- [ ] **Clear native passwords on SSO users (high-privilege accounts first):** Run [SSO Bypass Password Audit](/docs/reports/security/security-sso-password-audit/) (`security-sso-password-audit`, queries `PSOPRDEFN` where `OPERPSWD`, `PTOPERPSWDV2`, or `OPERPSWDSALT` is not `' '`). Prioritize active accounts identified in the High-Privilege Access section above (users who can update security, code, or nodes) because a native password lets an attacker bypass SSO and MFA through direct login URLs such as `?cmd=login`. Create an explicit exception role (for example, `X_CAN_HAVE_PS_PASSWORD`) for accounts that legitimately need a PeopleSoft password (such as 2-tier PeopleTools administrators, application server accounts, or break-glass accounts), clear native passwords on all remaining users using the report's generated SQL, and re-run with `excludeRoles` set to your exception role.
- [ ] **Audit remaining native passwords for staleness:** Run [Stale Password Audit](/docs/reports/security/security-stale-passwords/) (`security-stale-passwords`) to find active accounts whose native passwords exceed your policy window (default 90 days) or lack a `LASTPSWDCHANGE` date.
- [ ] **Verify Password Controls and Signon PeopleCode lockout enforcement in PeopleSoft PIA:**
  - Navigate to *PeopleTools > Security > Password Configuration > Set Password Controls* (`SEC_PSWD_RESTR`). Confirm the **Enabled** checkbox under **Signon PeopleCode** is checked and **Failed Logons** (`PSSECOPTIONS.LOGINATTEMPTS`) under **Account Lockout** is set to lock accounts after too many failed attempts.
  - Navigate to *PeopleTools > Security > Security Objects > Signon PeopleCode* (`SIGNONPPC_PAGE_COM`). Confirm `FUNCLIB_PWDCNTL.PWDCNTL.FieldChange.Password_Controls` is **Enabled** and has **Exec Auth Fail** checked so PeopleSoft executes the lockout counter when authentication fails.
- [ ] **Enable the Failed Logins alert in psLens:** Enable [Failed Logins](/docs/alerts/security/failed-logins/) (`failed_logins`, queries `PSPTLOGINAUDIT`, default threshold 5 failed attempts) under **Settings → Databases → [Database] → Alerts** (or in `config.yaml`) to catch brute-force attempts and misconfigured service accounts.

## Continuous Auditing

Once the baseline is clean, convert one-time checks into recurring scheduled audits under **Reports → Run New Report** ([Scheduling Reports](/docs/reports/#scheduling-reports)). Reports marked **Diffable** below embed structured findings and support **Only notify when results change** (plus pinned baselines), while non-diffable reports send notifications on each scheduled run.

|            Report ID             | Recommended Cadence |       Notification Trigger Condition       |                        Key Parameters / Notes                        |
| -------------------------------- | ------------------- | ------------------------------------------ | -------------------------------------------------------------------- |
| `security-nodes-no-password`     | Daily or Weekly     | Only notify when results change (Diffable) | No parameters; or use "Only notify when there is at least 1 finding" |
| `security-peopletools-access`    | Weekly              | Only notify when results change (Diffable) | Set `activeOnly = true` (or `false` to track dormant grants)         |
| `ptsf-security-audit`            | Weekly              | Only notify when results change (Diffable) | Uses `mcp.maskedFields` from configuration                           |
| `ib-node-security-audit`         | Weekly or Monthly   | Always notify on completion                | Review new node `USERID` grants and unrouted nodes                   |
| `ib-noauth-node-svcops`          | Monthly             | Always notify on completion                | Confirms no active operations are reachable without auth             |
| `ib-any-to-local-routing`        | Monthly             | Always notify on completion                | Catches newly added wildcard `~~ANY~~` inbound routings              |
| `security-dangerous-permissions` | Weekly or Monthly   | Always notify on completion                | Tracks SOAP-to-CI, user/role/node/URL/process-type maintenance       |
| `security-soap-to-ci-access`     | Monthly             | Always notify on completion                | Tracks active `WEBLIB_SOAPTOCI` and `PSAUTHBUSCOMP` grants           |
| `security-sso-password-audit`    | Weekly              | Always notify on completion                | Set `excludeRoles` to your approved exception role                   |
| `security-stale-passwords`       | Monthly             | Always notify on completion                | Set `staleDays` to match your password rotation policy               |

- [ ] **Verify security migrations before and after promotion:** When moving security changes from `DEV` or `QA` to `PROD`, run [User Profile Comparison](/docs/reports/security/security-compare-users/), [Role Comparison](/docs/reports/security/security-compare-roles/), or [Permission List Comparison](/docs/reports/security/security-compare-permlists/) to verify that no unintended privileges enter production.
