Bulk TLS & Security Header Policy Checker
Pricing
$1.50 / 1,000 tls policy check completeds
Bulk TLS & Security Header Policy Checker
Check TLS certificates and compare public HTTPS response headers with a policy set per URL. Export observed results, exceptions, and a run summary.
Pricing
$1.50 / 1,000 tls policy check completeds
Rating
0.0
(0)
Developer
Min. H
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
5 days ago
Last modified
Categories
Features
Share
Check TLS certificate validity, hostname matching and expiry for public HTTPS URLs. Compare response headers against the policy you set for each URL. The same site can use different expectations for its homepage, login, and API. Results include the observed HTTP status, certificate expiry, inspection timestamp, per-rule evidence, and CSV and JSON exports.
Input
- Synthetic example is the default Console prefill. It evaluates two bundled header observations offline, one matching and one violating its policy. Every row is labeled
SYNTHETIC_FIXTURE, with no billable row or custom event. Apify runs markedTESTuse the bundled example without reading Run INPUT. - Live requires
accessAuthorized: trueand a nonemptytargetsarray. Confirm permission to make automated GET requests to the exact URLs and their declared destinations. URLs must be public HTTPS hostnames without credentials, query strings, fragments, or nonstandard ports. Keep secret values out of paths; the report includes hostnames and paths. - Each target requires
urlandexpect.expect.headerstakes lowercase names and eithertruefor a nonempty header or a string for exact comparison after trimming surrounding whitespace. Supported names arecontent-security-policy,strict-transport-security,x-frame-options,x-content-type-options,referrer-policyandpermissions-policy.expect.hstsMinAgecompares the HSTSmax-agein seconds. An optionalexpectedFinalUrlpermits one redirect to the exact HTTPS URL on the same origin. - The defaults are 50 unique URLs, 5.5 seconds per target, 45 seconds of target processing and a 30-day TLS expiry warning. The absolute input maximum is 100 URLs. Storage and SDK shutdown can extend elapsed run time beyond the target processing deadline.
For a live inspection, replace the URL and policy below with an HTTPS endpoint you are authorized to inspect. Set accessAuthorized to true only after you have that permission.
{"mode": "live","accessAuthorized": true,"maxTargets": 1,"targets": [{"url": "https://example.com/","expect": { "headers": { "x-content-type-options": "nosniff" } }}]}
Results
The default Dataset has one row per saved observation. The default key-value store contains OUTPUT.json, OUTPUT.csv and SUMMARY. SUMMARY includes outcome counts, unprocessed targets, any stop reason, billing status and a reusable live baseline. PPE_AUDIT is written when a custom charge is attempted and records only hashed target keys, timestamps and states.
PASSmeans the observed response met the supplied expectations.VIOLATIONmeans a complete header observation differed from them.UNKNOWNpreserves evidence that could be measured, such as a certificate failure when HTTP could not be reached. A live run with only unknown results keeps its diagnostics and exits unsuccessfully unless it reached an explicit processing limit.billableis eligibility, independent of payment confirmation. A TLS expiry warning for a still-valid certificate is distinct from both the TLS validity and header verdicts.UNCHANGEDcompares the observed policy verdicts and recorded evidence for the same expectations. It does not assert byte-for-byte equality of responses. Incomplete or unconfirmed writes retain the previously supplied baseline.- Browser enforcement, JavaScript resources, full CSP semantics, certificate revocation assurance, and comprehensive vulnerability or compliance certification are outside the scope. Duplicate header values and unsupported HSTS syntax may yield
UNKNOWN.
Example live result
This recorded example from example.com shows a valid TLS certificate and a response that did not meet the requested header policy. A complete inspection can return VIOLATION.
[{"url": "https://example.com/","finalUrl": "https://example.com/","result": "VIOLATION","statusCode": 200,"source": "LIVE_HTTPS","checkedAt": "2026-11-17T09:20:57.783Z","tlsStatus": "PASS","certificateExpiresAt": "2026-12-25T22:56:35.000Z","expiryWarning": false,"tls": {"result": "PASS","expiresAt": "2026-12-25T22:56:35.000Z"},"checks": [{"rule": "x-content-type-options","result": "VIOLATION","reason": "MISSING"}],"billable": true,"change": "NO_BASELINE"}]
Pricing and access
Each completed live URL inspection costs $0.0015 ($1.50 per 1,000 completed inspections). An inspection is eligible when the Actor completes the check and saves its result to the Dataset. A completed inspection that finds a policy violation is eligible for the same event. The synthetic fixture, duplicate URLs, invalid inputs, unprocessed URLs and UNKNOWN results are free of event charges. The Actor attempts each eligible charge once after storage. If the charge outcome is unclear, processing stops and the Actor leaves a billing audit record.
Run with Limited Permissions, effective Restricted resource access and automatic restart disabled. The Actor checks anonymous access to the current Run and its default storage before reading input. Keep secrets out of target paths and use URLs you are authorized to inspect. The report identifies observations at the recorded inspection time.