DongTai icon indicating copy to clipboard operation
DongTai copied to clipboard

[Feature]: 使用域名对项目进行归类

Open yingshang opened this issue 4 years ago • 4 comments

Preflight Checklist

  • [X] I agree to follow the Code of Conduct that this project adheres to.
  • [X] I have searched the issue tracker for an issue that matches the one I want to file, without success.

Problem Description

跟业务沟通,使用带有IAST探针的基础镜像,接着业务dockerfile引用基础探针镜像,这样工作量就很少。但是实际操作下来发现,所有的项目内容都汇总到Demo Project里面,因为基础镜像无法知道应用的名字,我研究了一下,发现即使他们汇总在同一个项目里面,但是域名都是不一样的,这样是不是可以以域名作为划分不同项目。

Proposed Solution

新增一个选项卡,里面用域名进行聚类

Alternatives Considered

No response

Additional Information

No response

yingshang avatar Dec 31 '21 03:12 yingshang

可以在agent安装时配置项目名和版本号

Bidaya0 avatar Jan 07 '22 03:01 Bidaya0

agent不能配置项目名和版本号,因为统一使用一个基础镜像构建,所有的业务系统都会放在demo project项目里面 image

yingshang avatar Jan 07 '22 07:01 yingshang

project.name can be specified by container ENV or overwrite by command args.

hardy4yooz avatar Jan 07 '22 09:01 hardy4yooz

我知道可以添加ENV变量,不过对于业务部门改动很大,他们需要修改几百个dockerfile文件添加环境变量,现在我这边只需修改dockerfile里面基础镜像即可。这样导致最后数据都会归类到demo project里面 ┑( ̄Д  ̄)┍ 所以洞态这边要不要添加一个域名归类的维度

yingshang avatar Jan 07 '22 09:01 yingshang