Skip to content

Commit 086a450

Browse files
committed
Updated the TVM Credential to be TenableCloud
1 parent 2b491df commit 086a450

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

tenint/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from .models.credentials import Credential, TenableVMCredential, TenableSCCredential # noqa F401
1+
from .models.credentials import Credential, TenableCloudCredential, TenableSCCredential # noqa F401
22
from .models.configuration import Configuration, Settings # noqa F401
33
from .connector import Connector # noqa F401
44

tenint/models/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
from .configuration import Configuration, Settings # noqa F401
2-
from .credentials import Credential, TenableVMCredential, TenableSCCredential # noqa F401
2+
from .credentials import Credential, TenableCloudCredential, TenableSCCredential # noqa F401
33
from .pyproject import PyProject # noqa F401

tenint/models/credentials.py

+4-6
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,15 @@ def env_secrets(cls) -> list[str]:
4040
return resp
4141

4242

43-
class TenableVMCredential(Credential):
43+
class TenableCloudCredential(Credential):
4444
"""
45-
Tenable Vulnerability Management Credential
45+
Tenable Cloud Credential
4646
"""
4747

4848
prefix: Literal["tio"] = "tio"
49-
name: Literal["Tenable Vulnerability Management"] = (
50-
"Tenable Vulnerability Management"
51-
)
49+
name: Literal["Tenable Cloud"] = "Tenable Cloud"
5250
slug: Literal["tvm"] = "tvm"
53-
description: str = "Tenable Vulnerability Management Credential"
51+
description: str = "Tenable Cloud Credential"
5452
url: AnyHttpUrl = "https://cloud.tenable.com"
5553
access_key: str
5654
secret_key: SecretStr

0 commit comments

Comments
 (0)