You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
elif app['appid'] == "PALO_ALTO_NETWORKS_ADD_ON_FOR_SPLUNK" and APP_ID == "Splunk_TA_paloalto_networks":
490
+
if app['appid'] == APP_ID or APP_ID in app['hardcoded_path'] or GITHUB_REPOSITORY in app['hardcoded_path'] or app["title"] == APP_LABEL or (app['appid'] == "PALO_ALTO_NETWORKS_ADD_ON_FOR_SPLUNK" and APP_ID == "Splunk_TA_paloalto_networks"):
print(f"App not found in contentctl.yml file. Exiting.")
495
496
exit(127)
496
497
497
498
@@ -506,14 +507,11 @@ jobs:
506
507
for root, dirs, files in os.walk(base_dir):
507
508
for file in files:
508
509
file_path = os.path.join(root, file)
509
-
510
510
try:
511
-
with open(file_path, "r") as file:
512
-
file_content = yaml.safe_load(file)
511
+
with open(file_path, "r") as yaml_file:
512
+
file_content = yaml.safe_load(yaml_file)
513
513
if "deprecated" not in file_path and (file_content["tests"][0]["attack_data"][0]["sourcetype"] in sourcetypes or file_content["tests"][0]["attack_data"][0]["source"] in sourcetypes):
0 commit comments