• Stars
    star
    315
  • Rank 132,935 (Top 3 %)
  • Language HCL
  • License
    MIT License
  • Created about 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A place for the core work of the Modernisation Platform β€’ This repository is defined and managed in Terraform

Ministry of Justice Modernisation Platform

repo standards badge

About this repository

This is the Ministry of Justice Modernisation Platform team's repository for core work on the Modernisation Platform. The Modernisation Platform team is a platform engineering product team which provides a hosting platform for Ministry of Justice applications which cannot be hosted on the Cloud Platform.

For more information on the Modernisation Platform please see the user guidance.

Contents

This repository currently holds the Modernisation Platform's:

Other useful repositories

Core repositories

Name Description
Modernisation Platform (this one) Our repository for core work, including our ADR and infrastructure as code
Modernisation Platform Environments The repository for user application infrastructure as code and deployment workflows
modernisation-platform-ami-builds Repository for creating pipelines to build AMIs for use on the platform
modernisation-platform-configuration-management Repository for configuration management code used on the platform
modernisation-platform-terraform-module-template Template repository used for creating other Terraform module repositories

Terraform modules - for member account use

Modernisation Platform users can use these modules in their infrastructure. They are designed to comply with best practices and to work with the platform, to make creating infrastructure quicker, easier and more secure.

Name Description
modernisation-platform-terraform-bastion-linux Module for creating Linux bastion servers in member AWS accounts
modernisation-platform-terraform-ecs Module for creating ECS cluster (Linux/Windows) solely for EC2 launch type
modernisation-platform-terraform-s3-bucket Module for creating S3 buckets with sensible defaults e.g. replication, encryption
modernisation-platform-terraform-s3-bucket-replication-role Module for creating an IAM role for S3 bucket replication
modernisation-platform-terraform-aws-vm-import Module that creates s3 and roles needed to import virtual machine (VM) images from your virtualization environment to Amazon EC2 as Amazon Machine Images (AMI)
modernisation-platform-terraform-pagerduty-integration Module associating an SNS topic with a PagerDuty service
modernisation-platform-terraform-loadbalancer Module that creates application loadbalancer in AWS with logging enabled, s3 to store logs and Athena DB to query logs
modernisation-platform-terraform-ssm-patching Module that automates the patching of ec2 instances via ssm. It creates an s3 bucket for log storage, as well as maintnance windows, tasks, resource groups, and patch baselines.

Terraform modules - used by the core platform

These modules are used by the Modernisation Platform's core infrastructure

Name Description
modernisation-platform-terraform-baselines Module for enabling and configuring common baseline services such as SecurityHub
modernisation-platform-terraform-cross-account-access Module for creating an IAM role that can be assumed from another account
modernisation-platform-terraform-environments Module for creating organizational units and accounts within AWS Organizations from JSON files
modernisation-platform-terraform-iam-superadmins Module for creating defined IAM users as superadmins
modernisation-platform-terraform-trusted-advisor Module for refreshing Trusted Advisor every 60 minutes
modernisation-platform-terraform-member-vpc Module for member VPC accounts
modernisation-platform-github-oidc-provider Module for creating OIDC providers to use in GitHub Actions
modernisation-platform-terraform-ec2-instance Module for creating EC2 Instances

Tools

Name Description
modernisation-platform-instance-scheduler A Go lambda function for stopping and starting instance, rds resources and autoscaling groups. The lambda is used by the core platform and can be reused outside of the platform with minimal changes
modernisation-platform-infrastructure-test Infrastructure test tool based on Cucumber.js
modernisation-platform-cp-network-test Container bundled with utilities for network testing
modernisation-platform-terraform-ec2-instance Module for creating an EC2 instance
modernisation-platform-terraform-ec2-autoscaling-group Module for creating an EC2 autoscaling group
modernisation-platform-terraform-ssm-patching Module for automated patching on EC2 instances

More Repositories

1

cloud-platform

Documentation on the MoJ cloud platform
HTML
64
star
2

aws-root-account

Terraform for the Ministry of Justice AWS root account
HCL
58
star
3

cloud-platform-infrastructure

Deployment resources for the MoJ Cloud-Platform
HCL
50
star
4

cloud-platform-environments

Environment configuration for the Cloud Platform
HCL
47
star
5

record-a-goose-sighting

This is a website with lots of accessibility issues in it, that can be used for workshops and training purposes. See the README for more information.
JavaScript
36
star
6

form-builder

Jumping-off point for all the related form-builder repos
JavaScript
33
star
7

modernisation-platform-environments

Modernisation platform environments β€’ This repository is defined and managed in Terraform
HCL
33
star
8

fab-oidc

Flask-AppBuilder SecurityManager for OpenIDConnect
Python
28
star
9

peoplefinder

MoJ People Finder
Ruby
26
star
10

moj-frontend

The MOJ Pattern Library brings together components and patterns created by designers and developers at MOJ.
JavaScript
26
star
11

moj_slotpicker

UI components for selecting time slots
JavaScript
26
star
12

bai2

Python module for parsing and writing BAI2 files
Python
26
star
13

govuk-bank-holidays

Python package for loading bank holiday information from gov.uk
Python
24
star
14

technical-guidance

How we build and operate products at the Ministry of Justice.
HTML
23
star
15

Claim-for-Crown-Court-Defence

Claim for Crown Court Defence, formerly Advocate Defence Payments (ADP), aka Crime Billing Online (CBO)
Ruby
23
star
16

acronyms

List of abbreviations used within the MoJ, and their definitions
CSS
21
star
17

analytics-platform-shiny-server

Analytics Platform Shiny Server
JavaScript
20
star
18

security-guidance

Security guidance from the MOJ Digital & Technology Cybersecurity team
SCSS
18
star
19

analytics-platform-ops

Ops and deployment resources for MOJ Analytics platform
HCL
18
star
20

bootstrap-cfn

Opinionated layer for AWS CloudFormation
Python
17
star
21

cloud-platform-terraform-monitoring

Terraform Monitoring module
HCL
17
star
22

apvs

Assisted Prison Visits Scheme
JavaScript
17
star
23

github-collaborators

Manage outside collaborators on our Github repositories β€’ This repository is defined and managed in Terraform
Ruby
15
star
24

serpico-templates

Report and finding templates used by the Serpico reporting tool
Shell
14
star
25

analytics-platform

Parent repository for the MOJ Analytics Platform
14
star
26

container-check-sonar-plugin

A SonarQube plugin which which display results of Trivy-generated container security scans
Java
13
star
27

salt-cloud-provider-vcloud

Salt Cloud Provider for VMWare vCloud
Python
13
star
28

hmpps-architecture-as-code

Modelling the software architecture of HMPPS Digital
Kotlin
13
star
29

template-repository

Github "template" repository, from which to create new MoJ Repositories with organisation defaults
12
star
30

mt940-writer

Python library to create bank statements in the MT940 format
Python
12
star
31

opg-digideps

Digideps: Managed by opg-org-infra & Terraform
PHP
11
star
32

github-actions

A github action which will run code formatters against PRs, and commit any resulting changes
Ruby
11
star
33

node-bruteforce

NodeJS HTTP(S) Login Form Bruteforcer
JavaScript
11
star
34

modernisation-platform-terraform-baselines

Module for enabling and configuring common baseline services such as SecurityHub β€’ This repository is defined and managed in Terraform
HCL
11
star
35

prison-visits-2

Staff interface and internal API for prison visits service
Ruby
11
star
36

laa-court-data-adaptor

Acts as a single datasource for LAA systems to consume HMCTS Common Platform data.
Ruby
11
star
37

laa-ruby-learning-path

11
star
38

laa-architectural-diagrams

Architecture diagrams for Legal Aid Agency (within the Ministry of Justice)
Makefile
11
star
39

laa-apply-for-legal-aid

The laa-apply-for-legal-aid system is a web service by use for solicitors providing legal aid services to enter applications for legal aid on-line. It asks for details of applicant means (income and assets), and the merits of a case, and gives a decision on whether legal aid can be granted or not, and if so, will push the application through to back-end processes for payment.
Ruby
11
star
40

salt-shaker

Opinionated saltstack formula dependency resolver
Python
10
star
41

itpolicycontent

Draft and review content for MoJ IT Policy.
Shell
10
star
42

correspondence_tool_staff

Correspondence Tool for staff
Ruby
10
star
43

help-with-prison-visits-external

Help With Prison Visits public facing web application
JavaScript
10
star
44

moj-design-system

One place for MOJ service teams to find styles, components and patterns for UK Ministry of Justice services.
HTML
10
star
45

moj-reusables

A place to share reusable components, services, tools at MoJ
9
star
46

django-govuk-template

Django app that builds `template` and `elements` components from the Government Digital Services style guide
Python
9
star
47

cookie-compliance-for-wordpress

WP plugin that displays a cookie consent banner and opt-in setting page.
JavaScript
9
star
48

moj-design-system-backlog

MOJ Design System Community Backlog
9
star
49

pdf-generator

PDF Generator Microservice
HTML
9
star
50

dns-iac

DNS records as infrastructure-as-code
HCL
8
star
51

cloud-platform-user-guide

User documentation for the Ministry of Justice cloud platform
HTML
8
star
52

tika

Docker container to provide Apache Tika RESTful API
Shell
8
star
53

ansible-playbook-with-keyvault-action

GitHub Action for running ansible-playbook with credentials retrieved from Azure KeyVault
TypeScript
8
star
54

aws-lambda-pagerduty

JavaScript
8
star
55

prison-visits

Old incarnation of the Prison Visits service.
Ruby
8
star
56

tsung-wrapper

tsung
Ruby
8
star
57

laa-court-data-ui

"View court data" webapp for viewing data from HMCTS's "Common Platform"
Ruby
7
star
58

nginx-formula

Shell
7
star
59

bootstrap-salt

Python
7
star
60

prisoner-content-hub

National prison radio relay
Mustache
7
star
61

staff-infrastructure-monitoring

Terraform module that deploys infrastructure for our monitoring solution including Grafana and Prometheus, etc.
HCL
7
star
62

opg-lpa

The Office of the Public Guardian Lasting Power of Attorney online service: Managed by opg-org-infra & Terraform
PHP
7
star
63

laa-architecture-as-code

Modelling the software architecture of LAA Digital
Kotlin
7
star
64

date-utils

Date Utilities: Managed by opg-org-infra & Terraform
PHP
7
star
65

community-api

API for simple NDelius interactions
Java
7
star
66

wordpress-base-docker

A base WordPress image for use in the Publishing Platform.
Shell
7
star
67

addressfinder

postcode -> postal address lookup service
Python
6
star
68

visit-scheduler

A microservice for managing the schedule of prison visits
Kotlin
6
star
69

hmpps-delius-alfresco-shared-terraform

Infrastructure and provisioning for the Delius Alfresco shared environment(s)
HCL
6
star
70

prison-api

API for Nomis DB used by DPS applications and other apis and services
Java
6
star
71

template-documentation-site

Template repo. for a gov.uk tech-docs-template documentation site published via github pages
Makefile
6
star
72

dps-gradle-spring-boot

Kotlin
6
star
73

book-a-prison-visit-staff-ui

Allow prison staff to manage prison visit bookings.
TypeScript
6
star
74

moj_template

A base template for MOJ Services
Ruby
6
star
75

wp-rewrite-media-to-s3

A WordPress plugin which rewrites media attachment URLs to S3.
PHP
6
star
76

github-repository-standards

Check MoJ Org repos against certain expected standards
Ruby
6
star
77

hmpps-book-secure-move-api

HMPPS Book a secure move API
Ruby
6
star
78

hmpps-book-secure-move-frontend

Rendering layer for the Book a secure move platform
JavaScript
6
star
79

cloud-platform-docker-registry-cache

Install Docker Registry on a kubernetes cluster as a pull-through cache to speed up pulling image from Docker Hub
Makefile
6
star
80

cloud-platform-cli

Multi-purpose CLI for the Ministry of Justice Cloud Platform
Go
6
star
81

cla_public

"Check if you can get legal aid" application. The service helps members of the public in England and Wales to determine if they can get legal aid.
Python
6
star
82

engineering-career-path

We want MoJ D&T to be a place that all engineers can learn and grow, and be supported no matter what level they join us at, or how they want to shape their careers. To support this, we are putting together a career path..
6
star
83

hmpps-delius-core-terraform

Infrastructure and provisioning of Delius AWS environments
HCL
5
star
84

wp-hale

JOTW team WordPress theme
PHP
5
star
85

opg-modernising-lpa

OPG Modernising LPA: Managed by opg-org-infra & Terraform
Go
5
star
86

help-with-prison-visits-internal

Help With Prison Visits staff facing web application
JavaScript
5
star
87

docker-templates

Dockerfile
5
star
88

django-zendesk-tickets

Django views and forms that submit tickets to Zendesk
Python
5
star
89

opg-incident-response

Incident Response Tool for OPG: Managed by opg-org-infra & Terraform
JavaScript
5
star
90

hmpps-auth

HMPPS Auth Server For HMPPS Digital Services
Kotlin
5
star
91

intranet

Intranet used by Ministry of Justice and agencies
HTML
5
star
92

digital-prison-services

Digital prison services
TypeScript
5
star
93

bba

Big Book of Acronyms
PHP
5
star
94

cla_backend

CLA Back End
Python
5
star
95

money-to-prisoners-api

Backend and internal admin site for Prisoner Money suite of apps
Python
5
star
96

sensu-formula

Ruby
5
star
97

opg-docker

Shell
5
star
98

backupninja-formula

Manage backup to S3 via BackupNinja + Duplicity
Shell
5
star
99

data-platform

Core Repo for Data Platform β€’ This repository is defined and managed in Terraform
HCL
5
star
100

money-to-prisoners-cashbook

Digital Cashbook – Business hub staff facing site for Prisoner Money suite of apps
Python
5
star