Skip to content

[Enhancement] Add fix/remediation descriptions to AWS Config → HDF output #8461

Description

@clem-field

Summary

The AWS Config mapper produces HDF controls with only a check description. Adding a fix (remediation) description would make the output more robust and actionable — parity with the check/fix language HDF supports elsewhere.

Current behavior

libs/hdf-converters/src/aws-config-mapper.tshdfDescriptions() (~L363) emits a single check entry:

private hdfDescriptions(configRule: ConfigRule) {
  return [{ data: this.checkText(configRule), label: 'check' }];
}

There is no fix/remediation text, so reviewers get "how it was evaluated" but no "how to remediate."

Proposed

  • Add a { label: 'fix', data: ... } description built from available remediation signals — e.g. AWS Config remediation configuration (SSM Automation document / RemediationConfiguration) when present, and/or a rule-keyed remediation lookup for managed rules.
  • Keep it graceful when no remediation is available (omit or emit a neutral placeholder).

Related

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions