Skip to content
This repository has been archived by the owner on Nov 23, 2023. It is now read-only.

Enable cdk-nag #2205

Open
35 tasks
Jimlinz opened this issue Oct 24, 2022 · 3 comments
Open
35 tasks

Enable cdk-nag #2205

Jimlinz opened this issue Oct 24, 2022 · 3 comments
Assignees
Labels
enabler story Enable to team to improve

Comments

@Jimlinz
Copy link
Contributor

Jimlinz commented Oct 24, 2022

Enabler

So that Geostore follows the best CDK or CloudFormation practices, we want to enable cdk-nag in our repository. This should allow us to identify any security or compliance issues and mitigate them early on, before releasing to production.

Acceptance Criteria

  • Test CDK nag on the Geostore
  • Review and address issues identified by cdk-nag (or flag them as something to be addressed in the future)
  • Split into separate issues.
  • Enable cdk-nag in Geostore.

Additional context

Tasks

  • ...
  • ...

Definition of Ready

  • This story is ready to work on
    • Negotiable (team can decide how to design and implement)
    • Valuable (from a user perspective)
    • Estimate value applied (agreed by team)
    • Small (so as to fit within an iteration)
    • Testable (in principle, even if there isn't a test for it yet)
    • Environments are ready to meet definition of done
    • Resources required to implement will be ready
    • Everyone understands and agrees with the tasks to complete the story
    • Release value (e.g. Iteration 3) applied
    • Sprint value (e.g. Aug 1 - Aug 15) applied

Definition of Done

  • This story is done:
    • Acceptance criteria completed
    • Automated tests are passing
    • Code is peer reviewed and pushed to master
    • Deployed successfully to test environment
    • Checked against
      CODING guidelines
    • Relevant new tasks are added to backlog and communicated to the team
    • Important decisions recorded in the issue ticket
    • Readme/Changelog/Diagrams are updated
    • Product Owner has approved acceptance criteria as complete
    • Meets non-functional requirements:
      • Scalability (data): Can scale to 300TB of data and 100,000,000 files and ability to
        increase 10% every year
      • Scability (users): Can scale to 100 concurrent users
      • Cost: Data can be stored at < 0.5 NZD per GB per year
      • Performance: A large dataset (500 GB and 50,000 files - e.g. Akl aerial imagery) can be
        validated, imported and stored within 24 hours
      • Accessibility: Can be used from LINZ networks and the public internet
      • Availability: System available 24 hours a day and 7 days a week, this does not include
        maintenance windows < 4 hours and does not include operational support
      • Recoverability: RPO of fully imported datasets < 4 hours, RTO of a single 3 TB dataset
        < 12 hours
@Jimlinz Jimlinz added the enabler story Enable to team to improve label Oct 24, 2022
@billgeo billgeo moved this to 📋 Backlog in Data Infrastructure Squad Nov 3, 2022
@billgeo billgeo moved this from 📋 Backlog to 🔖 Ready in Data Infrastructure Squad Nov 15, 2022
@billgeo billgeo moved this from 🔖 Ready to 🏗 Doing / Implementing in Data Infrastructure Squad Nov 15, 2022
@billgeo billgeo moved this from 🏗 Doing / Implementing to 🔖 Ready in Data Infrastructure Squad Nov 15, 2022
@billgeo billgeo moved this from 🔖 Ready to 📋 Backlog in Data Infrastructure Squad Nov 15, 2022
@mfwightman mfwightman moved this from 📋 Backlog to 🏗 Doing / Implementing in Data Infrastructure Squad Nov 15, 2022
@Jimlinz Jimlinz self-assigned this Nov 17, 2022
@billgeo
Copy link
Contributor

billgeo commented Nov 29, 2022

cdk-nag has ~100 errors to resolve in the cdk code.

@billgeo billgeo moved this from 🏗 Doing / Implementing to 📋 Backlog in Data Infrastructure Squad Nov 29, 2022
@Jimlinz
Copy link
Contributor Author

Jimlinz commented Nov 29, 2022

https://github.com/linz/geostore/tree/cdk-nag (work in progress)

@Jimlinz
Copy link
Contributor Author

Jimlinz commented Nov 30, 2022

~100 errors

is probably a bit of an overestimate.

Some of the fixes or error suppression would silence multiple error messages, depending on the context. I'd say it is probably around 20 to 30 errors that need to be reviewed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enabler story Enable to team to improve
Development

No branches or pull requests

2 participants