okta-agent 2.3.2__tar.gz → 2.3.4__tar.gz
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.
- {okta_agent-2.3.2/okta_agent.egg-info → okta_agent-2.3.4}/PKG-INFO +4 -4
- {okta_agent-2.3.2 → okta_agent-2.3.4}/README.md +1 -1
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/__init__.py +1 -1
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/api_client.py +1 -1
- okta_agent-2.3.4/okta_agent/connector_sources.py +239 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/mcp_server.py +1 -1
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/ontology/certification.json +0 -3
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/ontology/okta.ttl +3 -5
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/prompts/identity_specialist.json +0 -2
- {okta_agent-2.3.2 → okta_agent-2.3.4/okta_agent.egg-info}/PKG-INFO +4 -4
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent.egg-info/SOURCES.txt +2 -2
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent.egg-info/entry_points.txt +0 -3
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent.egg-info/requires.txt +2 -2
- {okta_agent-2.3.2 → okta_agent-2.3.4}/pyproject.toml +3 -6
- okta_agent-2.3.4/requirements.txt +3 -0
- okta_agent-2.3.4/tests/test_default_content_surfaces.py +43 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/tests/test_fleet_name.py +2 -13
- {okta_agent-2.3.2 → okta_agent-2.3.4}/tests/test_kg_ingest.py +2 -2
- okta_agent-2.3.2/okta_agent/connectors/mcp_source_presets.json +0 -36
- okta_agent-2.3.2/okta_agent/connectors/tool_schema_fingerprints.json +0 -10
- okta_agent-2.3.2/requirements.txt +0 -3
- {okta_agent-2.3.2 → okta_agent-2.3.4}/LICENSE +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/MANIFEST.in +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/__main__.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/api/__init__.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/api/api_client_apps.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/api/api_client_base.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/api/api_client_groups.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/api/api_client_policies.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/api/api_client_system.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/api/api_client_users.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/api/credentials.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/api/filters.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/auth.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/connectors/__init__.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/kg_ingest.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/mcp/__init__.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/mcp/common.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/mcp/mcp_apps.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/mcp/mcp_groups.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/mcp/mcp_ingest.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/mcp/mcp_policies.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/mcp/mcp_system.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/mcp/mcp_users.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/mcp_config.json +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/okta_input_models.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/okta_response_models.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/ontology/__init__.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/ontology/fixtures/records.json +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/ontology/mappings/source.yaml +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/ontology/migrations/manifest.json +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/ontology/shapes/connector.shacl.ttl +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/prompts/__init__.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/skills/__init__.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/skills/okta-access-management/SKILL.md +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/skills/okta-access-management/WORKFLOW.md +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/skills/okta-agent-operations/SKILL.md +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/skills/okta-agent-operations/agents/openai.yaml +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/skills/okta-agent-operations/references/catalog.md +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/skills/okta-directory-ingestion/SKILL.md +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/skills/okta-directory-ingestion/WORKFLOW.md +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/skills/okta-user-lifecycle/SKILL.md +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/skills/okta-user-lifecycle/WORKFLOW.md +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent.egg-info/dependency_links.txt +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent.egg-info/top_level.txt +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/scripts/security_sanitizer.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/scripts/verify_api_integration.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/setup.cfg +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/tests/__init__.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/tests/conftest.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/tests/test_api_wrapper.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/tests/test_apps_client.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/tests/test_auth.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/tests/test_credentials.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/tests/test_filters.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/tests/test_groups_client.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/tests/test_init_dynamics.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/tests/test_okta_mcp_validation.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/tests/test_okta_models.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/tests/test_pagination.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/tests/test_policies_client.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/tests/test_startup.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/tests/test_system_client.py +0 -0
- {okta_agent-2.3.2 → okta_agent-2.3.4}/tests/test_users_client.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: okta-agent
|
|
3
|
-
Version: 2.3.
|
|
3
|
+
Version: 2.3.4
|
|
4
4
|
Summary: Okta CIAM/SSO MCP Server and Agent for Agentic AI!
|
|
5
5
|
Author-email: Project Maintainers <maintainers@users.noreply.github.com>
|
|
6
6
|
License: MIT
|
|
@@ -12,11 +12,11 @@ Classifier: Programming Language :: Python :: 3
|
|
|
12
12
|
Requires-Python: >=3.12
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
License-File: LICENSE
|
|
15
|
-
Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.
|
|
15
|
+
Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.4.1
|
|
16
16
|
Requires-Dist: httpx>=0.28.1
|
|
17
17
|
Requires-Dist: PyJWT[crypto]>=2.15.1
|
|
18
18
|
Provides-Extra: mcp
|
|
19
|
-
Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.
|
|
19
|
+
Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.4.1; extra == "mcp"
|
|
20
20
|
Provides-Extra: all
|
|
21
21
|
Requires-Dist: okta-agent[mcp]>=1.0.0; extra == "all"
|
|
22
22
|
Provides-Extra: test
|
|
@@ -37,7 +37,7 @@ Dynamic: license-file
|
|
|
37
37
|

|
|
38
38
|

|
|
39
39
|
|
|
40
|
-
*Version: 2.3.
|
|
40
|
+
*Version: 2.3.4*
|
|
41
41
|
|
|
42
42
|
> **Documentation** — Installation, deployment, usage across the API, CLI, and MCP
|
|
43
43
|
> server live on the docs site:
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|

|
|
10
10
|

|
|
11
11
|
|
|
12
|
-
*Version: 2.3.
|
|
12
|
+
*Version: 2.3.4*
|
|
13
13
|
|
|
14
14
|
> **Documentation** — Installation, deployment, usage across the API, CLI, and MCP
|
|
15
15
|
> server live on the docs site:
|
|
@@ -10,7 +10,7 @@ from okta_agent.api.api_client_policies import Api as PoliciesApi
|
|
|
10
10
|
from okta_agent.api.api_client_system import Api as SystemApi
|
|
11
11
|
from okta_agent.api.api_client_users import Api as UsersApi
|
|
12
12
|
|
|
13
|
-
__version__ = "2.3.
|
|
13
|
+
__version__ = "2.3.4"
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
class Api(UsersApi, GroupsApi, AppsApi, PoliciesApi, SystemApi):
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
"""Data sources of this connector, declared by tool name (generated by connector-ontology-map migrate).
|
|
2
|
+
|
|
3
|
+
Served live as ``connector://resources``. Regenerate by editing the declarations, not the tools.
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
# ruff: noqa: E501
|
|
7
|
+
from __future__ import annotations
|
|
8
|
+
|
|
9
|
+
from agent_connector_sdk.ingest.live_declaration import source_meta
|
|
10
|
+
from agent_connector_sdk.ingest.sources import IngestSourceDeclaration, IngestSourceSpec
|
|
11
|
+
|
|
12
|
+
CONNECTOR = "okta-mcp"
|
|
13
|
+
|
|
14
|
+
SOURCES = (
|
|
15
|
+
source_meta(
|
|
16
|
+
tool="okta_list_apps",
|
|
17
|
+
source_id="okta-apps",
|
|
18
|
+
record_type="Application",
|
|
19
|
+
id_field="id",
|
|
20
|
+
cursor_field="lastUpdated",
|
|
21
|
+
preset={
|
|
22
|
+
"doc_type": "Application",
|
|
23
|
+
"params_style": "args",
|
|
24
|
+
},
|
|
25
|
+
records_path="data",
|
|
26
|
+
server="okta-mcp",
|
|
27
|
+
text_field="signOnMode",
|
|
28
|
+
title_field="label",
|
|
29
|
+
),
|
|
30
|
+
source_meta(
|
|
31
|
+
tool="okta_list_groups",
|
|
32
|
+
source_id="okta-groups",
|
|
33
|
+
record_type="Group",
|
|
34
|
+
id_field="id",
|
|
35
|
+
cursor_field="lastUpdated",
|
|
36
|
+
preset={
|
|
37
|
+
"doc_type": "Group",
|
|
38
|
+
"params_style": "args",
|
|
39
|
+
},
|
|
40
|
+
records_path="data",
|
|
41
|
+
server="okta-mcp",
|
|
42
|
+
text_field="profile.description",
|
|
43
|
+
title_field="profile.name",
|
|
44
|
+
),
|
|
45
|
+
source_meta(
|
|
46
|
+
tool="okta_list_users",
|
|
47
|
+
source_id="okta-users",
|
|
48
|
+
record_type="User",
|
|
49
|
+
id_field="id",
|
|
50
|
+
cursor_field="lastUpdated",
|
|
51
|
+
preset={
|
|
52
|
+
"doc_type": "User",
|
|
53
|
+
"params_style": "args",
|
|
54
|
+
},
|
|
55
|
+
records_path="data",
|
|
56
|
+
server="okta-mcp",
|
|
57
|
+
text_field="profile.email",
|
|
58
|
+
title_field="profile.login",
|
|
59
|
+
),
|
|
60
|
+
)
|
|
61
|
+
|
|
62
|
+
SCHEMA_MAPPINGS = {
|
|
63
|
+
"Application": {
|
|
64
|
+
"fields": {
|
|
65
|
+
"email": "xsd:string",
|
|
66
|
+
"eventType": "xsd:string",
|
|
67
|
+
"externalToolId": "xsd:string",
|
|
68
|
+
"factorType": "xsd:string",
|
|
69
|
+
"groupType": "xsd:string",
|
|
70
|
+
"login": "xsd:string",
|
|
71
|
+
"outcome": "xsd:string",
|
|
72
|
+
"policyType": "xsd:string",
|
|
73
|
+
"priority": "xsd:integer",
|
|
74
|
+
"provider": "xsd:string",
|
|
75
|
+
"signOnMode": "xsd:string",
|
|
76
|
+
"status": "xsd:string",
|
|
77
|
+
},
|
|
78
|
+
"ontology_class": "ApplicationComponent",
|
|
79
|
+
},
|
|
80
|
+
"Factor": {
|
|
81
|
+
"fields": {
|
|
82
|
+
"email": "xsd:string",
|
|
83
|
+
"eventType": "xsd:string",
|
|
84
|
+
"externalToolId": "xsd:string",
|
|
85
|
+
"factorType": "xsd:string",
|
|
86
|
+
"groupType": "xsd:string",
|
|
87
|
+
"login": "xsd:string",
|
|
88
|
+
"outcome": "xsd:string",
|
|
89
|
+
"policyType": "xsd:string",
|
|
90
|
+
"priority": "xsd:integer",
|
|
91
|
+
"provider": "xsd:string",
|
|
92
|
+
"signOnMode": "xsd:string",
|
|
93
|
+
"status": "xsd:string",
|
|
94
|
+
},
|
|
95
|
+
"ontology_class": None,
|
|
96
|
+
},
|
|
97
|
+
"Group": {
|
|
98
|
+
"fields": {
|
|
99
|
+
"email": "xsd:string",
|
|
100
|
+
"eventType": "xsd:string",
|
|
101
|
+
"externalToolId": "xsd:string",
|
|
102
|
+
"factorType": "xsd:string",
|
|
103
|
+
"groupType": "xsd:string",
|
|
104
|
+
"login": "xsd:string",
|
|
105
|
+
"outcome": "xsd:string",
|
|
106
|
+
"policyType": "xsd:string",
|
|
107
|
+
"priority": "xsd:integer",
|
|
108
|
+
"provider": "xsd:string",
|
|
109
|
+
"signOnMode": "xsd:string",
|
|
110
|
+
"status": "xsd:string",
|
|
111
|
+
},
|
|
112
|
+
"ontology_class": "Organization",
|
|
113
|
+
},
|
|
114
|
+
"GroupRule": {
|
|
115
|
+
"fields": {
|
|
116
|
+
"email": "xsd:string",
|
|
117
|
+
"eventType": "xsd:string",
|
|
118
|
+
"externalToolId": "xsd:string",
|
|
119
|
+
"factorType": "xsd:string",
|
|
120
|
+
"groupType": "xsd:string",
|
|
121
|
+
"login": "xsd:string",
|
|
122
|
+
"outcome": "xsd:string",
|
|
123
|
+
"policyType": "xsd:string",
|
|
124
|
+
"priority": "xsd:integer",
|
|
125
|
+
"provider": "xsd:string",
|
|
126
|
+
"signOnMode": "xsd:string",
|
|
127
|
+
"status": "xsd:string",
|
|
128
|
+
},
|
|
129
|
+
"ontology_class": "Organization",
|
|
130
|
+
},
|
|
131
|
+
"LogEvent": {
|
|
132
|
+
"fields": {
|
|
133
|
+
"email": "xsd:string",
|
|
134
|
+
"eventType": "xsd:string",
|
|
135
|
+
"externalToolId": "xsd:string",
|
|
136
|
+
"factorType": "xsd:string",
|
|
137
|
+
"groupType": "xsd:string",
|
|
138
|
+
"login": "xsd:string",
|
|
139
|
+
"outcome": "xsd:string",
|
|
140
|
+
"policyType": "xsd:string",
|
|
141
|
+
"priority": "xsd:integer",
|
|
142
|
+
"provider": "xsd:string",
|
|
143
|
+
"signOnMode": "xsd:string",
|
|
144
|
+
"status": "xsd:string",
|
|
145
|
+
},
|
|
146
|
+
"ontology_class": "Event",
|
|
147
|
+
},
|
|
148
|
+
"Policy": {
|
|
149
|
+
"fields": {
|
|
150
|
+
"email": "xsd:string",
|
|
151
|
+
"eventType": "xsd:string",
|
|
152
|
+
"externalToolId": "xsd:string",
|
|
153
|
+
"factorType": "xsd:string",
|
|
154
|
+
"groupType": "xsd:string",
|
|
155
|
+
"login": "xsd:string",
|
|
156
|
+
"outcome": "xsd:string",
|
|
157
|
+
"policyType": "xsd:string",
|
|
158
|
+
"priority": "xsd:integer",
|
|
159
|
+
"provider": "xsd:string",
|
|
160
|
+
"signOnMode": "xsd:string",
|
|
161
|
+
"status": "xsd:string",
|
|
162
|
+
},
|
|
163
|
+
"ontology_class": "Policy",
|
|
164
|
+
},
|
|
165
|
+
"User": {
|
|
166
|
+
"fields": {
|
|
167
|
+
"email": "xsd:string",
|
|
168
|
+
"eventType": "xsd:string",
|
|
169
|
+
"externalToolId": "xsd:string",
|
|
170
|
+
"factorType": "xsd:string",
|
|
171
|
+
"groupType": "xsd:string",
|
|
172
|
+
"login": "xsd:string",
|
|
173
|
+
"outcome": "xsd:string",
|
|
174
|
+
"policyType": "xsd:string",
|
|
175
|
+
"priority": "xsd:integer",
|
|
176
|
+
"provider": "xsd:string",
|
|
177
|
+
"signOnMode": "xsd:string",
|
|
178
|
+
"status": "xsd:string",
|
|
179
|
+
},
|
|
180
|
+
"ontology_class": "Person",
|
|
181
|
+
},
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
RESOURCES = (
|
|
185
|
+
{
|
|
186
|
+
"id_prefix": "application",
|
|
187
|
+
"label": "Okta Application",
|
|
188
|
+
"name": "Application",
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"id_prefix": "factor",
|
|
192
|
+
"label": "MFA Factor",
|
|
193
|
+
"name": "Factor",
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"id_prefix": "group",
|
|
197
|
+
"label": "Okta Group",
|
|
198
|
+
"name": "Group",
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"id_prefix": "grouprule",
|
|
202
|
+
"label": "Group Rule",
|
|
203
|
+
"name": "GroupRule",
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"id_prefix": "logevent",
|
|
207
|
+
"label": "System Log Event",
|
|
208
|
+
"name": "LogEvent",
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"id_prefix": "policy",
|
|
212
|
+
"label": "Access Policy",
|
|
213
|
+
"name": "Policy",
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"id_prefix": "user",
|
|
217
|
+
"label": "Okta User",
|
|
218
|
+
"name": "User",
|
|
219
|
+
},
|
|
220
|
+
)
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
def declaration() -> IngestSourceDeclaration:
|
|
224
|
+
"""The declaration the server assembles from this module."""
|
|
225
|
+
specs = []
|
|
226
|
+
for item in SOURCES:
|
|
227
|
+
for entry in item["connector_sources"]:
|
|
228
|
+
body = {k: v for k, v in entry.items() if k not in ("tool", "mapping")}
|
|
229
|
+
specs.append(
|
|
230
|
+
IngestSourceSpec.model_validate({**body, "tools": (entry["tool"],)})
|
|
231
|
+
)
|
|
232
|
+
return IngestSourceDeclaration.model_validate(
|
|
233
|
+
{
|
|
234
|
+
"connector": CONNECTOR,
|
|
235
|
+
"sources": specs,
|
|
236
|
+
"schema_mappings": SCHEMA_MAPPINGS,
|
|
237
|
+
"resources": RESOURCES,
|
|
238
|
+
}
|
|
239
|
+
)
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"api_version": "arbora.io/v1",
|
|
3
3
|
"artifacts": {
|
|
4
|
-
"connector_manifest.yml": "925dfcb33f0d898d04dd0cb8c1e9ea2eae09fdc16bbeb75aaab6f2130aea923d",
|
|
5
|
-
"okta_agent/connectors/mcp_source_presets.json": "4a0132dbb843fb4cfee3e4e6de1dcd2d35bbfc42abc666ac90ffe6d27f5bfb52",
|
|
6
|
-
"okta_agent/connectors/tool_schema_fingerprints.json": "80fd3a828c73329507cc67ba62d4954c9a5a42e9fa1fecc467dbab73a37c3845",
|
|
7
4
|
"okta_agent/ontology/fixtures/records.json": "0849b3680dda8cf73125847171ad29bf4407dd82fdf8301f51f048cd965f16a1",
|
|
8
5
|
"okta_agent/ontology/mappings/source.yaml": "0548b4b55a5a3670c8275673dd7018d117f7d1df4704ef66dab074b744452c11",
|
|
9
6
|
"okta_agent/ontology/migrations/manifest.json": "e9b1f101d12abd2b4562da17899754ea2574b67801f2c929af5085a8194d0b7c",
|
|
@@ -30,9 +30,8 @@
|
|
|
30
30
|
rdfs:label "Group Rule" ;
|
|
31
31
|
rdfs:comment "A dynamic-membership rule that assigns users to a Group from an Okta Expression Language condition (okta_groups action=list_rules)." .
|
|
32
32
|
|
|
33
|
-
:Policy a owl:Class
|
|
34
|
-
|
|
35
|
-
rdfs:comment "An Okta policy governing sign-on, password, or MFA enrollment (okta_policies). Carries a type and priority." .
|
|
33
|
+
:Policy a owl:Class .
|
|
34
|
+
|
|
36
35
|
|
|
37
36
|
:Factor a owl:Class ;
|
|
38
37
|
rdfs:label "MFA Factor" ;
|
|
@@ -155,5 +154,4 @@
|
|
|
155
154
|
rdfs:comment """Okta enterprise identity model — users, groups, applications, group
|
|
156
155
|
rules, access policies, MFA factors and system-log events, with their membership,
|
|
157
156
|
assignment and governance relationships — federated into the agent-connector-sdk
|
|
158
|
-
knowledge-graph hub."""
|
|
159
|
-
owl:imports <http://knuckles.team/kg> .
|
|
157
|
+
knowledge-graph hub.""" .
|
|
@@ -4,8 +4,6 @@
|
|
|
4
4
|
"schema_version": "1.0",
|
|
5
5
|
"prompt_version": "0.1.0",
|
|
6
6
|
"source": "okta-agent",
|
|
7
|
-
"extends": "agent-connector-sdk:base",
|
|
8
|
-
"compose": "append",
|
|
9
7
|
"description": "Okta CIAM/SSO identity specialist: user lifecycle, group and application access, and directory mirroring over the okta-agent MCP server.",
|
|
10
8
|
"metadata": {
|
|
11
9
|
"topic": "Okta identity and access management",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: okta-agent
|
|
3
|
-
Version: 2.3.
|
|
3
|
+
Version: 2.3.4
|
|
4
4
|
Summary: Okta CIAM/SSO MCP Server and Agent for Agentic AI!
|
|
5
5
|
Author-email: Project Maintainers <maintainers@users.noreply.github.com>
|
|
6
6
|
License: MIT
|
|
@@ -12,11 +12,11 @@ Classifier: Programming Language :: Python :: 3
|
|
|
12
12
|
Requires-Python: >=3.12
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
License-File: LICENSE
|
|
15
|
-
Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.
|
|
15
|
+
Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.4.1
|
|
16
16
|
Requires-Dist: httpx>=0.28.1
|
|
17
17
|
Requires-Dist: PyJWT[crypto]>=2.15.1
|
|
18
18
|
Provides-Extra: mcp
|
|
19
|
-
Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.
|
|
19
|
+
Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.4.1; extra == "mcp"
|
|
20
20
|
Provides-Extra: all
|
|
21
21
|
Requires-Dist: okta-agent[mcp]>=1.0.0; extra == "all"
|
|
22
22
|
Provides-Extra: test
|
|
@@ -37,7 +37,7 @@ Dynamic: license-file
|
|
|
37
37
|

|
|
38
38
|

|
|
39
39
|
|
|
40
|
-
*Version: 2.3.
|
|
40
|
+
*Version: 2.3.4*
|
|
41
41
|
|
|
42
42
|
> **Documentation** — Installation, deployment, usage across the API, CLI, and MCP
|
|
43
43
|
> server live on the docs site:
|
|
@@ -7,6 +7,7 @@ okta_agent/__init__.py
|
|
|
7
7
|
okta_agent/__main__.py
|
|
8
8
|
okta_agent/api_client.py
|
|
9
9
|
okta_agent/auth.py
|
|
10
|
+
okta_agent/connector_sources.py
|
|
10
11
|
okta_agent/kg_ingest.py
|
|
11
12
|
okta_agent/mcp_config.json
|
|
12
13
|
okta_agent/mcp_server.py
|
|
@@ -28,8 +29,6 @@ okta_agent/api/api_client_users.py
|
|
|
28
29
|
okta_agent/api/credentials.py
|
|
29
30
|
okta_agent/api/filters.py
|
|
30
31
|
okta_agent/connectors/__init__.py
|
|
31
|
-
okta_agent/connectors/mcp_source_presets.json
|
|
32
|
-
okta_agent/connectors/tool_schema_fingerprints.json
|
|
33
32
|
okta_agent/mcp/__init__.py
|
|
34
33
|
okta_agent/mcp/common.py
|
|
35
34
|
okta_agent/mcp/mcp_apps.py
|
|
@@ -65,6 +64,7 @@ tests/test_api_wrapper.py
|
|
|
65
64
|
tests/test_apps_client.py
|
|
66
65
|
tests/test_auth.py
|
|
67
66
|
tests/test_credentials.py
|
|
67
|
+
tests/test_default_content_surfaces.py
|
|
68
68
|
tests/test_filters.py
|
|
69
69
|
tests/test_fleet_name.py
|
|
70
70
|
tests/test_groups_client.py
|
|
@@ -10,8 +10,5 @@ okta-agent = okta_agent.prompts
|
|
|
10
10
|
[agent_connector_sdk.skill_providers]
|
|
11
11
|
okta-agent = okta_agent.skills
|
|
12
12
|
|
|
13
|
-
[agent_connector_sdk.source_connector_providers]
|
|
14
|
-
okta-agent = okta_agent.connectors
|
|
15
|
-
|
|
16
13
|
[console_scripts]
|
|
17
14
|
okta-mcp = okta_agent.mcp_server:mcp_server
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
agent-connector-sdk[mcp]<1.0.0,>=0.
|
|
1
|
+
agent-connector-sdk[mcp]<1.0.0,>=0.4.1
|
|
2
2
|
httpx>=0.28.1
|
|
3
3
|
PyJWT[crypto]>=2.15.1
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@ PyJWT[crypto]>=2.15.1
|
|
|
6
6
|
okta-agent[mcp]>=1.0.0
|
|
7
7
|
|
|
8
8
|
[mcp]
|
|
9
|
-
agent-connector-sdk[mcp]<1.0.0,>=0.
|
|
9
|
+
agent-connector-sdk[mcp]<1.0.0,>=0.4.1
|
|
10
10
|
|
|
11
11
|
[test]
|
|
12
12
|
pytest-xdist>=3.8.0
|
|
@@ -4,12 +4,12 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "okta-agent"
|
|
7
|
-
version = "2.3.
|
|
7
|
+
version = "2.3.4"
|
|
8
8
|
description = "Okta CIAM/SSO MCP Server and Agent for Agentic AI!"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
classifiers = [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Environment :: Console", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3",]
|
|
11
11
|
requires-python = ">=3.12"
|
|
12
|
-
dependencies = [ "agent-connector-sdk[mcp]>=0.
|
|
12
|
+
dependencies = [ "agent-connector-sdk[mcp]>=0.4.1,<1.0.0", "httpx>=0.28.1", "PyJWT[crypto]>=2.15.1",]
|
|
13
13
|
[[project.authors]]
|
|
14
14
|
name = "Project Maintainers"
|
|
15
15
|
email = "maintainers@users.noreply.github.com"
|
|
@@ -18,7 +18,7 @@ email = "maintainers@users.noreply.github.com"
|
|
|
18
18
|
text = "MIT"
|
|
19
19
|
|
|
20
20
|
[project.optional-dependencies]
|
|
21
|
-
mcp = [ "agent-connector-sdk[mcp]>=0.
|
|
21
|
+
mcp = [ "agent-connector-sdk[mcp]>=0.4.1,<1.0.0",]
|
|
22
22
|
all = [ "okta-agent[mcp]>=1.0.0",]
|
|
23
23
|
test = [ "pytest-xdist>=3.8.0", "pytest>=9.1.1", "pytest-asyncio>=1.4.0", "pytest-cov>=7.1.0",]
|
|
24
24
|
|
|
@@ -31,9 +31,6 @@ okta-agent = "okta_agent.skills"
|
|
|
31
31
|
[project.entry-points."agent_connector_sdk.ontology_providers"]
|
|
32
32
|
okta-agent = "okta_agent.ontology"
|
|
33
33
|
|
|
34
|
-
[project.entry-points."agent_connector_sdk.source_connector_providers"]
|
|
35
|
-
okta-agent = "okta_agent.connectors"
|
|
36
|
-
|
|
37
34
|
[project.entry-points."agent_connector_sdk.prompt_providers"]
|
|
38
35
|
okta-agent = "okta_agent.prompts"
|
|
39
36
|
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"""CONN-OKTA-AGENT-CONNECTOR-CONTENT-R001: the server lists its packaged skills, ontology and prompts by default."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import asyncio
|
|
6
|
+
import importlib
|
|
7
|
+
from pathlib import Path
|
|
8
|
+
|
|
9
|
+
import pytest
|
|
10
|
+
from fastmcp import Client
|
|
11
|
+
|
|
12
|
+
PACKAGE = "okta_agent"
|
|
13
|
+
ROOT = Path(list(importlib.import_module(PACKAGE).__path__)[0])
|
|
14
|
+
|
|
15
|
+
pytestmark = pytest.mark.spec("CONN-OKTA-AGENT-CONNECTOR-CONTENT-R001")
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
def _server():
|
|
19
|
+
namespace = {"__name__": PACKAGE + ".mcp_server"}
|
|
20
|
+
exec(
|
|
21
|
+
"from agent_connector_sdk.mcp.server import create_mcp_server\n"
|
|
22
|
+
"result = create_mcp_server('okta-mcp', version='0', command_args=[])",
|
|
23
|
+
namespace,
|
|
24
|
+
)
|
|
25
|
+
return namespace["result"][1]
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
async def _listings():
|
|
29
|
+
async with Client(_server()) as client:
|
|
30
|
+
resources = {str(r.uri) for r in await client.list_resources()}
|
|
31
|
+
prompts = {p.name for p in await client.list_prompts()}
|
|
32
|
+
return resources, prompts
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
def test_default_content_surfaces() -> None:
|
|
36
|
+
resources, prompts = asyncio.run(_listings())
|
|
37
|
+
if list(ROOT.glob("skills/*/SKILL.md")):
|
|
38
|
+
assert any(u.startswith("skill://") for u in resources)
|
|
39
|
+
if list(ROOT.glob("ontology/*.ttl")):
|
|
40
|
+
assert any(u.startswith("ontology://okta-mcp/") for u in resources)
|
|
41
|
+
for path in ROOT.glob("prompts/*.json"):
|
|
42
|
+
if not path.name.startswith("_"):
|
|
43
|
+
assert path.stem in prompts
|
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
+
from agent_connector_sdk.connector_identity import connector_name
|
|
5
6
|
import ast
|
|
6
|
-
import json
|
|
7
|
-
import re
|
|
8
7
|
import tomllib
|
|
9
8
|
from pathlib import Path
|
|
10
9
|
|
|
@@ -38,16 +37,6 @@ def test_connector_name_is_the_fleet_name() -> None:
|
|
|
38
37
|
assert pyproject["project"]["entry-points"]["agent_connector_sdk.connector"] == {
|
|
39
38
|
FLEET: "okta_agent"
|
|
40
39
|
}
|
|
41
|
-
|
|
42
|
-
if not manifest_path.is_file():
|
|
43
|
-
manifest_path = ROOT / "connector_manifest.yml"
|
|
44
|
-
manifest = manifest_path.read_text(encoding="utf-8")
|
|
45
|
-
match = re.search(r'^\s*"?connector"?\s*:\s*"?([^"\s,]+)', manifest, re.MULTILINE)
|
|
46
|
-
assert match is not None and match.group(1) == FLEET
|
|
47
|
-
fingerprints = PACKAGE / "connectors" / "tool_schema_fingerprints.json"
|
|
48
|
-
if fingerprints.is_file():
|
|
49
|
-
assert (
|
|
50
|
-
json.loads(fingerprints.read_text(encoding="utf-8"))["connector"] == FLEET
|
|
51
|
-
)
|
|
40
|
+
assert connector_name("okta_agent") == FLEET
|
|
52
41
|
for module in sorted(PACKAGE.glob("*.py")):
|
|
53
42
|
assert all(name == FLEET for name in _call_connectors(module)), module.name
|
|
@@ -70,7 +70,7 @@ async def test_ingest_entities_writes_nodes_and_edges(ingest):
|
|
|
70
70
|
a_record = next(r for r in request.records if r.record_id == "a")
|
|
71
71
|
assert a_record.payload["name"] == "Ada"
|
|
72
72
|
assert request.relationships[0].relation_reference.endswith(
|
|
73
|
-
"
|
|
73
|
+
"relations/User/memberOfGroup"
|
|
74
74
|
)
|
|
75
75
|
|
|
76
76
|
|
|
@@ -103,7 +103,7 @@ async def test_ingest_users_maps_user_and_group_edge(ingest):
|
|
|
103
103
|
assert node.payload["status"] == "ACTIVE"
|
|
104
104
|
assert node.payload["externalToolId"] == "00u1"
|
|
105
105
|
assert request.relationships[0].relation_reference.endswith(
|
|
106
|
-
"
|
|
106
|
+
"relations/User/memberOfGroup"
|
|
107
107
|
)
|
|
108
108
|
|
|
109
109
|
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_comment": "Tier-1 mcp_tool source presets for okta-agent (AU-KG.ingest.mcp-tool-connector). Each entry drives source_sync via the named MCP tool: it calls tool(action, params_json) and maps records_path -> typed :Class nodes. Contributed presets win over the central MCP_TOOL_PRESETS.",
|
|
3
|
-
"okta-users": {
|
|
4
|
-
"server": "okta-mcp",
|
|
5
|
-
"tool": "okta_list_users",
|
|
6
|
-
"records_path": "data",
|
|
7
|
-
"id_field": "id",
|
|
8
|
-
"title_field": "profile.login",
|
|
9
|
-
"text_field": "profile.email",
|
|
10
|
-
"updated_field": "lastUpdated",
|
|
11
|
-
"doc_type": "User",
|
|
12
|
-
"params_style": "args"
|
|
13
|
-
},
|
|
14
|
-
"okta-groups": {
|
|
15
|
-
"server": "okta-mcp",
|
|
16
|
-
"tool": "okta_list_groups",
|
|
17
|
-
"records_path": "data",
|
|
18
|
-
"id_field": "id",
|
|
19
|
-
"title_field": "profile.name",
|
|
20
|
-
"text_field": "profile.description",
|
|
21
|
-
"updated_field": "lastUpdated",
|
|
22
|
-
"doc_type": "Group",
|
|
23
|
-
"params_style": "args"
|
|
24
|
-
},
|
|
25
|
-
"okta-apps": {
|
|
26
|
-
"server": "okta-mcp",
|
|
27
|
-
"tool": "okta_list_apps",
|
|
28
|
-
"records_path": "data",
|
|
29
|
-
"id_field": "id",
|
|
30
|
-
"title_field": "label",
|
|
31
|
-
"text_field": "signOnMode",
|
|
32
|
-
"updated_field": "lastUpdated",
|
|
33
|
-
"doc_type": "Application",
|
|
34
|
-
"params_style": "args"
|
|
35
|
-
}
|
|
36
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"algorithm": "agent-connector-sdk:mcp-tool-contract-compat:v2",
|
|
3
|
-
"connector": "okta-mcp",
|
|
4
|
-
"schema_version": "1",
|
|
5
|
-
"tools": {
|
|
6
|
-
"okta_list_apps": "dd142e543ce07cfc0f49e40e088a9148d5c48067636a64856c5c099462f664a2",
|
|
7
|
-
"okta_list_groups": "6162c92797d4f1636db47c29a578b3ee1b0b8100a3f8b8cc174b2e5de63f6fa0",
|
|
8
|
-
"okta_list_users": "573febe5046deb002ed74cc5a8f1a9d4a4b98d5ca56b5815bb26a03f8bf83919"
|
|
9
|
-
}
|
|
10
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/skills/okta-agent-operations/agents/openai.yaml
RENAMED
|
File without changes
|
{okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/skills/okta-agent-operations/references/catalog.md
RENAMED
|
File without changes
|
|
File without changes
|
{okta_agent-2.3.2 → okta_agent-2.3.4}/okta_agent/skills/okta-directory-ingestion/WORKFLOW.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|