![38% of CISOs Fear They’re Not Moving Fast Enough on AI](https://cdn.sanity.io/images/cgdhsj6q/production/faa0bc28df98f791e11263f8239b34207f84b86f-1024x1024.webp?w=400&fit=max&auto=format)
Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
github.com/companieshouse/penalty-payment-api
Penalty Payment Service (PPS) API which provides an interface for Creating, Getting, and Patching Penalties.
In order to run this API locally you will need to install the following:
go get github.com/companieshouse/penalty-payment-api
make build
Variable | Default | Description |
---|---|---|
E5_API_URL | - | E5 API Address |
E5_USERNAME | - | E5 API Username |
BIND_ADDR | - | The host:port to bind to |
MONGODB_URL | - | The mongo db connection string |
PPS_MONGODB_DATABASE | - | The database name to connect to e.g. late_filing_penalties |
PPS_MONGODB_COLLECTION | - | The collection name e.g. payable_resources |
KAFKA_BROKER_ADDR | _ | Kafka Broker Address |
SCHEMA_REGISTRY_URL | _ | Schema Registry URL |
API_URL | _ | The application endpoint for the API, for go-sdk-manager integration |
PAYMENTS_API_URL | _ | The base path for the payments API, for go-sdk-manager integration |
CHS_URL | _ | CHS URL |
WEEKLY_MAINTENANCE_START_TIME | _ | Start time of weekly maintenance e.g. 0700 |
WEEKLY_MAINTENANCE_END_TIME | _ | End time of weekly maintenance e.g. 0730 |
WEEKLY_MAINTENANCE_DAY | _ | Day of weekly maintenance e.g. 0 (zero for Sunday) |
PLANNED_MAINTENANCE_START_TIME | _ | Start time and date of planned maintenance e.g. 01 Jan 19 15:04 BST |
PLANNED_MAINTENANCE_END_TIME | _ | End time and date of planned maintenance e.g. 31 Jan 19 16:59 BST |
Method | Path | Description |
---|---|---|
GET | /healthcheck | Standard healthcheck endpoint |
GET | /healthcheck/finance-system | Healthcheck endpoint to check whether the finance system is available |
GET | /company/{company_number}/penalties/late-filing | List the Late Filing Penalties for a company |
POST | /company/{company_number}/penalties/late-filing/payable | Create a payable penalty resource |
GET | /company/{company_number}/penalties/late-filing/payable/{id} | Get a payable resource |
GET | /company/{company_number}/penalties/late-filing/payable/{id}/payment | List the cost items related to the penalty resource |
PATCH | /company/{company_number}/penalties/late-filing/payable/{id}/payment | Mark the resource as paid |
The only external finance system currently supported is E5.
Pull image from private CH registry by running docker pull 169942020521.dkr.ecr.eu-west-2.amazonaws.com/local/penalty-payment-api:latest
command or run the following steps to build image locally:
export SSH_PRIVATE_KEY_PASSPHRASE='[your SSH key passhprase goes here]'
(optional, set only if SSH key is passphrase protected)DOCKER_BUILDKIT=0 docker build --build-arg SSH_PRIVATE_KEY="$(cat ~/.ssh/id_rsa)" --build-arg SSH_PRIVATE_KEY_PASSPHRASE -t 169942020521.dkr.ecr.eu-west-2.amazonaws.com/local/penalty-payment-api:latest .
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.