azure / Community-Policy
File Size

The distribution of size of files (measured in lines of code).

Intro
Learn more...
File Size Overall
0% | 17% | 0% | 5% | 77%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
ps10% | 58% | 0% | 0% | 41%
yaml0% | 0% | 0% | 9% | 90%
rego0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Scripts0% | 62% | 0% | 0% | 37%
policyDefinitions0% | 0% | 0% | 7% | 92%
policySetDefinitions0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
509 -
template.yaml
in policyDefinitions/Kubernetes/allowed-users
151 -
template.yaml
in policyDefinitions/Kubernetes/allowed-host-paths
91 -
rego
src.rego
in policyDefinitions/Kubernetes/allowed-users/rego
86 -
82 -
81 -
rego
src.rego
in policyDefinitions/Kubernetes/allowed-host-paths/rego
71 -
template.yaml
in policyDefinitions/Kubernetes/selinux
64 -
template.yaml
in policyDefinitions/Kubernetes/allowed-proc-mount-types
60 -
template.yaml
in policyDefinitions/Kubernetes/container-allowed-capabilities
59 -
56 -
template.yaml
in policyDefinitions/Kubernetes/allowed-seccomp-profiles
51 -
50 -
template.yaml
in policyDefinitions/Kubernetes/container-disallowed-capabilities
49 -
deploy-initiative.ps1
in policySetDefinitions/regulatorycompliance-nzism
46 -
template.yaml
in policyDefinitions/Kubernetes/host-network-ports
45 -
rego
src.rego
in policyDefinitions/Kubernetes/allowed-proc-mount-types/rego
43 -
42 -
rego
src.rego
in policyDefinitions/Kubernetes/selinux/rego
39 -
rego
src.rego
in policyDefinitions/Kubernetes/container-allowed-capabilities/rego
36 -
template.yaml
in policyDefinitions/Kubernetes/enforce-apparmor-profile
36 -
template.yaml
in policyDefinitions/Kubernetes/flexvolume-drivers
35 -
template.yaml
in policyDefinitions/Kubernetes/forbidden-sysctl-interfaces
34 -
template.yaml
in policyDefinitions/Kubernetes/ensure-read-only-access-to-root-filesystem-in-a-kubernetes-cluster
33 -
template.yaml
in policyDefinitions/Kubernetes/do-not-allow-container-privilege-escalation-in-kubernetes-cluster
33 -
rego
src.rego
in policyDefinitions/Kubernetes/allowed-seccomp-profiles/rego
32 -
template.yaml
in policyDefinitions/Kubernetes/allowed-volume-types
32 -
template.yaml
in policyDefinitions/Kubernetes/allowed-external-ips
29 -
rego
src.rego
in policyDefinitions/Kubernetes/container-disallowed-capabilities/rego
26 -
rego
src.rego
in policyDefinitions/Kubernetes/host-network-ports/rego
24 -
violation.yaml
in policyDefinitions/Kubernetes/allowed-volume-types/examples-violations
24 -
template.yaml
in policyDefinitions/Kubernetes/block-usage-of-the-default-namespace-in-a-kubernetes-cluster
24 -
constraint.yaml
in policyDefinitions/Kubernetes/allowed-users
23 -
template.yaml
in policyDefinitions/Kubernetes/do-not-allow-sharing-of-host-process-id-and-ipc-namespaces-in-a-kubernetes-cluster
23 -
example_good.yaml
in policyDefinitions/Kubernetes/flexvolume-drivers/examples-good
22 -
violation.yaml
in policyDefinitions/Kubernetes/flexvolume-drivers/examples-violations
22 -
example_good.yaml
in policyDefinitions/Kubernetes/container-allowed-capabilities/examples-good
22 -
example_good.yaml
in policyDefinitions/Kubernetes/allowed-host-paths/examples-good
22 -
violation.yaml
in policyDefinitions/Kubernetes/allowed-host-paths/examples-violations
22 -
template.yaml
in policyDefinitions/Kubernetes/kubernetes-clusters-should-disable-automounting-api-credentials
21 -
example_good.yaml
in policyDefinitions/Kubernetes/container-disallowed-capabilities/examples-good
21 -
violation.yaml
in policyDefinitions/Kubernetes/container-disallowed-capabilities/examples-violations
21 -
example_good.yaml
in policyDefinitions/Kubernetes/allowed-users/examples-good
21 -
violation.yaml
in policyDefinitions/Kubernetes/allowed-users/examples-violations
21 -
violation.yaml
in policyDefinitions/Kubernetes/container-allowed-capabilities/examples-violations
21 -
example_good.yaml
in policyDefinitions/Kubernetes/selinux/examples-good
20 -
violation.yaml
in policyDefinitions/Kubernetes/selinux/examples-violations
20 -
example_good.yaml
in policyDefinitions/Kubernetes/host-network-ports/examples-good
18 -
violation.yaml
in policyDefinitions/Kubernetes/host-network-ports/examples-violations
18 -
example_good.yaml
in policyDefinitions/Kubernetes/forbidden-sysctl-interfaces/examples-good
18 -
Files With Most Units (Top 0)
File# lines# units
Files With Long Lines (Top 32)

There are 32 files with lines longer than 120 characters. In total, there are 74 long lines.

File# lines# units# long lines
509 - 17
81 - 8
template.yaml
in policyDefinitions/Kubernetes/allowed-users
151 - 5
rego
src.rego
in policyDefinitions/Kubernetes/allowed-users/rego
86 - 5
82 - 4
deploy-initiative.ps1
in policySetDefinitions/regulatorycompliance-nzism
46 - 3
42 - 3
template.yaml
in policyDefinitions/Kubernetes/container-allowed-capabilities
59 - 2
rego
src.rego
in policyDefinitions/Kubernetes/container-allowed-capabilities/rego
36 - 2
template.yaml
in policyDefinitions/Kubernetes/selinux
64 - 2
rego
src.rego
in policyDefinitions/Kubernetes/selinux/rego
39 - 2
56 - 1
50 - 1
template.yaml
in policyDefinitions/Kubernetes/container-disallowed-capabilities
49 - 1
rego
src.rego
in policyDefinitions/Kubernetes/container-disallowed-capabilities/rego
26 - 1
template.yaml
in policyDefinitions/Kubernetes/flexvolume-drivers
35 - 1
rego
src.rego
in policyDefinitions/Kubernetes/flexvolume-drivers/rego
17 - 1
template.yaml
in policyDefinitions/Kubernetes/allowed-proc-mount-types
60 - 1
rego
src.rego
in policyDefinitions/Kubernetes/allowed-proc-mount-types/rego
43 - 1
template.yaml
in policyDefinitions/Kubernetes/host-network-ports
45 - 1
rego
src.rego
in policyDefinitions/Kubernetes/host-network-ports/rego
24 - 1
template.yaml
in policyDefinitions/Kubernetes/allowed-seccomp-profiles
51 - 1
rego
src.rego
in policyDefinitions/Kubernetes/allowed-seccomp-profiles/rego
32 - 1
template.yaml
in policyDefinitions/Kubernetes/allowed-volume-types
32 - 1
rego
src.rego
in policyDefinitions/Kubernetes/allowed-volume-types/rego
14 - 1
template.yaml
in policyDefinitions/Kubernetes/allowed-host-paths
91 - 1
rego
src.rego
in policyDefinitions/Kubernetes/allowed-host-paths/rego
71 - 1
template.yaml
in policyDefinitions/Kubernetes/forbidden-sysctl-interfaces
34 - 1
rego
src.rego
in policyDefinitions/Kubernetes/forbidden-sysctl-interfaces/rego
16 - 1
template.yaml
in policyDefinitions/Kubernetes/enforce-apparmor-profile
36 - 1
rego
src.rego
in policyDefinitions/Kubernetes/enforce-apparmor-profile/rego
17 - 1
template.yaml
in policyDefinitions/Kubernetes/block-usage-of-the-default-namespace-in-a-kubernetes-cluster
24 - 1
Correlations

File Size vs. Commits (all time): 82 points

policySetDefinitions/regulatorycompliance-nzism/deploy-initiative.ps1 x: 7 commits (all time) y: 46 lines of code Scripts/Format-PolicyDefinition.ps1 x: 12 commits (all time) y: 509 lines of code Scripts/Out-PolicyInventoryToCsvFile.ps1 x: 3 commits (all time) y: 50 lines of code policyDefinitions/Kubernetes/block-usage-of-the-default-namespace-in-a-kubernetes-cluster/constraint.yaml x: 2 commits (all time) y: 10 lines of code policyDefinitions/Kubernetes/block-usage-of-the-default-namespace-in-a-kubernetes-cluster/template.yaml x: 2 commits (all time) y: 24 lines of code policyDefinitions/Kubernetes/do-not-allow-container-privilege-escalation-in-kubernetes-cluster/template.yaml x: 2 commits (all time) y: 33 lines of code policyDefinitions/Kubernetes/kubernetes-clusters-should-disable-automounting-api-credentials/template.yaml x: 2 commits (all time) y: 21 lines of code Scripts/Confirm-PolicyDefinitionIsValid.ps1 x: 5 commits (all time) y: 56 lines of code Scripts/Format-BulkPolicies.ps1 x: 2 commits (all time) y: 81 lines of code Scripts/Invoke-ScriptTests.ps1 x: 2 commits (all time) y: 42 lines of code Scripts/Out-FormattedPolicyDefinition.ps1 x: 1 commits (all time) y: 82 lines of code policyDefinitions/Kubernetes/allowed-external-ips/constraint.yaml x: 1 commits (all time) y: 12 lines of code policyDefinitions/Kubernetes/allowed-external-ips/examples-good/example_good.yaml x: 1 commits (all time) y: 14 lines of code policyDefinitions/Kubernetes/allowed-external-ips/rego/src.rego x: 1 commits (all time) y: 10 lines of code policyDefinitions/Kubernetes/allowed-external-ips/template.yaml x: 1 commits (all time) y: 29 lines of code policyDefinitions/Kubernetes/allowed-host-paths/examples-good/example_good.yaml x: 1 commits (all time) y: 22 lines of code policyDefinitions/Kubernetes/allowed-host-paths/rego/src.rego x: 1 commits (all time) y: 71 lines of code policyDefinitions/Kubernetes/allowed-host-paths/template.yaml x: 1 commits (all time) y: 91 lines of code policyDefinitions/Kubernetes/allowed-proc-mount-types/examples-good/example_good.yaml x: 1 commits (all time) y: 16 lines of code policyDefinitions/Kubernetes/allowed-proc-mount-types/rego/src.rego x: 1 commits (all time) y: 43 lines of code policyDefinitions/Kubernetes/allowed-proc-mount-types/template.yaml x: 1 commits (all time) y: 60 lines of code policyDefinitions/Kubernetes/allowed-seccomp-profiles/examples-good/example_good.yaml x: 1 commits (all time) y: 17 lines of code policyDefinitions/Kubernetes/allowed-seccomp-profiles/rego/src.rego x: 1 commits (all time) y: 32 lines of code policyDefinitions/Kubernetes/allowed-seccomp-profiles/template.yaml x: 1 commits (all time) y: 51 lines of code policyDefinitions/Kubernetes/allowed-users/constraint.yaml x: 1 commits (all time) y: 23 lines of code policyDefinitions/Kubernetes/allowed-users/rego/src.rego x: 1 commits (all time) y: 86 lines of code policyDefinitions/Kubernetes/allowed-users/template.yaml x: 1 commits (all time) y: 151 lines of code policyDefinitions/Kubernetes/container-allowed-capabilities/rego/src.rego x: 1 commits (all time) y: 36 lines of code policyDefinitions/Kubernetes/container-disallowed-capabilities/rego/src.rego x: 1 commits (all time) y: 26 lines of code policyDefinitions/Kubernetes/container-disallowed-capabilities/template.yaml x: 1 commits (all time) y: 49 lines of code policyDefinitions/Kubernetes/forbidden-sysctl-interfaces/template.yaml x: 1 commits (all time) y: 34 lines of code policyDefinitions/Kubernetes/host-network-ports/template.yaml x: 1 commits (all time) y: 45 lines of code policyDefinitions/Kubernetes/selinux/examples-good/example_good.yaml x: 1 commits (all time) y: 20 lines of code policyDefinitions/Kubernetes/selinux/rego/src.rego x: 1 commits (all time) y: 39 lines of code policyDefinitions/Kubernetes/selinux/template.yaml x: 1 commits (all time) y: 64 lines of code
509.0
lines of code
  min: 10.0
  average: 35.06
  25th percentile: 14.0
  median: 21.0
  75th percentile: 36.0
  max: 509.0
0 12.0
commits (all time)
min: 1.0 | average: 1.43 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 12.0

File Size vs. Contributors (all time): 82 points

policySetDefinitions/regulatorycompliance-nzism/deploy-initiative.ps1 x: 5 contributors (all time) y: 46 lines of code Scripts/Format-PolicyDefinition.ps1 x: 7 contributors (all time) y: 509 lines of code Scripts/Out-PolicyInventoryToCsvFile.ps1 x: 2 contributors (all time) y: 50 lines of code policyDefinitions/Kubernetes/block-usage-of-the-default-namespace-in-a-kubernetes-cluster/constraint.yaml x: 2 contributors (all time) y: 10 lines of code policyDefinitions/Kubernetes/block-usage-of-the-default-namespace-in-a-kubernetes-cluster/template.yaml x: 2 contributors (all time) y: 24 lines of code policyDefinitions/Kubernetes/do-not-allow-container-privilege-escalation-in-kubernetes-cluster/template.yaml x: 2 contributors (all time) y: 33 lines of code policyDefinitions/Kubernetes/kubernetes-clusters-should-disable-automounting-api-credentials/template.yaml x: 2 contributors (all time) y: 21 lines of code Scripts/Confirm-PolicyDefinitionIsValid.ps1 x: 4 contributors (all time) y: 56 lines of code Scripts/Format-BulkPolicies.ps1 x: 1 contributors (all time) y: 81 lines of code Scripts/Invoke-ScriptTests.ps1 x: 1 contributors (all time) y: 42 lines of code policyDefinitions/Kubernetes/allowed-external-ips/constraint.yaml x: 1 contributors (all time) y: 12 lines of code policyDefinitions/Kubernetes/allowed-external-ips/examples-good/example_good.yaml x: 1 contributors (all time) y: 14 lines of code policyDefinitions/Kubernetes/allowed-external-ips/rego/src.rego x: 1 contributors (all time) y: 10 lines of code policyDefinitions/Kubernetes/allowed-external-ips/template.yaml x: 1 contributors (all time) y: 29 lines of code policyDefinitions/Kubernetes/allowed-host-paths/examples-good/example_good.yaml x: 1 contributors (all time) y: 22 lines of code policyDefinitions/Kubernetes/allowed-host-paths/rego/src.rego x: 1 contributors (all time) y: 71 lines of code policyDefinitions/Kubernetes/allowed-host-paths/template.yaml x: 1 contributors (all time) y: 91 lines of code policyDefinitions/Kubernetes/allowed-proc-mount-types/examples-good/example_good.yaml x: 1 contributors (all time) y: 16 lines of code policyDefinitions/Kubernetes/allowed-proc-mount-types/rego/src.rego x: 1 contributors (all time) y: 43 lines of code policyDefinitions/Kubernetes/allowed-proc-mount-types/template.yaml x: 1 contributors (all time) y: 60 lines of code policyDefinitions/Kubernetes/allowed-seccomp-profiles/examples-good/example_good.yaml x: 1 contributors (all time) y: 17 lines of code policyDefinitions/Kubernetes/allowed-seccomp-profiles/rego/src.rego x: 1 contributors (all time) y: 32 lines of code policyDefinitions/Kubernetes/allowed-seccomp-profiles/template.yaml x: 1 contributors (all time) y: 51 lines of code policyDefinitions/Kubernetes/allowed-users/constraint.yaml x: 1 contributors (all time) y: 23 lines of code policyDefinitions/Kubernetes/allowed-users/rego/src.rego x: 1 contributors (all time) y: 86 lines of code policyDefinitions/Kubernetes/allowed-users/template.yaml x: 1 contributors (all time) y: 151 lines of code policyDefinitions/Kubernetes/container-allowed-capabilities/rego/src.rego x: 1 contributors (all time) y: 36 lines of code policyDefinitions/Kubernetes/container-disallowed-capabilities/rego/src.rego x: 1 contributors (all time) y: 26 lines of code policyDefinitions/Kubernetes/container-disallowed-capabilities/template.yaml x: 1 contributors (all time) y: 49 lines of code policyDefinitions/Kubernetes/forbidden-sysctl-interfaces/template.yaml x: 1 contributors (all time) y: 34 lines of code policyDefinitions/Kubernetes/host-network-ports/template.yaml x: 1 contributors (all time) y: 45 lines of code policyDefinitions/Kubernetes/selinux/examples-good/example_good.yaml x: 1 contributors (all time) y: 20 lines of code policyDefinitions/Kubernetes/selinux/rego/src.rego x: 1 contributors (all time) y: 39 lines of code policyDefinitions/Kubernetes/selinux/template.yaml x: 1 contributors (all time) y: 64 lines of code
509.0
lines of code
  min: 10.0
  average: 35.06
  25th percentile: 14.0
  median: 21.0
  75th percentile: 36.0
  max: 509.0
0 7.0
contributors (all time)
min: 1.0 | average: 1.29 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 7.0

File Size vs. Commits (30 days): 0 points

No data for "commits (30d)" vs. "lines of code".

File Size vs. Contributors (30 days): 0 points

No data for "contributors (30d)" vs. "lines of code".


File Size vs. Commits (90 days): 0 points

No data for "commits (90d)" vs. "lines of code".

File Size vs. Contributors (90 days): 0 points

No data for "contributors (90d)" vs. "lines of code".