Portfolio lab for markjanowski.dev. Security only · Availability / Confidentiality / AIUC-1 coming soon.

EV-AWS-IAM-01Agent read-only IAM role policy (excerpt)AWS IAM

IAM policy attached to the engagement-scoped agent role showing Config and describe-only actions.

Collected
2028-04-12T14:23:11Z
Kind
config
Hash
sha256:11aa22bb33cc44dd55ee66ff77889900aabbccddeeff00112233445566778899
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "EvidenceReadOnly",
      "Effect": "Allow",
      "Action": [
        "config:GetComplianceDetailsByConfigRule",
        "config:DescribeConfigRules",
        "config:GetResourceConfigHistory",
        "ec2:Describe*",
        "rds:Describe*",
        "s3:GetBucketEncryption",
        "s3:GetBucketPolicyStatus"
      ],
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "aws:PrincipalTag/engagement": "eng-acme-q2-2028"
        }
      }
    }
  ]
}
EV-GH-PR-01Infrastructure pull request approvalGitHub

PR

Collected
2028-03-18T16:28:01Z
Kind
github-pr
Hash
sha256:abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789
repository: praeparo/infra
pull_request: 842
title: "feat(gd): publish GuardDuty findings to security-logging"
author: j.ortiz
base: main
required_checks:
  - terraform-plan (pass)
  - tflint (pass)
  - checkov (pass)
reviews:
  - reviewer: a.nguyen
    state: APPROVED
    submitted_at: 2028-03-18T16:21:10Z
merged_by: a.nguyen
merged_at: 2028-03-18T16:27:58Z
environment_approval: production (approved by platform-oncall)
EV-GH-PR-APPROVAL-01Branch protection requiring human approval for agent PRsGitHub

Repository ruleset preventing the agent identity from merging and requiring human review.

Collected
2028-02-01T11:00:00Z
Kind
github-pr
Hash
sha256:11223344556677889900aabbccddeeff00112233445566778899aabbccddeeff
repository: praeparo/customer-acme-policies
ruleset: agent-human-gate
enforcement: active
rules:
  - required_approving_review_count: 1
  - dismiss_stale_reviews: true
  - require_code_owner_reviews: true
  - block_merges_by:
      - agent:praeparo-grc
  - required_status_checks:
      - opa-test
last_verified: 2028-06-28
EV-GH-PR-REGO-01Rego policy pull requestGitHub

Agent-authored PR adding S3 CMK Rego with human approval and passing policy tests.

Collected
2028-05-03T10:15:09Z
Kind
github-pr
Hash
sha256:0102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f20
repository: praeparo/customer-acme-policies
pull_request: 128
title: "policy: require S3 bucket CMK encryption"
author: agent:praeparo-grc
opened_via: agent-orchestrator
files:
  - policies/s3_cmk.rego
  - policies/s3_cmk_test.rego
checks:
  - opa-test (pass)
  - rego-fmt (pass)
reviews:
  - reviewer: m.chen
    state: APPROVED
    submitted_at: 2028-05-03T10:12:44Z
merged_by: m.chen
merged_at: 2028-05-03T10:14:50Z
EV-MCP-LOG-01Agent session telemetry excerptSecurity Logging Account / CloudWatch

Logged prompt, tool calls, evidence pulls, and human approval for a Rego proposal session.

Collected
2028-05-03T09:41:55Z
Kind
mcp-log
Hash
sha256:9c8b7a695847362514a3b2c1d0e9f8a7b6c5d4e3f2a190817263544556677889
session_id: agt-20280503-0941
engagement_id: eng-acme-q2-2028
events:
  - ts: 2028-05-03T09:41:12Z
    type: prompt
    actor: agent:praeparo-grc
    preview: "Draft Rego to require S3 bucket CMK encryption for in-scope buckets"
  - ts: 2028-05-03T09:41:18Z
    type: tool_call
    tool: mcp.aws.config.get_compliance
    resource: s3-cmk-required
    outcome: ok
  - ts: 2028-05-03T09:41:33Z
    type: evidence_pull
    object: s3://praeparo-evidence/eng-acme-q2-2028/20280503/config-s3.json
    sha256: 9c8b7a6958473625...
  - ts: 2028-05-03T09:44:02Z
    type: pr_opened
    repo: praeparo/customer-acme-policies
    pr: 128
  - ts: 2028-05-03T10:12:44Z
    type: human_approval
    actor: user:m.chen
    decision: approve
    pr: 128
EV-MCP-SCOPE-01MCP gateway engagement scope grantMCP Gateway

Per-engagement credential grant limiting the agent to read-only AWS Config and GitHub metadata APIs.

Collected
2028-04-12T14:22:07Z
Kind
mcp-log
Hash
sha256:6f2a9c1e8b4d0f71a3c5e9b2d8f0a4c6e1b3d5f7a9c0e2b4d6f8a1c3e5b7d9f0
engagement_id: eng-acme-q2-2028
grant_id: mcp-grant-88421
principal: agent:praeparo-grc
expires_at: 2028-04-12T18:00:00Z
permissions:
  - aws:config:Get*
  - aws:config:Describe*
  - aws:iam:GetRole
  - aws:iam:ListAttachedRolePolicies
  - github:metadata:read
  - github:pull_requests:read
denied_examples:
  - aws:iam:Create*
  - aws:s3:Delete*
  - github:contents:write
issued_by: mcp-gateway/v2.4.1
approval_ticket: JIRA-GRC-4412
EV-REGO-TEST-01OPA unit test results for S3 CMK policyGitHub Actions / OPA

opa test output showing pass and fail fixtures for bucket encryption rules.

Collected
2028-05-03T10:08:33Z
Kind
policy
Hash
sha256:deadbeefcafebabe0123456789abcdef0123456789abcdef0123456789abcdef
$ opa test policies/ -v
policies/s3_cmk_test.rego:
  data.policies.s3_cmk_test.test_deny_unencrypted PASS (0.2ms)
  data.policies.s3_cmk_test.test_allow_cmk PASS (0.1ms)
  data.policies.s3_cmk_test.test_deny_aes256_only PASS (0.1ms)
--------------------------------------------------------------------------------
PASS: 3/3
EV-S3-HASH-01Evidence object integrity recordS3 Evidence Store

Object metadata showing content hash, retention, and write-once object lock.

Collected
2028-05-03T09:41:34Z
Kind
config
Hash
sha256:a1b2c3d4e5f60718293a4b5c6d7e8f90112233445566778899aabbccddeeff00
bucket: praeparo-evidence-prod
key: eng-acme-q2-2028/20280503/config-s3.json
content_sha256: 9c8b7a695847362514a3b2c1d0e9f8a7b6c5d4e3f2a190817263544556677889
object_lock_mode: GOVERNANCE
retain_until: 2031-05-03T00:00:00Z
sse: aws:kms
kms_key: arn:aws:kms:us-east-1:111122223333:key/abcd-efgh
written_by: role/praeparo-agent-evidence-writer
EV-TF-PLAN-01Terraform plan artifact (excerpt)GitHub Actions

Plan for adding a GuardDuty publishing destination; no destroys; apply gated on environment approval.

Collected
2028-03-18T16:05:22Z
Kind
terraform-plan
Hash
sha256:55aa66bb77cc88dd99ee00ff11223344556677889900aabbccddeeff00112233
Terraform used the selected providers to generate the following execution plan.

Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

# aws_guardduty_publishing_destination.security_logging will be created
+ resource "aws_guardduty_publishing_destination" "security_logging" {
    + destination_arn  = "arn:aws:s3:::praeparo-gd-findings"
    + destination_type = "S3"
    + detector_id      = "abc123"
    + kms_key_arn      = "arn:aws:kms:us-east-1:999988887777:key/gd"
  }

Plan: 1 to add, 0 to change, 0 to destroy.

Workflow: terraform-prod.yml
OIDC role: arn:aws:iam::999988887777:role/gha-terraform-plan
Static keys in workflow: none

Evidence is linked from individual controls and Section 4.