regscale-cli 6.25.0.0__py3-none-any.whl → 6.25.0.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of regscale-cli might be problematic. Click here for more details.

regscale/_version.py CHANGED
@@ -33,7 +33,7 @@ def get_version_from_pyproject() -> str:
33
33
  return match.group(1)
34
34
  except Exception:
35
35
  pass
36
- return "6.25.0.0" # fallback version
36
+ return "6.25.0.1" # fallback version
37
37
 
38
38
 
39
39
  __version__ = get_version_from_pyproject()
@@ -248,9 +248,9 @@ def sync_regscale_and_jira(
248
248
  jql_str = jql
249
249
  else:
250
250
  jql_str = (
251
- f"project = {jira_project} AND issueType = {jira_issue_type}"
251
+ f"project = '{jira_project}' AND issueType = '{jira_issue_type}'"
252
252
  if sync_tasks_only
253
- else f"project = {jira_project}"
253
+ else f"project = '{jira_project}'"
254
254
  )
255
255
  regscale_objects, regscale_attachments = get_regscale_data_and_attachments(
256
256
  parent_id=parent_id,
@@ -753,7 +753,7 @@ def sync_regscale_to_jira(
753
753
  """
754
754
  Sync issues or tasks from RegScale to Jira
755
755
 
756
- :param list[Union[Issue, Task]] regscale_issues: list of RegScale issues or tasks to sync to Jira
756
+ :param list[Union[Issue, Task]] regscale_objects: list of RegScale issues or tasks to sync to Jira
757
757
  :param JIRA jira_client: Jira client to use for issue creation in Jira
758
758
  :param str jira_project: Jira Project to create the issues in
759
759
  :param str jira_issue_type: Type of issue to create in Jira
@@ -829,7 +829,7 @@ def fetch_jira_objects(
829
829
  max_results = 100 # 100 is the max allowed by Jira
830
830
  jira_issues = []
831
831
  issue_response = jira_client.enhanced_search_issues(
832
- jql_str=jql_str or f"project = {jira_project}",
832
+ jql_str=jql_str or f"project = '{jira_project}'",
833
833
  maxResults=max_results,
834
834
  )
835
835
  jira_issues.extend(issue_response)
@@ -3,8 +3,8 @@
3
3
  """Model for a RegScale Security Control Implementation"""
4
4
  # standard python imports
5
5
  import logging
6
- from functools import lru_cache
7
6
  from enum import Enum
7
+ from functools import lru_cache
8
8
  from typing import Any, Callable, Dict, List, Optional, Union
9
9
  from urllib.parse import urljoin
10
10
 
@@ -262,7 +262,7 @@ class ControlImplementation(RegScaleModel):
262
262
  return cls._get_framework_default_responsibility(compliance_setting_id)
263
263
 
264
264
  # Ultimate fallback for unknown compliance settings
265
- return ControlImplementationOrigin.SERVICE_PROVIDER_CORPORATE.value
265
+ return ControlImplementationOrigin.ProviderSS.value
266
266
 
267
267
  @classmethod
268
268
  def _get_framework_default_responsibility(cls, compliance_setting_id: int) -> str:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: regscale-cli
3
- Version: 6.25.0.0
3
+ Version: 6.25.0.1
4
4
  Summary: Command Line Interface (CLI) for bulk processing/loading data into RegScale
5
5
  Home-page: https://github.com/RegScale/regscale-cli
6
6
  Author: Travis Howerton
@@ -1,5 +1,5 @@
1
1
  regscale/__init__.py,sha256=ZygAIkX6Nbjag1czWdQa-yP-GM1mBE_9ss21Xh__JFc,34
2
- regscale/_version.py,sha256=2VqR4bHAUJozo-V_QrqGicdNxrWhSlj6A87PDDLku9k,1198
2
+ regscale/_version.py,sha256=uOMrPCnBFPxcbCOIl5yNTm-LwhdfzpkFWbAUt-kLbvI,1198
3
3
  regscale/regscale.py,sha256=4LzcbkBxPh23cCLANVEEr6uNoZ0sebHec0N-VJm5_vA,31480
4
4
  regscale/airflow/__init__.py,sha256=yMwN0Bz4JbM0nl5qY_hPegxo_O2ilhTOL9PY5Njhn-s,270
5
5
  regscale/airflow/click_dags.py,sha256=H3SUR5jkvInNMv1gu-VG-Ja_H-kH145CpQYNalWNAbE,4520
@@ -126,7 +126,7 @@ regscale/integrations/commercial/dependabot.py,sha256=V4VbHbwrxHfe7eCilJ7U_MBeIO
126
126
  regscale/integrations/commercial/ecr.py,sha256=oQafB_Lx4CbGDLb6fqNtY1oAWci6-XWsm39URNbqgrk,2687
127
127
  regscale/integrations/commercial/gitlab.py,sha256=dzfqJQ68QI1ee_BriNMyPuXLkzOhc2vR1hhVfq2j13Y,12496
128
128
  regscale/integrations/commercial/ibm.py,sha256=vFloNxSrM2BzoicMSiInYN5dF10BbYHJpJDyyMqZu2I,2766
129
- regscale/integrations/commercial/jira.py,sha256=c_ixudk6YBhXHhrjOFtSzknaaOQh-nl0GqLPgl7P1AA,49906
129
+ regscale/integrations/commercial/jira.py,sha256=svy64DXn09KEja810W70GfXwsdDRtnGLG5mNTbNW3K0,49915
130
130
  regscale/integrations/commercial/nexpose.py,sha256=fx6O__y7eY0GaAbX8p24_V1VTFfOM7oia4r3aa_qVnE,2847
131
131
  regscale/integrations/commercial/okta.py,sha256=VNwE848xiBxkha4DibkhLJN-fi0T8rLMd30PPAmRjpk,30837
132
132
  regscale/integrations/commercial/prisma.py,sha256=oYS31HlI7GiShUy0r9Luv57Ex3cGqdJcIoVMrwDAC2c,2835
@@ -393,7 +393,7 @@ regscale/models/regscale_models/compliance_settings.py,sha256=F2q7OQEgYK-HrPmDHM
393
393
  regscale/models/regscale_models/component.py,sha256=Zbl-glM2WYtDRKtnQSyhXRDY9fqBTSSGz_2pMkAsawg,14196
394
394
  regscale/models/regscale_models/component_mapping.py,sha256=g0cbbW4X49SDdlB_YtKMrP4eiK9OkrJqiut0ucdyVDA,2162
395
395
  regscale/models/regscale_models/control.py,sha256=mO46F1IfiXnLSb3YhylaS3SyjtT51s-r8b3hjix9Gbc,1072
396
- regscale/models/regscale_models/control_implementation.py,sha256=xLvc8hO48VI1kDKVP3ixdu0SVxnsMbFnYFzi89wR7w0,56338
396
+ regscale/models/regscale_models/control_implementation.py,sha256=GMCY3mK_3Kt1qj_oKZqp6aOr3AKvMNzgStlDfxJQATY,56322
397
397
  regscale/models/regscale_models/control_objective.py,sha256=qGh8OtATjjc4JS-3bC1AX6TbgtRtz-I0dckbuZ2RzVo,9496
398
398
  regscale/models/regscale_models/control_parameter.py,sha256=5VVkbVZTb2Hzy_WiybU2JtrvhQp8DLSWxRcbSKxktiI,3499
399
399
  regscale/models/regscale_models/control_test.py,sha256=FG-fLS9JJf8__a84W2LtBXtEjzOH9iq2EO949vBx3eY,949
@@ -555,9 +555,9 @@ tests/regscale/models/test_regscale_model.py,sha256=ZsrEZkC4EtdIsoQuayn1xv2gEGcV
555
555
  tests/regscale/models/test_report.py,sha256=IqUq7C__a1_q_mLaz0PE9Lq6fHggBsB14-AzEYNBxLw,4666
556
556
  tests/regscale/models/test_tenable_integrations.py,sha256=y1qaW77H094VSGHjZdlvF66UCt-nPEib9Mv3cdwbM94,32435
557
557
  tests/regscale/models/test_user_model.py,sha256=e9olv28qBApgnvK6hFHOgXjUC-pkaV8aGDirEIWASL4,4427
558
- regscale_cli-6.25.0.0.dist-info/LICENSE,sha256=ytNhYQ9Rmhj_m-EX2pPq9Ld6tH5wrqqDYg-fCf46WDU,1076
559
- regscale_cli-6.25.0.0.dist-info/METADATA,sha256=O9zALayXiFJ3iPJ4BIgCxIpx1xHG1DpdL4Z7BJo8zBg,35027
560
- regscale_cli-6.25.0.0.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
561
- regscale_cli-6.25.0.0.dist-info/entry_points.txt,sha256=cLOaIP1eRv1yZ2u7BvpE3aB4x3kDrDwkpeisKOu33z8,269
562
- regscale_cli-6.25.0.0.dist-info/top_level.txt,sha256=Uv8VUCAdxRm70bgrD4YNEJUmDhBThad_1aaEFGwRByc,15
563
- regscale_cli-6.25.0.0.dist-info/RECORD,,
558
+ regscale_cli-6.25.0.1.dist-info/LICENSE,sha256=ytNhYQ9Rmhj_m-EX2pPq9Ld6tH5wrqqDYg-fCf46WDU,1076
559
+ regscale_cli-6.25.0.1.dist-info/METADATA,sha256=o0IM1S-QKAG4kmMmru9qfqBykFJjs1F3HYJDRRKMG_c,35027
560
+ regscale_cli-6.25.0.1.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
561
+ regscale_cli-6.25.0.1.dist-info/entry_points.txt,sha256=cLOaIP1eRv1yZ2u7BvpE3aB4x3kDrDwkpeisKOu33z8,269
562
+ regscale_cli-6.25.0.1.dist-info/top_level.txt,sha256=Uv8VUCAdxRm70bgrD4YNEJUmDhBThad_1aaEFGwRByc,15
563
+ regscale_cli-6.25.0.1.dist-info/RECORD,,