aws-samples / policy-as-code
File Age

File age measurements show the distribution of file ages (days since the first commit) and the recency of file updates (days since the latest commit).

Summary
  • Number of files: 38
  • Daily file updates (only one update per file and date counted): 375
  • First update: 2021-09-02
  • Latest update: 2021-12-03
  • Days between first and latest update: 93 (13 weeks, estimated 65 working days)
  • Active days (at least one file change): 43
  • Data:
File Change History Overall
File Age Distribution Overall
Days since first update
  • There are 38 files with 2,630 lines of code in files.
    • 0 files that are 366+ days old (0 lines of code)
    • 0 files that are 181-365 days old (0 lines of code)
    • 9 files that are 91-180 days old (362 lines of code)
    • 29 files that are 31-90 days old (2,268 lines of code)
    • 0 files that are 1-30 days old (0 lines of code)
0% | 0% | 13% | 86% | 0%
Legend:
366+
181-365
91-180
31-90
1-30
Latest Change Distribution Overall
Days since last update
  • There are 38 files with 2,630 lines of code in files.
    • 0 files have been last changed 366+ days ago (0 lines of code)
    • 0 files have been last changed 181-365 days ago (0 lines of code)
    • 3 files have been last changed 91-180 days ago (82 lines of code)
    • 35 files have been last changed 31-90 days ago (2,548 lines of code)
    • 0 files have been last changed 1-30 days ago (0 lines of code)
0% | 0% | 3% | 96% | 0%
Legend:
366+
181-365
91-180
31-90
1-30
File Change History per File Extension
md, py, yml, rego, txt, json, sh, yaml, ts, gitignore, npmignore, js, tf
File Age Distribution per Extension
Days since first update
366+
181-365
91-180
31-90
1-30
py0% | 0% | 30% | 69% | 0%
yml0% | 0% | 11% | 88% | 0%
rego0% | 0% | 0% | 100% | 0%
ts0% | 0% | 0% | 100% | 0%
tf0% | 0% | 0% | 100% | 0%
js0% | 0% | 0% | 100% | 0%
yaml0% | 0% | 0% | 100% | 0%
Latest Change Distribution per Extension
Days since last update
366+
181-365
91-180
31-90
1-30
yml0% | 0% | 7% | 92% | 0%
py0% | 0% | 3% | 96% | 0%
rego0% | 0% | 0% | 100% | 0%
ts0% | 0% | 0% | 100% | 0%
tf0% | 0% | 0% | 100% | 0%
js0% | 0% | 0% | 100% | 0%
yaml0% | 0% | 0% | 100% | 0%
File Change History per Logical Decomposition
primary
primary (file age distribution)
Days since first update
366+
181-365
91-180
31-90
1-30
cdk/cicd0% | 0% | 100% | 0% | 0%
cdk/app0% | 0% | 100% | 0% | 0%
cdk/cicd/pipeline_delivery0% | 0% | 100% | 0% | 0%
utils0% | 0% | 100% | 0% | 0%
cdk/app/rules0% | 0% | 100% | 0% | 0%
terraform/app/custom-rules0% | 0% | 0% | 100% | 0%
cdk/ide/lib0% | 0% | 0% | 100% | 0%
cdk/ide0% | 0% | 0% | 100% | 0%
cdk/app/awsconfig0% | 0% | 0% | 100% | 0%
cdk/ide/lambda_functions0% | 0% | 0% | 100% | 0%
terraform/cicd0% | 0% | 0% | 100% | 0%
content/pac_tools/checkov0% | 0% | 0% | 100% | 0%
terraform/cicd/pipeline_delivery0% | 0% | 0% | 100% | 0%
terraform/app0% | 0% | 0% | 100% | 0%
ROOT0% | 0% | 0% | 100% | 0%
primary (latest change distribution)
Days since last update
366+
181-365
91-180
31-90
1-30
cdk/cicd/pipeline_delivery0% | 0% | 100% | 0% | 0%
utils0% | 0% | 100% | 0% | 0%
terraform/app/custom-rules0% | 0% | 0% | 100% | 0%
cdk/ide/lib0% | 0% | 0% | 100% | 0%
cdk/ide0% | 0% | 0% | 100% | 0%
cdk/app/awsconfig0% | 0% | 0% | 100% | 0%
cdk/ide/lambda_functions0% | 0% | 0% | 100% | 0%
cdk/cicd0% | 0% | 0% | 100% | 0%
terraform/cicd0% | 0% | 0% | 100% | 0%
cdk/app0% | 0% | 0% | 100% | 0%
content/pac_tools/checkov0% | 0% | 0% | 100% | 0%
terraform/cicd/pipeline_delivery0% | 0% | 0% | 100% | 0%
terraform/app0% | 0% | 0% | 100% | 0%
cdk/app/rules0% | 0% | 0% | 100% | 0%
ROOT0% | 0% | 0% | 100% | 0%
Oldest Files (Top 20)
File# lines# unitslast modified
(days ago)
created
(days ago)
# changes
Pipeline.py
in cdk/cicd
86 1 65 131 13
Base.py
in cdk/cicd
76 2 64 131 14
docker_build_buildspec.yml
in cdk/cicd/pipeline_delivery
29 - 112 131 7
app.py
in cdk/cicd
10 - 65 131 7
app.py
in cdk/app
15 - 65 125 8
scan_buildspec.yml
in cdk/cicd/pipeline_delivery
15 - 111 123 5
s3_deployment.py
in cdk/app
75 1 65 113 8
checkov-config.yml
in cdk/app/rules/checkov
18 - 62 113 6
s3_force_delete.py
in utils
38 2 106 106 1
ide-stack.ts
in cdk/ide/lib
329 1 65 84 10
buildspec.yml
in cdk/ide
41 - 70 84 9
buildspec-destroy.yml
in cdk/ide
33 - 70 84 3
jest.config.js
in cdk/ide
8 - 70 84 3
cluster-stack.ts
in cdk/ide/lib
86 1 70 83 7
rego
bucket_is_public.rego
in terraform/app/custom-rules/s3
125 - 70 78 3
rego
bucket_config_public_read.rego
in terraform/app/custom-rules/s3
100 - 70 78 3
rego
https_access.rego
in terraform/app/custom-rules/s3
70 - 70 78 3
rego
bucketpolicy_allowall.rego
in terraform/app/custom-rules/s3
66 - 70 78 3
rego
bucketpolicy_allowlist.rego
in terraform/app/custom-rules/s3
65 - 70 78 3
rego
block_public_access.rego
in terraform/app/custom-rules/s3
60 - 70 78 3
Files Not Recently Changed (Top 20)
File# lines# unitslast modified
(days ago)
created
(days ago)
# changes
docker_build_buildspec.yml
in cdk/cicd/pipeline_delivery
29 - 112 131 7
scan_buildspec.yml
in cdk/cicd/pipeline_delivery
15 - 111 123 5
s3_force_delete.py
in utils
38 2 106 106 1
jest.config.js
in cdk/ide
8 - 70 84 3
checkov-config.yml
in cdk/app/awsconfig/rules/checkov
18 - 70 70 1
buildspec-destroy.yml
in cdk/ide
33 - 70 84 3
rego
key_rotation.rego
in terraform/app/custom-rules/kms
35 - 70 78 3
buildspec.yml
in cdk/ide
41 - 70 84 9
rego
bucket_sse.rego
in terraform/app/custom-rules/s3
42 - 70 78 4
rego
key_not_public.rego
in terraform/app/custom-rules/kms
55 - 70 78 3
rego
block_public_access.rego
in terraform/app/custom-rules/s3
60 - 70 78 3
rego
bucketpolicy_allowlist.rego
in terraform/app/custom-rules/s3
65 - 70 78 3
rego
bucketpolicy_allowall.rego
in terraform/app/custom-rules/s3
66 - 70 78 3
rego
https_access.rego
in terraform/app/custom-rules/s3
70 - 70 78 3
cluster-stack.ts
in cdk/ide/lib
86 1 70 83 7
rego
bucket_config_public_read.rego
in terraform/app/custom-rules/s3
100 - 70 78 3
rego
bucket_is_public.rego
in terraform/app/custom-rules/s3
125 - 70 78 3
S3_block_public_access.py
in cdk/app/awsconfig
301 24 70 70 1
contentspec.yaml
in root
4 - 65 78 2
app.py
in cdk/cicd
10 - 65 131 7
Most Recently Created Files (Top 20)
File# lines# unitslast modified
(days ago)
created
(days ago)
# changes
cloud9.yml
in cdk/ide
304 - 63 63 1
Base.py
in terraform/cicd
91 2 63 64 2
Pipeline.py
in terraform/cicd
71 1 64 64 1
docker_build_buildspec.yml
in terraform/cicd/pipeline_delivery
23 - 64 64 1
scan_buildspec.yml
in terraform/cicd/pipeline_delivery
16 - 64 64 1
app.py
in terraform/cicd
10 - 64 64 1
S3_block_public_access.py
in cdk/app/awsconfig
301 24 70 70 1
cfn.yml
in content/pac_tools/checkov/scanning
41 - 65 70 2
checkov-config.yml
in cdk/app/awsconfig/rules/checkov
18 - 70 70 1
config.yml
in content/pac_tools/checkov/scanning
17 - 65 70 2
lambda_function.py
in cdk/ide/lambda_functions/c9DiskResize
111 8 65 75 3
lambda_function.py
in cdk/ide/lambda_functions/c9bootstrap
68 6 65 75 3
lambda_function.py
in cdk/ide/lambda_functions/c9InstanceProfile
45 4 65 75 3
rego
bucket_is_public.rego
in terraform/app/custom-rules/s3
125 - 70 78 3
rego
bucket_config_public_read.rego
in terraform/app/custom-rules/s3
100 - 70 78 3
rego
https_access.rego
in terraform/app/custom-rules/s3
70 - 70 78 3
rego
bucketpolicy_allowall.rego
in terraform/app/custom-rules/s3
66 - 70 78 3
rego
bucketpolicy_allowlist.rego
in terraform/app/custom-rules/s3
65 - 70 78 3
rego
block_public_access.rego
in terraform/app/custom-rules/s3
60 - 70 78 3
rego
key_not_public.rego
in terraform/app/custom-rules/kms
55 - 70 78 3
Most Recently Changed Files (Top 20)
File# lines# unitslast modified
(days ago)
created
(days ago)
# changes
checkov-config.yml
in cdk/app/rules/checkov
18 - 62 113 6
cloud9.yml
in cdk/ide
304 - 63 63 1
Base.py
in terraform/cicd
91 2 63 64 2
main.tf
in terraform/app
33 - 63 78 5
Base.py
in cdk/cicd
76 2 64 131 14
Pipeline.py
in terraform/cicd
71 1 64 64 1
docker_build_buildspec.yml
in terraform/cicd/pipeline_delivery
23 - 64 64 1
scan_buildspec.yml
in terraform/cicd/pipeline_delivery
16 - 64 64 1
app.py
in terraform/cicd
10 - 64 64 1
ide-stack.ts
in cdk/ide/lib
329 1 65 84 10
lambda_function.py
in cdk/ide/lambda_functions/c9DiskResize
111 8 65 75 3
Pipeline.py
in cdk/cicd
86 1 65 131 13
s3_deployment.py
in cdk/app
75 1 65 113 8
lambda_function.py
in cdk/ide/lambda_functions/c9bootstrap
68 6 65 75 3
lambda_function.py
in cdk/ide/lambda_functions/c9InstanceProfile
45 4 65 75 3
cfn.yml
in content/pac_tools/checkov/scanning
41 - 65 70 2
config.yml
in content/pac_tools/checkov/scanning
17 - 65 70 2
app.py
in cdk/app
15 - 65 125 8
app.py
in cdk/cicd
10 - 65 131 7
contentspec.yaml
in root
4 - 65 78 2