Skip to content

Commit

Permalink
chore: edge composition check from list of constants (#368)
Browse files Browse the repository at this point in the history
* chore: edge composition check from list of constants

* fix: define list in cue to avoid circular deps
  • Loading branch information
urangel authored Jan 30, 2024
1 parent fea9d6e commit dcdd8ae
Show file tree
Hide file tree
Showing 17 changed files with 237 additions and 54 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 18 additions & 1 deletion cmd/api/src/test/integration/harnesses/AZManagementGroup.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 18 additions & 1 deletion cmd/api/src/test/integration/harnesses/azgroupmembership.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 18 additions & 1 deletion cmd/api/src/test/integration/harnesses/esc10aharness1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 18 additions & 1 deletion cmd/api/src/test/integration/harnesses/esc10aharness2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 18 additions & 1 deletion cmd/api/src/test/integration/harnesses/esc10aharnesseca.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 18 additions & 1 deletion cmd/api/src/test/integration/harnesses/esc10aharnessvictim.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions cmd/api/src/test/integration/harnesses/harnessgen.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# Copyright 2024 Specter Ops, Inc.
#
# Licensed under the Apache License, Version 2.0
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0

import json
import sys

Expand Down
Loading

0 comments on commit dcdd8ae

Please sign in to comment.