Skip to content

Commit

Permalink
Issue #47, Updated versioning and codeql
Browse files Browse the repository at this point in the history
Signed-off-by: Phil Hunt <[email protected]>
  • Loading branch information
independentid committed Jun 17, 2024
1 parent 80c91d8 commit 47fd789
Show file tree
Hide file tree
Showing 4 changed files with 293 additions and 291 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@ jobs:
language: [ 'go' ]
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Go 1.22
uses: actions/setup-go@v5
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
config-file: ./.github/config/mod-config.yml
- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
2 changes: 1 addition & 1 deletion models/formats/awsCedar/amazon_cedar.go
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ func (c *CedarPolicyMapper) MapCedarPolicyToIdql(policy *CedarPolicy) (*hexapoli
obj = mapResourceToObject(policy.Head.Resource)
}
ret := hexapolicy.PolicyInfo{
Meta: hexapolicy.MetaInfo{Version: "0.6"},
Meta: hexapolicy.MetaInfo{Version: hexapolicy.IdqlVersion},
Actions: actions,
Subject: subj,
Object: obj,
Expand Down
Loading

0 comments on commit 47fd789

Please sign in to comment.