Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support a sub-query that allows indirect reference between source objects #1

Open
fscott-ir opened this issue Aug 17, 2021 · 0 comments
Assignees

Comments

@fscott-ir
Copy link
Collaborator

For example, in CloudFormation you can have a VPCGatewayAttachment that associates a Gateway with a VPC. For a Gateway to be included in the threat model with a parent of the VPC, it would be necessary to map the parent of the gateway to the VPC via the Attachment:

    GatewayToInternet:
      Type: "AWS::EC2::VPCGatewayAttachment"
      Properties:
        VpcId:
          Ref: "VPC"
        InternetGatewayId:
          Ref: "InternetGateway"

One possible approach could be to leverage the $source action and ensure that values are carried through as needed.

dfernandezvigo pushed a commit that referenced this issue Jun 13, 2022
[OPT-110] to dev

Approved-by: David Fernandez Vigo
dantolin-iriusrisk pushed a commit that referenced this issue Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants